{
 "app_id": "fr.handbrake.ghb.Plugin.IntelMediaSDK",
 "source_url": "https://raw.githubusercontent.com/karenculano/228/master/pkg/linux/flatpak/fr.handbrake.ghb.Plugin.IntelMediaSDK.json",
 "runtime": "fr.handbrake.ghb",
 "runtime_version": "development",
 "sdk": "org.gnome.Sdk//46",
 "finish_args": [],
 "module_count": 6,
 "fetched_at": "2026-09-17T18:01:56.862409+00:00",
 "manifest": {
  "app-id": "fr.handbrake.ghb.Plugin.IntelMediaSDK",
  "branch": "1",
  "runtime": "fr.handbrake.ghb",
  "runtime-version": "development",
  "sdk": "org.gnome.Sdk//46",
  "build-extension": true,
  "separate-locales": false,
  "appstream-compose": false,
  "modules": [
   {
    "name": "intel-gmmlib",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/intel/gmmlib/archive/refs/tags/intel-gmmlib-22.3.19.tar.gz",
      "sha256": "ea9c418b0fd84a982850f230cb2d783dfe2e1f9923065f54b2fcaad1e9b33417"
     }
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "build-options": {
     "prefix": "/app/extensions/IntelMediaSDK",
     "make-args": [
      "-v"
     ],
     "make-install-args": [
      "-v"
     ],
     "strip": true
    }
   },
   {
    "name": "libva",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/intel/libva/archive/refs/tags/2.21.0.tar.gz",
      "sha256": "f7c3fffef3f04eb146e036dad2587d852bfb70e4926d014bf437244915ef7425"
     }
    ],
    "no-autogen": false,
    "config-opts": [
     "--with-drivers-path=/app/extensions/IntelMediaSDK/lib/dri"
    ],
    "build-options": {
     "prefix": "/app/extensions/IntelMediaSDK",
     "strip": true
    }
   },
   {
    "name": "libva-utils",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/intel/libva-utils/archive/refs/tags/2.21.0.tar.gz",
      "sha256": "15ca12bd11c7001c04af5079512754fea6ba8d79151b9f07908c99b27622714e"
     }
    ],
    "no-autogen": false,
    "build-options": {
     "prefix": "/app/extensions/IntelMediaSDK",
     "prepend-pkg-config-path": "/app/extensions/IntelMediaSDK/lib/pkgconfig",
     "strip": true
    }
   },
   {
    "name": "intel-media-driver",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/intel/media-driver/archive/refs/tags/intel-media-23.4.3.tar.gz",
      "sha256": "83b95eefe86c9d58d92c2a77793541ea3cb643dff419599ffa87899fd58738cd"
     }
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DMEDIA_RUN_TEST_SUITE=OFF",
     "-DENABLE_PRODUCTION_KMD=ON"
    ],
    "build-options": {
     "prefix": "/app/extensions/IntelMediaSDK",
     "prepend-pkg-config-path": "/app/extensions/IntelMediaSDK/lib/pkgconfig",
     "strip": true
    }
   },
   {
    "name": "mediasdk",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_SAMPLES=OFF",
     "-DBUILD_TESTS=OFF",
     "-DBUILD_TOOLS=OFF",
     "-DBUILD_TESTS=OFF",
     "-DMFX_ENABLE_SW_FALLBACK=OFF"
    ],
    "build-options": {
     "prefix": "/app/extensions/IntelMediaSDK",
     "prepend-pkg-config-path": "/app/extensions/IntelMediaSDK/lib/pkgconfig",
     "strip": true
    },
    "post-install": [
     "install -Dp -m 644 ${FLATPAK_BUILDER_BUILDDIR}/fr.handbrake.ghb.Plugin.IntelMediaSDK.metainfo.xml --target-directory=${FLATPAK_DEST}/share/metainfo",
     "appstream-compose --basename=fr.handbrake.ghb.Plugin.IntelMediaSDK --prefix=${FLATPAK_DEST} --origin=flatpak fr.handbrake.ghb.Plugin.IntelMediaSDK"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Intel-Media-SDK/MediaSDK/archive/refs/tags/intel-mediasdk-22.6.5.tar.gz",
      "sha256": "3a671cc692da5111c041088f5e32528b4346e122e8a134fad71310c572705106"
     },
     {
      "type": "patch",
      "path": "intel-mediasdk-gcc13.patch"
     },
     {
      "type": "file",
      "path": "fr.handbrake.ghb.Plugin.IntelMediaSDK.metainfo.xml"
     }
    ]
   },
   {
    "name": "onevpl-intel-gpu",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "build-options": {
     "prefix": "/app/extensions/IntelMediaSDK",
     "prepend-pkg-config-path": "/app/extensions/IntelMediaSDK/lib/pkgconfig",
     "strip": true
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/intel/vpl-gpu-rt/archive/refs/tags/intel-onevpl-23.4.3.tar.gz",
      "sha256": "d4d54637bae1e00b977bb9a865c1787b2c88c4102099d73daa18f82598d94b77"
     },
     {
      "type": "file",
      "path": "fr.handbrake.ghb.Plugin.IntelMediaSDK.metainfo.xml"
     }
    ]
   }
  ]
 }
}