{
 "app_id": "io.github.idescriptor.iDescriptor",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.idescriptor.iDescriptor/master/io.github.idescriptor.iDescriptor.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=/var/lib/lockdown:ro",
  "--filesystem=/run/usbmuxd",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--system-talk-name=org.freedesktop.Avahi"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-18T12:04:48.919715+00:00",
 "manifest": {
  "app-id": "io.github.idescriptor.iDescriptor",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.llvm22"
  ],
  "command": "idescriptor",
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--socket=pulseaudio",
   "--share=network",
   "--device=dri",
   "--filesystem=/run/usbmuxd",
   "--filesystem=/var/lib/lockdown:ro",
   "--system-talk-name=org.freedesktop.Avahi",
   "--env=QT_MEDIA_BACKEND=ffmpeg",
   "--env=AVAHI_COMPAT_NOWARN=1"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/lib/cmake",
   "/share/aclocal",
   "/share/man",
   "*.a",
   "*.la"
  ],
  "modules": [
   {
    "name": "libplist",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/libimobiledevice/libplist.git",
      "tag": "2.7.0",
      "commit": "cf5897a71ea412ea2aeb1e2f6b5ea74d4fabfd8c"
     }
    ]
   },
   {
    "name": "avahi-compat-libdns_sd",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-static",
     "--disable-mono",
     "--disable-python",
     "--disable-qt5",
     "--disable-gtk",
     "--disable-gtk3",
     "--with-distro=none",
     "--disable-manpages",
     "--enable-compat-libdns_sd",
     "--disable-libdaemon",
     "--disable-libevent"
    ],
    "cleanup": [
     "/bin",
     "/lib/libavahi-*",
     "/lib/avahi",
     "/share/avahi",
     "/share/locale"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/avahi/avahi.git",
      "tag": "v0.8",
      "commit": "f060abee2807c943821d88839c013ce15db17b58"
     }
    ]
   },
   {
    "name": "qml6glsink",
    "buildsystem": "meson",
    "config-opts": [
     "--auto-features=disabled",
     "-Dqt6=enabled",
     "-Dqt5=disabled",
     "-Dqt-x11=enabled",
     "-Dtests=disabled",
     "-Dexamples=disabled",
     "-Dnls=disabled"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.24.13.tar.xz",
      "sha256": "574ac6f9fd84b32eb04e80572391d6762df6f9802a47bc0386cd6cc48c14d08b"
     }
    ]
   },
   {
    "name": "iDescriptor",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm22/bin",
     "prepend-ld-library-path": "/usr/lib/sdk/llvm22/lib",
     "env": {
      "CARGO_HOME": "/run/build/iDescriptor/cargo",
      "CARGO_NET_OFFLINE": "true",
      "LIBCLANG_PATH": "/usr/lib/sdk/llvm22/lib",
      "RUST_BACKTRACE": "1"
     }
    },
    "build-commands": [
     "cargo build --offline --locked --release --features flatpak",
     "install -Dm0755 target/release/idescriptor ${FLATPAK_DEST}/bin/idescriptor",
     "install -Dm0644 io.github.idescriptor.iDescriptor.desktop ${FLATPAK_DEST}/share/applications/io.github.idescriptor.iDescriptor.desktop",
     "install -Dm0644 io.github.idescriptor.iDescriptor.metainfo.xml ${FLATPAK_DEST}/share/metainfo/io.github.idescriptor.iDescriptor.metainfo.xml",
     "install -Dm0644 packaging/shared/resources/app-icon/icon-16.png ${FLATPAK_DEST}/share/icons/hicolor/16x16/apps/io.github.idescriptor.iDescriptor.png",
     "install -Dm0644 packaging/shared/resources/app-icon/icon-32.png ${FLATPAK_DEST}/share/icons/hicolor/32x32/apps/io.github.idescriptor.iDescriptor.png",
     "install -Dm0644 packaging/shared/resources/app-icon/icon-256.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/io.github.idescriptor.iDescriptor.png",
     "install -Dm0644 packaging/shared/resources/app-icon/icon-512.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/io.github.idescriptor.iDescriptor.png"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/iDescriptor/iDescriptor.git",
      "tag": "v0.6.2",
      "commit": "28118cc055ab998f05c62f4df1b1bbff9402d2e1"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}