{
  "id" : "it.mijorus.gearlever",
  "runtime" : "org.gnome.Platform",
  "runtime-version" : "50",
  "runtime-commit" : "660d809fffc2043792d550b7ae8abbb70ec4ec06524c709dbc230770b85a3e1b",
  "sdk" : "org.gnome.Sdk",
  "sdk-commit" : "2780b6606389bd81571e9fcab2afe05779c0fc80acd77f61fd7d1eb910393dc1",
  "command" : "gearlever",
  "modules" : [
    {
      "name" : "python3-requirements",
      "buildsystem" : "simple",
      "modules" : [
        {
          "name" : "python3-dbus-python",
          "buildsystem" : "simple",
          "sources" : [
            {
              "url" : "https://files.pythonhosted.org/packages/b1/5c/ccfc167485806c1936f7d3ba97db6c448d0089c5746ba105b6eb22dba60e/dbus-python-1.2.18.tar.gz",
              "sha256" : "92bdd1e68b45596c833307a5ff4b217ee6929a1502f5341bae28fd120acf7260",
              "type" : "file"
            }
          ],
          "build-commands" : [
            "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"dbus-python==1.2.18\" --no-build-isolation"
          ]
        },
        {
          "name" : "python3-pyxdg",
          "buildsystem" : "simple",
          "sources" : [
            {
              "url" : "https://files.pythonhosted.org/packages/e5/8d/cf41b66a8110670e3ad03dab9b759704eeed07fa96e90fdc0357b2ba70e2/pyxdg-0.28-py2.py3-none-any.whl",
              "sha256" : "bdaf595999a0178ecea4052b7f4195569c1ff4d344567bccdc12dfdf02d545ab",
              "type" : "file"
            }
          ],
          "build-commands" : [
            "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pyxdg==0.28\" --no-build-isolation"
          ]
        },
        {
          "name" : "python3-ftputil",
          "buildsystem" : "simple",
          "sources" : [
            {
              "url" : "https://files.pythonhosted.org/packages/73/dc/83f3fa78a9c8a8fe119a70d040df67799094821d3cad511ee0987d544a10/ftputil-5.1.0.tar.gz",
              "sha256" : "e9e62d3fd307ef9c52e43b33fd92759fc94c04d8b5178f85f641b183906d4353",
              "type" : "file"
            }
          ],
          "build-commands" : [
            "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"ftputil==5.1.0\" --no-build-isolation"
          ]
        },
        {
          "name" : "python3-requests",
          "buildsystem" : "simple",
          "sources" : [
            {
              "url" : "https://files.pythonhosted.org/packages/70/7d/9bc192684cea499815ff478dfcdc13835ddf401365057044fb721ec6bddb/certifi-2025.11.12-py3-none-any.whl",
              "sha256" : "97de8790030bbd5c2d96b7ec782fc2f7820ef8dba6db909ccf95449f2d062d4b",
              "type" : "file"
            },
            {
              "url" : "https://files.pythonhosted.org/packages/13/69/33ddede1939fdd074bce5434295f38fae7136463422fe4fd3e0e89b98062/charset_normalizer-3.4.4.tar.gz",
              "sha256" : "94537985111c35f28720e43603b8e7b43a6ecfb2ce1d3058bbe955b73404e21a",
              "type" : "file"
            },
            {
              "url" : "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl",
              "sha256" : "771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea",
              "type" : "file"
            },
            {
              "url" : "https://files.pythonhosted.org/packages/1e/db/4254e3eabe8020b458f1a747140d32277ec7a271daf1d235b70dc0b4e6e3/requests-2.32.5-py3-none-any.whl",
              "sha256" : "2462f94637a34fd532264295e186976db0f5d453d1cdd31473c85a6a161affb6",
              "type" : "file"
            },
            {
              "url" : "https://files.pythonhosted.org/packages/a7/c2/fe1e52489ae3122415c51f387e221dd0773709bad6c6cdaa599e8a2c5185/urllib3-2.5.0-py3-none-any.whl",
              "sha256" : "e6b01673c0fa6a13e374b50871808eb3bf7046c4b125b216f6bf1cc604cff0dc",
              "type" : "file"
            }
          ],
          "build-commands" : [
            "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"requests>=2.25.1\" --no-build-isolation"
          ]
        },
        {
          "name" : "python3-desktop-entry-lib",
          "buildsystem" : "simple",
          "sources" : [
            {
              "url" : "https://files.pythonhosted.org/packages/ca/01/46ec5a4780889da06f016553d1d18d804b3e0da570e4b1e50bd8d28c4a82/desktop_entry_lib-5.0-py3-none-any.whl",
              "sha256" : "e60a0c2c5e42492dbe5378e596b1de87d1b1c4dc74d1f41998a164ee27a1226f",
              "type" : "file"
            }
          ],
          "build-commands" : [
            "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"desktop-entry-lib==5.0\" --no-build-isolation"
          ]
        }
      ],
      "build-commands" : []
    },
    {
      "name" : "get_appimage_offset",
      "buildsystem" : "simple",
      "sources" : [
        {
          "path" : "./build-aux/get_appimage_offset.sh",
          "type" : "file"
        }
      ],
      "build-commands" : [
        "install -Dm 755 get_appimage_offset.sh /app/bin/get_appimage_offset"
      ]
    },
    {
      "name" : "unsquashfs",
      "buildsystem" : "simple",
      "sources" : [
        {
          "url" : "https://github.com/plougher/squashfs-tools.git",
          "commit" : "708c59ae80853b0845017c33b42e56061cc546cd",
          "type" : "git"
        }
      ],
      "build-commands" : [
        "XZ_SUPPORT=1 ZSTD_SUPPORT=1 LZ4_SUPPORT=1 make -C squashfs-tools -j ${FLATPAK_BUILDER_N_JOBS} unsquashfs",
        "install -Dm755 squashfs-tools/unsquashfs -t ${FLATPAK_DEST}/bin/"
      ]
    },
    {
      "name" : "7zip",
      "buildsystem" : "simple",
      "sources" : [
        {
          "dest" : "7z",
          "only-arches" : [
            "x86_64"
          ],
          "url" : "https://github.com/ip7z/7zip/releases/download/26.00/7z2600-linux-x64.tar.xz",
          "sha256" : "c74dc4a48492cde43f5fec10d53fb2a66f520e4a62a69d630c44cb22c477edc6",
          "dest-filename" : "7z.tar.xz",
          "type" : "file"
        },
        {
          "dest" : "7z",
          "only-arches" : [
            "aarch64"
          ],
          "url" : "https://github.com/ip7z/7zip/releases/download/26.00/7z2600-linux-arm64.tar.xz",
          "sha256" : "aa8f3d0a19af9674d3af0ec788b4e261501071e626cd75ad149f1c2c176cc87d",
          "dest-filename" : "7z.tar.xz",
          "type" : "file"
        }
      ],
      "cleanup" : [
        "7z"
      ],
      "build-commands" : [
        "tar -xf 7z/7z.tar.xz -C 7z",
        "install -Dm755 7z/7zz -t ${FLATPAK_DEST}/bin/"
      ]
    },
    {
      "name" : "dwarfs",
      "buildsystem" : "simple",
      "sources" : [
        {
          "dest" : "dwarfs",
          "only-arches" : [
            "x86_64"
          ],
          "url" : "https://github.com/mhx/dwarfs/releases/download/v0.15.3/dwarfs-0.15.3-Linux-x86_64.tar.xz",
          "sha256" : "2dba61946786ec563c96783f719316199eeb55a4cbde1436e1b5796f28494fa8",
          "type" : "archive"
        },
        {
          "dest" : "dwarfs",
          "only-arches" : [
            "aarch64"
          ],
          "url" : "https://github.com/mhx/dwarfs/releases/download/v0.15.3/dwarfs-0.15.3-Linux-aarch64.tar.xz",
          "sha256" : "70edc89104233aa8afe7548c4b83c97625baf44c34f625fa99deff4b4b01f89f",
          "type" : "archive"
        }
      ],
      "cleanup" : [
        "dwarfs"
      ],
      "build-commands" : [
        "install -Dm755 dwarfs/bin/dwarfsextract -t ${FLATPAK_DEST}/bin/",
        "install -Dm755 dwarfs/bin/dwarfsck -t ${FLATPAK_DEST}/bin/"
      ]
    },
    {
      "name" : "readelf-strings-binutils",
      "buildsystem" : "simple",
      "build-commands" : [
        "install -Dm755 /usr/bin/readelf -t ${FLATPAK_DEST}/bin/",
        "install -Dm755 /usr/bin/strings -t ${FLATPAK_DEST}/bin/",
        "install -Dm755 /usr/bin/file -t ${FLATPAK_DEST}/bin/",
        "install -Dm755 /usr/lib/$(gcc -print-multiarch)/libctf*.so.* -t ${FLATPAK_DEST}/lib/",
        "install -Dm755 /usr/lib/$(gcc -print-multiarch)/libbfd*.so -t ${FLATPAK_DEST}/lib/",
        "install -Dm755 /usr/lib/$(gcc -print-multiarch)/libsframe*.so.* -t ${FLATPAK_DEST}/lib/"
      ]
    },
    {
      "name" : "gearlever",
      "buildsystem" : "meson",
      "builddir" : true,
      "sources" : [
        {
          "url" : "https://github.com/mijorus/gearlever.git",
          "commit" : "3912752ab19d8ed0372fc2960b0d11c62a692fe2",
          "type" : "git"
        }
      ]
    }
  ],
  "cleanup" : [
    "/include",
    "/lib/pkgconfig",
    "/man",
    "/share/doc",
    "/share/gtk-doc",
    "/share/man",
    "/share/pkgconfig",
    "*.la",
    "*.a"
  ],
  "finish-args" : [
    "--share=ipc",
    "--share=network",
    "--socket=wayland",
    "--socket=fallback-x11",
    "--device=dri",
    "--filesystem=host:rw",
    "--filesystem=/tmp",
    "--talk-name=org.freedesktop.Flatpak"
  ],
  "source-date-epoch" : 1321009871
}