{
 "app_id": "io.github.mrFrok.LibreFastbootFirmwareFlasher",
 "source_url": "https://raw.githubusercontent.com/mrFrok/LibreFastbootFirmwareFlasher/main/packaging/flatpak/io.github.mrFrok.LibreFastbootFirmwareFlasher.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--device=all",
  "--share=network",
  "--filesystem=home"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-20T16:02:22.388598+00:00",
 "manifest": {
  "app-id": "io.github.mrFrok.LibreFastbootFirmwareFlasher",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "lfff-gui",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--device=all",
   "--share=network",
   "--filesystem=home"
  ],
  "modules": [
   {
    "name": "android-tools",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 adb fastboot -t /app/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://dl.google.com/android/repository/platform-tools_r37.0.1-linux.zip",
      "sha256": "d230f13842f60f782a8645f9c813f8f845bf36089ea7289f28c48f17979313f1",
      "strip-components": 1
     }
    ]
   },
   {
    "name": "payload-dumper-rust",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 payload_dumper -t /app/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/rhythmcache/payload-dumper-rust/releases/download/payload-dumper-rust-v0.8.4/payload_dumper-linux-x86_64.zip",
      "sha256": "d2a7cf4d8ef4daa73ebd34e0c6f77eb6c116a1745a1b31ad897e9ce2b2f54151",
      "strip-components": 0
     }
    ]
   },
   {
    "name": "aria2",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-nls",
     "--disable-static",
     "--without-gnutls",
     "--with-openssl"
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share/man"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/aria2/aria2/releases/download/release-1.37.0/aria2-1.37.0.tar.xz",
      "sha256": "60a420ad7085eb616cb6e2bdf0a7206d68ff3d37fb5a956dc44242eb2f79b66b"
     }
    ]
   },
   {
    "name": "lfff",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 lfff-gui -t /app/bin",
     "install -Dm755 lfff -t /app/bin",
     "install -Dm644 lfff-gui.svg /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "desktop-file-edit --set-icon=${FLATPAK_ID} lfff-gui.desktop",
     "install -Dm644 lfff-gui.desktop /app/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 ${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mrFrok/LibreFastbootFirmwareFlasher/releases/download/v2.8.1/lfff-gui-linux-x86_64.tar.gz",
      "sha256": "dfbbe4b5a7d2577b0b37cadbcd6c9b238eafe72087166fadcc885496f0a10cdc",
      "strip-components": 0
     },
     {
      "type": "archive",
      "url": "https://github.com/mrFrok/LibreFastbootFirmwareFlasher/releases/download/v2.8.1/lfff-linux-x86_64.tar.gz",
      "sha256": "9b353c1516d37694bb971aa0f15f05b1fa2d94af62ac9e6beb42fb48246f9946",
      "strip-components": 0
     },
     {
      "type": "file",
      "path": "../../lfff-gui.desktop"
     },
     {
      "type": "file",
      "path": "../../lfff-gui.svg"
     },
     {
      "type": "file",
      "path": "io.github.mrFrok.LibreFastbootFirmwareFlasher.metainfo.xml"
     }
    ]
   }
  ]
 }
}