{
 "app_id": "org.openandroidinstaller.OpenAndroidInstaller",
 "source_url": "https://raw.githubusercontent.com/flathub/org.openandroidinstaller.OpenAndroidInstaller/master/org.openandroidinstaller.OpenAndroidInstaller.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=all"
 ],
 "module_count": 11,
 "fetched_at": "2026-09-17T16:16:10.199464+00:00",
 "manifest": {
  "app-id": "org.openandroidinstaller.OpenAndroidInstaller",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "openandroidinstaller",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=all"
  ],
  "modules": [
   {
    "name": "python",
    "sources": [
     {
      "type": "archive",
      "url": "https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tar.xz",
      "sha256": "a57dc82d77358617ba65b9841cee1e3b441f386c3789ddc0676eca077f2951c3"
     }
    ]
   },
   {
    "name": "cython",
    "buildsystem": "simple",
    "build-commands": [
     "python3 setup.py install --prefix=/app --root=/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/0a/70/1500f05bddb16d795b29fac42954b3c8764c82367b8326c10f038471ae7f/Cython-0.29.34.tar.gz",
      "sha256": "1909688f5d7b521a60c396d20bba9e47a1b2d2784bfb085401e1e1e7d29a29a8"
     }
    ]
   },
   {
    "name": "wheel",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"wheel\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/7d/cd/d7460c9a869b16c3dd4e1e403cce337df165368c71d6af229a74699622ce/wheel-0.43.0-py3-none-any.whl",
      "sha256": "55c570405f142630c6b9f72fe09d9b67cf1477fcf543ae5b8dcb1f5b7377da81"
     }
    ]
   },
   {
    "name": "PyYAML",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pyyaml\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/cd/e5/af35f7ea75cf72f2cd079c95ee16797de7cd71f29ea7c68ae5ce7be1eda0/PyYAML-6.0.1.tar.gz",
      "sha256": "bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"
     }
    ]
   },
   {
    "name": "watchdog",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"watchdog\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/4f/38/764baaa25eb5e35c9a043d4c4588f9836edfe52a708950f4b6d5f714fd42/watchdog-4.0.2.tar.gz",
      "sha256": "b4dfbb6c49221be4535623ea4474a4d6ee0a9cef4a80b20c28db4d858b64e270"
     }
    ]
   },
   "files/generated-poetry-sources.json",
   {
    "name": "brotlicffi",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} brotlicffi"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/d3/d8/6acbb65e350213ad6bd96180593fad0a269a3baa845c67fed21adee3959d/brotlicffi-1.0.9.2.tar.gz",
      "sha256": "0c248a68129d8fc6a217767406c731e498c3e19a7be05ea0a90c3c86637b7d96"
     }
    ]
   },
   "shared-modules/libusb/libusb.json",
   {
    "name": "android-tools",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://dl.google.com/android/repository/platform-tools_r35.0.2-linux.zip",
      "sha256": "acfdcccb123a8718c46c46c059b2f621140194e5ec1ac9d81715be3d6ab6cd0a"
     }
    ],
    "build-commands": [
     "install -Dm755 adb /app/lib/python3.11/site-packages/openandroidinstaller/bin/adb",
     "install -Dm755 fastboot /app/lib/python3.11/site-packages/openandroidinstaller/bin/fastboot"
    ]
   },
   {
    "name": "heimdall",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://people.ubuntu.com/~neothethird/heimdall-linux.zip",
      "sha256": "b8abc6e274dedf98263ede30cbceef69f21134298905f319474c7814008eb78d"
     }
    ],
    "build-commands": [
     "install -Dm755 heimdall /app/lib/python3.11/site-packages/openandroidinstaller/bin/heimdall"
    ]
   },
   {
    "name": "openandroidinstaller",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/openandroidinstaller-dev/openandroidinstaller/archive/refs/tags/v0.5.4-beta.1.tar.gz",
      "sha256": "4c38b6eeedb737802812532a5fb2c64f9ed0ab35be52b0214aed5f461e53b9de"
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/a1/8d/85fcf9bcbfefcc53a1402450f28e5acf39dcfde3aabb996a1d98481ac829/poetry_core-1.9.0-py3-none-any.whl",
      "sha256": "4e0c9c6ad8cf89956f03b308736d84ea6ddb44089d16f2adc94050108ec1f5a1"
     },
     {
      "type": "script",
      "commands": [
       "python3 /app/lib/python3.11/site-packages/openandroidinstaller/openandroidinstaller.py -l ~/.var/app/org.openandroidinstaller.OpenAndroidInstaller/data/"
      ],
      "dest-filename": "openandroidinstaller.sh"
     },
     {
      "type": "file",
      "path": "files/org.openandroidinstaller.OpenAndroidInstaller.appdata.xml"
     },
     {
      "type": "file",
      "path": "files/org.openandroidinstaller.OpenAndroidInstaller.desktop"
     },
     {
      "type": "file",
      "path": "files/org.openandroidinstaller.OpenAndroidInstaller.png"
     }
    ],
    "build-commands": [
     "mkdir -p /app/{bin,share/{appdata,applications,icons/hicolor/512x512/apps}}",
     "pip3 install --prefix=/app --no-deps --find-links=\"file://${PWD}\" --no-index poetry-core==1.9.0 .",
     "mkdir -p /app/lib/python3.11/site-packages/openandroidinstaller/bin",
     "install -Dm755 openandroidinstaller.sh /app/bin/openandroidinstaller",
     "install -Dm755 ${FLATPAK_ID}.png /app/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png",
     "install -Dm755 ${FLATPAK_ID}.appdata.xml /app/share/appdata/${FLATPAK_ID}.appdata.xml",
     "install -Dm755 ${FLATPAK_ID}.desktop /app/share/applications/${FLATPAK_ID}.desktop"
    ]
   }
  ]
 }
}