{
 "app_id": "fr.handbrake.ghb",
 "source_url": "https://raw.githubusercontent.com/flathub/fr.handbrake.ghb/master/fr.handbrake.ghb.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "49",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=xdg-run/gvfsd",
  "--filesystem=host",
  "--filesystem=xdg-run/gvfs",
  "--talk-name=org.gtk.vfs.*",
  "--system-talk-name=org.freedesktop.login1",
  "--system-talk-name=org.freedesktop.UPower"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:09:54.311480+00:00",
 "manifest": {
  "app-id": "fr.handbrake.ghb",
  "runtime": "org.gnome.Platform",
  "runtime-version": "49",
  "sdk": "org.gnome.Sdk",
  "command": "ghb",
  "finish-args": [
   "--device=all",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--filesystem=host",
   "--filesystem=xdg-run/gvfs",
   "--filesystem=xdg-run/gvfsd",
   "--talk-name=org.gtk.vfs.*",
   "--system-talk-name=org.freedesktop.login1",
   "--system-talk-name=org.freedesktop.UPower",
   "--env=PATH=/app/bin:/app/extensions/bin:/usr/bin",
   "--env=LIBVA_DRIVERS_PATH=/app/extensions/lib/dri",
   "--env=LD_LIBRARY_PATH=/app/extensions/lib",
   "--env=JAVA_HOME=/app/extensions/jre",
   "--env=GIO_EXTRA_MODULES=/app/lib/gio/modules"
  ],
  "add-extensions": {
   "fr.handbrake.ghb.Plugin": {
    "version": "1",
    "directory": "extensions",
    "add-ld-path": "lib",
    "merge-dirs": "lib;bin;share;jre",
    "subdirectories": true,
    "no-autodownload": true,
    "autodelete": true
   }
  },
  "modules": [
   {
    "name": "numactl",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/numactl/numactl/archive/refs/tags/v2.0.19.tar.gz",
      "sha256": "8b84ffdebfa0d730fb2fc71bb7ec96bb2d38bf76fb67246fde416a68e04125e4",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 2507,
       "url-template": "https://github.com/numactl/numactl/archive/refs/tags/v$version.tar.gz"
      }
     }
    ],
    "rm-configure": true,
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/lib/*.a",
     "/lib/*.la",
     "/lib/*.so",
     "/share/man"
    ]
   },
   {
    "name": "handbrake",
    "no-autogen": true,
    "config-opts": [
     "--flatpak",
     "--enable-qsv",
     "--enable-nvenc",
     "--enable-nvdec",
     "--enable-vce",
     "--enable-libdovi"
    ],
    "build-options": {
     "append-path": "/usr/lib/sdk/llvm21/bin:/usr/lib/sdk/rust-stable/bin",
     "prepend-ld-library-path": "/usr/lib/sdk/llvm21/lib"
    },
    "builddir": true,
    "post-install": [
     "install -d /app/extensions"
    ],
    "sources": [
     {
      "url": "https://github.com/HandBrake/HandBrake/releases/download/1.11.2/HandBrake-1.11.2-source.tar.bz2",
      "sha256": "12b046350f2422dc28783ff94229aff4ba5fe5e683431e057355d36163b2593a",
      "type": "archive",
      "strip-components": 1
     },
     {
      "url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/libass-0.17.4.tar.gz",
      "sha256": "a886b3b80867f437bc55cff3280a652bfa0d37b43d2aff39ddf3c4f288b8c5a8",
      "type": "file",
      "dest": "download",
      "dest-filename": "libass-0.17.4.tar.gz"
     },
     {
      "url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/jansson-2.15.0.tar.bz2",
      "sha256": "a7eac7765000373165f9373eb748be039c10b2efc00be9af3467ec92357d8954",
      "type": "file",
      "dest": "download",
      "dest-filename": "jansson-2.15.0.tar.bz2"
     },
     {
      "url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x264-snapshot-20250729-3222.tar.gz",
      "sha256": "f5a6862482c5ad63ecc77fc8d1a8344fb62827137f8e0ccaeba80b4727fae3a2",
      "type": "file",
      "dest": "download",
      "dest-filename": "x264-snapshot-20250729-3222.tar.gz"
     },
     {
      "url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265-snapshot-20260216-13309.tar.gz",
      "sha256": "a0882bb90826da62a96676c1a7cb7a7beb7f1db901f2775299cbeed03c3eb2a2",
      "type": "file",
      "dest": "download",
      "dest-filename": "x265-snapshot-20260216-13309.tar.gz"
     },
     {
      "url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/dav1d-1.5.3.tar.bz2",
      "sha256": "e099f53253f6c247580c554d53a13f1040638f2066edc3c740e4c2f15174ce22",
      "type": "file",
      "dest": "download",
      "dest-filename": "dav1d-1.5.3.tar.bz2"
     },
     {
      "url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/SVT-AV1-v4.1.0.tar.gz",
      "sha256": "6c4c0c44ff0ba3d136d6f57f3a707f9de8e9c866f50f809c1d22a43f0d8c9583",
      "type": "file",
      "dest": "download",
      "dest-filename": "SVT-AV1-v4.1.0.tar.gz"
     },
     {
      "url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/zimg-snapshot-20250624.tar.gz",
      "sha256": "19a96cdc266466be58be86a9271bedb1f080bf4cc14f5ed58ac39dc5b970fd17",
      "type": "file",
      "dest": "download",
      "dest-filename": "zimg-snapshot-20250624.tar.gz"
     },
     {
      "url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/ffmpeg-8.0.2.tar.bz2",
      "sha256": "2a8b8840c0bc78f5ed1576f98eba7df00c05f87fd6d07fad16efcd9333016edf",
      "type": "file",
      "dest": "download",
      "dest-filename": "ffmpeg-8.0.2.tar.bz2"
     },
     {
      "url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/libdvdread-7.0.1.tar.bz2",
      "sha256": "b69f74d9ceea1ed173b579deba99f669c2cb42f3fd06d7d23b33ff222aa63763",
      "type": "file",
      "dest": "download",
      "dest-filename": "libdvdread-7.0.1.tar.bz2"
     },
     {
      "url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/libdvdnav-7.0.0.tar.bz2",
      "sha256": "1363cdfaf6e92c0b574579299b5480f5867fb32989451468a28f3f402ec48787",
      "type": "file",
      "dest": "download",
      "dest-filename": "libdvdnav-7.0.0.tar.bz2"
     },
     {
      "url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/libbluray-1.4.0.tar.xz",
      "sha256": "77937baf07eadda4b2b311cf3af4c50269d2ea3165041f5843d96476c4c92777",
      "type": "file",
      "dest": "download",
      "dest-filename": "libbluray-1.4.0.tar.xz"
     },
     {
      "url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/libvpl-2.16.0.tar.gz",
      "sha256": "d60931937426130ddad9f1975c010543f0da99e67edb1c6070656b7947f633b6",
      "type": "file",
      "dest": "download",
      "dest-filename": "libvpl-2.16.0.tar.gz"
     },
     {
      "url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/AMF-headers-v1.5.0.tar.gz",
      "sha256": "d569647fa26f289affe81a206259fa92f819d06db1e80cc334559953e82a3f01",
      "type": "file",
      "dest": "download",
      "dest-filename": "AMF-headers-v1.5.0.tar.gz"
     },
     {
      "url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/nv-codec-headers-13.0.19.0.tar.gz",
      "sha256": "13da39edb3a40ed9713ae390ca89faa2f1202c9dda869ef306a8d4383e242bee",
      "type": "file",
      "dest": "download",
      "dest-filename": "nv-codec-headers-13.0.19.0.tar.gz"
     },
     {
      "url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/dovi_tool-libdovi-3.3.2_vendor.tar.gz",
      "sha256": "7a6eac8975ba576cad48eae7e569eebb988bce8f47a0e259647b206e938429cb",
      "type": "file",
      "dest": "download",
      "dest-filename": "dovi_tool-libdovi-3.3.2_vendor.tar.gz"
     }
    ],
    "modules": [],
    "cleanup": [
     "/etc",
     "/include",
     "/lib/cmake",
     "/lib/pkgconfig",
     "/lib/*.a",
     "/lib/*.la",
     "/lib/*.so"
    ]
   }
  ],
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.llvm21",
   "org.freedesktop.Sdk.Extension.rust-stable"
  ]
 }
}