{
 "app_id": "org.avidemux.Avidemux",
 "source_url": "https://raw.githubusercontent.com/flathub/org.avidemux.Avidemux/master/org.avidemux.Avidemux.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-25.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=host",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 8,
 "fetched_at": "2026-09-17T16:14:11.961990+00:00",
 "manifest": {
  "app-id": "org.avidemux.Avidemux",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-25.08",
  "sdk": "org.kde.Sdk",
  "command": "avidemux3_qt5",
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--env=QT_QPA_PLATFORM=xcb",
   "--device=dri",
   "--socket=pulseaudio",
   "--persist=.avidemux6",
   "--filesystem=host"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/man",
   "*.a",
   "*.la"
  ],
  "modules": [
   "shared-modules/glu/glu-9.json",
   "shared-modules/glew/glew.json",
   {
    "name": "yasm",
    "build-options": {
     "cflags": "-std=c17"
    },
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/yasm/yasm/releases/download/v1.3.0/yasm-1.3.0.tar.gz",
      "sha256": "3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5286,
       "url-template": "https://github.com/yasm/yasm/releases/download/v$version/yasm-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "xvidcore",
    "subdir": "build/generic",
    "build-options": {
     "cflags": "-std=c17"
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.xvid.com/downloads/xvidcore-1.3.7.tar.gz",
      "sha256": "abbdcbd39555691dd1c9b4d08f0a031376a3b211652c0d8b3b8aa9be1303ce2d",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 14474,
       "url-template": "https://downloads.xvid.com/downloads/xvidcore-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "x264",
    "config-opts": [
     "--disable-cli",
     "--enable-shared"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://code.videolan.org/videolan/x264.git",
      "commit": "0480cb05fa188d37ae87e8f4fd8f1aea3711f7ee"
     }
    ]
   },
   {
    "name": "x265",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "subdir": "source",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DENABLE_CLI=OFF",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_4.2.tar.gz",
      "sha256": "40b1ea0453e0309f0eba934e0ddf533f8f6295966679e8894e8f1c1c8d5e1210",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 7275,
       "url-template": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "ffnvcodec",
    "no-autogen": true,
    "make-install-args": [
     "PREFIX=/app"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/FFmpeg/nv-codec-headers.git",
      "commit": "85f332a190555b56a1d5d4c070a076c871c0dcea",
      "tag": "n11.1.5.4",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^n([\\d.]+)$",
       "versions": {
        "<": "12"
       }
      }
     }
    ]
   },
   {
    "name": "avidemux",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "CMAKE_POLICY_VERSION_MINIMUM": "3.5"
     }
    },
    "build-commands": [
     "bash bootStrap.bash --prefix=/app",
     "make -C buildCli install",
     "make -C buildCore install",
     "make -C buildPluginsCLI install",
     "make -C buildPluginsCommon install",
     "make -C buildQt5 install",
     "make -C buildPluginsQt5 install",
     "install -Dm644 man/avidemux.1 -t /app/share/man/man1"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mean00/avidemux2/releases/download/2.8.1/avidemux_2.8.1.tar.gz",
      "sha256": "77d9bdca8683ce57c192b69d207cfab7cf92a7759ce0f63fa37b5c8e42ad3da2"
     },
     {
      "type": "patch",
      "paths": [
       "patches/Dont-redirect-build-output.patch",
       "patches/libavcodec-clip-constants.patch",
       "patches/Force-libdir-location.patch",
       "patches/Fix-issues-with-appstreamcli-validation.patch",
       "patches/Find-nvcodec-headers.patch",
       "patches/Fix-build-with-x265-4.1.patch"
      ]
     }
    ]
   }
  ]
 }
}