{
 "app_id": "io.github.C_Yassin.FlameGet",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.C_Yassin.FlameGet/master/io.github.C_Yassin.FlameGet.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-download",
  "--talk-name=org.kde.StatusNotifierWatcher"
 ],
 "module_count": 11,
 "fetched_at": "2026-09-17T16:10:19.173604+00:00",
 "manifest": {
  "app-id": "io.github.C_Yassin.FlameGet",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "start-flameget",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--device=dri",
   "--share=network",
   "--filesystem=xdg-download",
   "--talk-name=org.kde.StatusNotifierWatcher"
  ],
  "cleanup": [
   "/share/bash-completion",
   "/share/doc",
   "/share/fish",
   "/share/man",
   "/share/zsh",
   "/share/flameget/binaries/aria2c.exe",
   "/share/flameget/binaries/tray.bin",
   "/share/flameget/binaries/tray.exe",
   "/share/flameget/build",
   "/share/flameget/repo-data",
   "/share/flameget/configs/settings.json",
   "/share/flameget/README.md"
  ],
  "modules": [
   {
    "name": "intltool",
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz",
      "sha256": "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd"
     }
    ]
   },
   {
    "name": "dbus-glib",
    "config-opts": [
     "--disable-static",
     "--disable-gtk-doc"
    ],
    "build-options": {
     "env": {
      "CFLAGS": "-Wno-error -DGLIB_DISABLE_DEPRECATION_WARNINGS"
     }
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.112.tar.gz",
      "sha256": "7d550dccdfcd286e33895501829ed971eeb65c614e73aadb4a08aeef719b143a"
     },
     {
      "type": "shell",
      "commands": [
       "find . -name \"Makefile.in\" -exec sed -i 's/-Werror//g' {} +",
       "find . -name \"Makefile.am\" -exec sed -i 's/-Werror//g' {} +",
       "sed -i 's/-Werror//g' configure",
       "sed -i 's/dbus_bool_t bool;/dbus_bool_t v_bool;/g' dbus/dbus-gvalue.c",
       "sed -i 's/&bool/\\&v_bool/g' dbus/dbus-gvalue.c",
       "sed -i 's/value, bool/value, v_bool/g' dbus/dbus-gvalue.c"
      ]
     }
    ]
   },
   {
    "name": "libappindicator",
    "config-opts": [
     "--with-gtk=3",
     "--disable-static",
     "--disable-tests",
     "--disable-gtk-doc",
     "--enable-introspection=yes"
    ],
    "build-options": {
     "cflags": "-Wno-error -Wno-deprecated-declarations -Wno-incompatible-pointer-types"
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://launchpad.net/libappindicator/12.10/12.10.0/+download/libappindicator-12.10.0.tar.gz",
      "sha256": "d5907c1f98084acf28fd19593cb70672caa0ca1cf82d747ba6f4830d4cc3b49f"
     },
     {
      "type": "shell",
      "commands": [
       "sed -i '/AM_PATH_PYTHON/d' configure.ac",
       "sed -i '/APPINDICATOR_PYTHON/,/PYGTK_CODEGEN/d' configure.ac",
       "sed -i '/AM_CHECK_PYTHON_HEADERS/d' configure.ac",
       "sed -i '/bindings/d' configure.ac",
       "sed -i 's/bindings//g' Makefile.am",
       "sed -i '/AM_INIT_AUTOMAKE/a AM_PROG_AR' configure.ac",
       "sed -i 's/-Werror//g' src/Makefile.am",
       "sed -i 's/-Werror//g' src/Makefile.in",
       "autoreconf -fi"
      ]
     }
    ],
    "modules": [
     {
      "name": "gnome-doc-utils",
      "config-opts": [
       "--disable-scrollkeeper"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "http://ftp.gnome.org/pub/GNOME/sources/gnome-doc-utils/0.20/gnome-doc-utils-0.20.10.tar.xz",
        "sha256": "cb0639ffa9550b6ddf3b62f3b1add92fb92ab4690d351f2353cffe668be8c4a6"
       },
       {
        "type": "shell",
        "commands": [
         "cp $(automake --print-libdir)/config.sub .",
         "cp $(automake --print-libdir)/config.guess .",
         "sed -i 's/ doc//g' Makefile.in",
         "sed -i 's/ doc//g' Makefile.am",
         "echo '#!/bin/sh' > xml2po/xml2po/xml2po.py.in",
         "echo 'exit 0' >> xml2po/xml2po/xml2po.py.in"
        ]
       }
      ]
     },
     {
      "name": "libdbusmenu",
      "config-opts": [
       "--with-gtk=3",
       "--disable-static",
       "--disable-tests",
       "--disable-gtk-doc",
       "--disable-doc",
       "--disable-dumper",
       "--disable-vala"
      ],
      "build-options": {
       "env": {
        "HAVE_VALGRIND_TRUE": "'#'",
        "HAVE_VALGRIND_FALSE": "''",
        "CFLAGS": "-Wno-error=deprecated-declarations"
       }
      },
      "sources": [
       {
        "type": "archive",
        "url": "https://launchpad.net/libdbusmenu/12.10/12.10.2/+download/libdbusmenu-12.10.2.tar.gz",
        "sha256": "9d6ad4a0b918b342ad2ee9230cce8a095eb601cb0cee6ddc1122d0481f9d04c9"
       },
       {
        "type": "shell",
        "commands": [
         "find . -name \"Makefile.in\" -exec sed -i 's/-Werror//g' {} +",
         "find . -name \"Makefile.am\" -exec sed -i 's/-Werror//g' {} +",
         "sed -i 's/-Werror//g' configure"
        ]
       }
      ]
     },
     {
      "name": "libindicator",
      "config-opts": [
       "--with-gtk=3",
       "--disable-static",
       "--disable-tests",
       "--disable-gtk-doc"
      ],
      "build-options": {
       "env": {
        "CFLAGS": "-Wno-error=deprecated-declarations -Wno-error"
       }
      },
      "sources": [
       {
        "type": "archive",
        "url": "https://launchpad.net/libindicator/12.10/12.10.1/+download/libindicator-12.10.1.tar.gz",
        "sha256": "b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f"
       },
       {
        "type": "shell",
        "commands": [
         "find . -name \"Makefile.in\" -exec sed -i 's/-Werror//g' {} +",
         "find . -name \"Makefile.am\" -exec sed -i 's/-Werror//g' {} +",
         "sed -i 's/-Werror//g' configure",
         "sed 's/LIBINDICATOR_LIBS+=\"$LIBM\"/LIBINDICATOR_LIBS+=\" $LIBM\"/g' -i configure",
         "sed 's/LIBM=\"-lmw\"/LIBM=\" -lmw\"/g' -i configure",
         "sed 's/LIBM=\"-lm\"/LIBM=\" -lm\"/g' -i configure",
         "sed 's/LIBS=\"-lm  $LIBS\"/LIBS=\" -lm  $LIBS\"/g' -i configure",
         "sed 's/LIBS=\"-lmw  $LIBS\"/LIBS=\" -lmw  $LIBS\"/g' -i configure"
        ]
       }
      ]
     }
    ]
   },
   {
    "name": "aria2",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-libaria2"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/aria2/aria2/releases/download/release-1.37.0/aria2-1.37.0.tar.xz",
      "sha256": "60a420ad7085eb616cb6e2bdf0a7206d68ff3d37fb5a956dc44242eb2f79b66b"
     }
    ]
   },
   "python3-requirements.json",
   {
    "name": "rustypipe-botguard-x86_64",
    "only-arches": [
     "x86_64"
    ],
    "buildsystem": "simple",
    "build-commands": [
     "BINARY_PATH=$(find . -type f -name \"*rustypipe-botguard*\" | head -n 1) && install -D -m 755 \"$BINARY_PATH\" /app/share/flameget/binaries/rustypipe-botguard"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://codeberg.org/ThetaDev/rustypipe-botguard/releases/download/v0.1.2/rustypipe-botguard-v0.1.2-x86_64-unknown-linux-gnu.tar.xz",
      "sha256": "4f2ec561e8f9fadece7deadc6ce0624fbdedd852222c3eb194c22153b1323129",
      "strip-components": 0
     }
    ]
   },
   {
    "name": "rustypipe-botguard-aarch64",
    "only-arches": [
     "aarch64"
    ],
    "buildsystem": "simple",
    "build-commands": [
     "BINARY_PATH=$(find . -type f -name \"*rustypipe-botguard*\" | head -n 1) && install -D -m 755 \"$BINARY_PATH\" /app/share/flameget/binaries/rustypipe-botguard"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://codeberg.org/ThetaDev/rustypipe-botguard/releases/download/v0.1.2/rustypipe-botguard-v0.1.2-aarch64-unknown-linux-gnu.tar.xz",
      "sha256": "4d038857374a69aea9be8ded981d93a776dc88d4e254f5c6d292746099abf69a",
      "strip-components": 0
     }
    ]
   },
   {
    "name": "flameget",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/share/flameget",
     "cp -r * /app/share/flameget/",
     "install -D -m 755 repo-data/flatpak-flameget.sh /app/bin/start-flameget",
     "install -Dm644 repo-data/io.github.C_Yassin.FlameGet.metainfo.xml /app/share/metainfo/io.github.C_Yassin.FlameGet.metainfo.xml",
     "install -Dm644 repo-data/app-icon-flatpack.svg /app/share/icons/hicolor/scalable/apps/io.github.C_Yassin.FlameGet.svg",
     "install -Dm644 repo-data/io.github.C_Yassin.FlameGet.desktop /app/share/applications/io.github.C_Yassin.FlameGet.desktop"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/C-Yassin/FlameGet",
      "commit": "7b7a8021a2d769be7596e4bc9636785ddbd90e43"
     }
    ]
   }
  ]
 }
}