{
 "app_id": "io.github.jliljebl.Flowblade",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.jliljebl.Flowblade/master/io.github.jliljebl.Flowblade.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "49",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=all",
  "--filesystem=host",
  "--talk-name=org.freedesktop.Flatpak"
 ],
 "module_count": 25,
 "fetched_at": "2026-09-17T16:11:19.994376+00:00",
 "manifest": {
  "app-id": "io.github.jliljebl.Flowblade",
  "runtime": "org.gnome.Platform",
  "runtime-version": "49",
  "sdk": "org.gnome.Sdk",
  "command": "flowblade",
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio",
   "--device=all",
   "--filesystem=host",
   "--env=FREI0R_PATH=/app/lib/frei0r-1",
   "--env=LADSPA_PATH=/app/extensions/Plugins/ladspa:/app/lib/ladspa",
   "--talk-name=org.freedesktop.Flatpak"
  ],
  "add-extensions": {
   "org.freedesktop.LinuxAudio.Plugins": {
    "directory": "extensions/Plugins",
    "version": "25.08",
    "add-ld-path": "lib",
    "merge-dirs": "ladspa",
    "subdirectories": true,
    "no-autodownload": true
   },
   "org.freedesktop.LinuxAudio.Plugins.swh": {
    "directory": "extensions/Plugins/swh",
    "version": "25.08",
    "add-ld-path": "lib",
    "merge-dirs": "ladspa",
    "autodelete": false,
    "subdirectories": true
   }
  },
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/share/aclocal",
   "/share/man",
   "/share/pkgconfig",
   "*.a",
   "*.la"
  ],
  "modules": [
   {
    "name": "eigen",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.bz2",
      "sha256": "b4c198460eba6f28d34894e3a5710998818515104d6e74e5cc331ce31e46e626"
     }
    ]
   },
   {
    "name": "zimg",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/sekrit-twc/zimg/archive/refs/tags/release-3.0.5.tar.gz",
      "sha256": "a9a0226bf85e0d83c41a8ebe4e3e690e1348682f6a2a7838f1b8cbff1b799bcf"
     }
    ]
   },
   {
    "name": "gavl",
    "build-options": {
     "cflags": "-std=gnu18"
    },
    "config-opts": [
     "--without-doxygen",
     "--disable-static",
     "--enable-shared",
     "--with-cpuflags=none"
    ],
    "no-autogen": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://salsa.debian.org/multimedia-team/gavl/-/archive/upstream/2.0.0_svngit.20240111.a5dd20c/gavl-upstream-2.0.0_svngit.20240111.a5dd20c.tar.gz",
      "sha256": "2d9c62f09d97ef74da5390bec86517549fe0b80c6549e1f2af9312d4c386a099"
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} .",
       "autoreconf -vfi"
      ]
     }
    ]
   },
   {
    "name": "frei0r-plugins",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/dyne/frei0r.git",
      "commit": "9178c72e59112c40b6b45a54c03e47c245b80cdd"
     }
    ]
   },
   {
    "name": "sox",
    "config-opts": [
     "--disable-static"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/sox/sox/14.4.2/sox-14.4.2.tar.bz2",
      "sha256": "81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c",
      "mirror-urls": [
       "http://http.debian.net/debian/pool/main/s/sox/sox_14.4.2.orig.tar.bz2"
      ]
     },
     {
      "type": "patch",
      "path": "patches/sox-build.patch"
     }
    ]
   },
   {
    "name": "vidstab",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/georgmartius/vid.stab/archive/v1.1.1.tar.gz",
      "sha256": "9001b6df73933555e56deac19a0f225aae152abbc0e97dc70034814a1943f3d4",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 15959,
       "stable-only": true,
       "url-template": "https://github.com/georgmartius/vid.stab/archive/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "pillow",
    "buildsystem": "simple",
    "build-options": {
     "cflags": "-std=gnu18"
    },
    "build-commands": [
     "python3 setup.py install --prefix=/app --root=/"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/python-pillow/Pillow/archive/refs/tags/10.4.0.tar.gz",
      "sha256": "e70284e8605a5b7ccb37e5bfd4634598ca2c43c7f2c353572351ccf72c031004"
     }
    ]
   },
   {
    "name": "usb1",
    "buildsystem": "simple",
    "build-commands": [
     "python3 setup.py install --prefix=/app --root=/"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/vpelletier/python-libusb1/releases/download/3.1.0/libusb1-3.1.0.tar.gz",
      "sha256": "4ee9b0a55f8bd0b3ea7017ae919a6c1f439af742c4a4b04543c5fd7af89b828c"
     }
    ]
   },
   {
    "name": "usbrules",
    "buildsystem": "simple",
    "build-commands": [
     "install -D 90-flowblade.rules /app/etc/udev/rules.d/90-flowblade.rules"
    ],
    "sources": [
     {
      "type": "file",
      "path": "90-flowblade.rules"
     }
    ]
   },
   {
    "name": "swig",
    "config-opts": [
     "--without-alllang",
     "--with-python=/app/bin/python3",
     "--without-boost",
     "--without-pcre"
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/swig/swig-4.3.0.tar.gz",
      "sha256": "f7203ef796f61af986c70c05816236cbd0d31b7aa9631e5ab53020ab7804aa9e"
     }
    ]
   },
   "shared-modules/linux-audio/fftw3f.json",
   "shared-modules/linux-audio/ladspa.json",
   {
    "name": "x264",
    "config-opts": [
     "--disable-cli",
     "--enable-shared"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://code.videolan.org/videolan/x264.git",
      "commit": "31e19f92f00c7003fa115047ce50978bc98c3a0d"
     }
    ]
   },
   {
    "name": "x265",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "subdir": "source",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DENABLE_CLI=OFF",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://deb.debian.org/debian/pool/main/x/x265/x265_3.5.orig.tar.gz",
      "sha256": "e70a3335cacacbba0b3a20ec6fecd6783932288ebc8163ad74bcc9606477cae8"
     },
     {
      "type": "patch",
      "path": "patches/x265-cmake.patch"
     }
    ]
   },
   {
    "name": "amf-headers",
    "buildsystem": "simple",
    "build-commands": [
     "cp -av amf/public/include/. /app/include/AMF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v1.4.33.tar.gz",
      "sha256": "86b39d5bd4652338bf7b4e48efec58472bb57a985250bc149e7908534a915c8e"
     }
    ]
   },
   {
    "name": "intel-onevpl-runtime",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "only-arches": [
     "x86_64"
    ],
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_TESTS=OFF",
     "-DBUILD_TOOLS=OFF",
     "-DBUILD_TESTS=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/oneapi-src/oneVPL-intel-gpu/archive/intel-onevpl-24.3.0.tar.gz",
      "sha256": "02b01dd73f7c5a4a46860ec01470b484286709cc13f9333a34a089d7e457295e"
     }
    ]
   },
   {
    "name": "SVT-AV1",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON",
     "-DBUILD_TESTING=OFF",
     "-DBUILD_APPS=OFF",
     "-DENABLE_AVX512=ON",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.com/AOMediaCodec/SVT-AV1.git",
      "commit": "6e69def4ec283fe0b71195671245c3b768bebdef",
      "tag": "v2.3.0"
     }
    ]
   },
   {
    "name": "ffmpeg",
    "config-opts": [
     "--enable-rpath",
     "--enable-gpl",
     "--enable-version3",
     "--disable-static",
     "--enable-shared",
     "--disable-doc",
     "--disable-alsa",
     "--enable-libfontconfig",
     "--enable-libfreetype",
     "--enable-libopus",
     "--enable-libpulse",
     "--enable-librsvg",
     "--enable-libvpx",
     "--enable-libdav1d",
     "--enable-libsvtav1",
     "--enable-libxml2",
     "--enable-libx264",
     "--enable-libx265",
     "--enable-libmp3lame",
     "--enable-libtheora",
     "--enable-libvorbis",
     "--enable-libwebp",
     "--enable-libaom",
     "--enable-libzimg",
     "--disable-decoder=libaom_av1",
     "--enable-nvenc",
     "--enable-vaapi",
     "--disable-vulkan"
    ],
    "cleanup": [
     "/share/ffmpeg/examples"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ffmpeg.org/releases/ffmpeg-7.1.tar.xz",
      "sha256": "40973d44970dbc83ef302b0609f2e74982be2d85916dd2ee7472d30678a7abe6"
     }
    ]
   },
   {
    "name": "numpy",
    "buildsystem": "simple",
    "build-commands": [
     "./vendored-meson/meson/meson.py setup builddir --buildtype=debugoptimized --prefix=${FLATPAK_DEST}",
     "cd builddir && ninja",
     "cd builddir && ninja install"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/numpy/numpy/releases/download/v2.2.5/numpy-2.2.5.tar.gz",
      "sha256": "a9c0d994680cd991b1cb772e8b297340085466a6fe964bc9d4e80f5e2f43c291"
     }
    ]
   },
   {
    "name": "gmic",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_LIB=OFF",
     "-DBUILD_MAN=OFF",
     "-DBUILD_BASH_COMPLETION=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://gmic.eu/files/source/gmic_2.9.8.tar.gz",
      "sha256": "18d6bbc731ae3b4da8a656ac189476793b111a9dd19f72db2312f074df7cdc82"
     }
    ]
   },
   {
    "name": "opencv",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DOPENCV_GENERATE_PKGCONFIG=ON",
     "-DBUILD_LIST=tracking,dnn",
     "-DBUILD_WITH_DEBUG_INFO=OFF",
     "-DBUILD_TESTS=OFF",
     "-DBUILD_PERF_TESTS=OFF",
     "-DBUILD_EXAMPLES=OFF",
     "-DINSTALL_C_EXAMPLES=OFF",
     "-DINSTALL_PYTHON_EXAMPLES=OFF",
     "-DWITH_1394=OFF",
     "-DWITH_V4L=OFF",
     "-DWITH_PROTOBUF=OFF",
     "-DWITH_CAROTENE=OFF"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/opencv/opencv/archive/4.13.0.tar.gz",
      "sha256": "1d40ca017ea51c533cf9fd5cbde5b5fe7ae248291ddf2af99d4c17cf8e13017d",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 6615,
       "stable-only": true,
       "url-template": "https://github.com/opencv/opencv/archive/$version.tar.gz"
      }
     },
     {
      "type": "archive",
      "url": "https://github.com/opencv/opencv_contrib/archive/4.13.0.tar.gz",
      "sha256": "1e0077a4fd2960a7d2f4c9e49d6ba7bb891cac2d1be36d7e8e47aa97a9d1039b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 6615,
       "stable-only": true,
       "url-template": "https://github.com/opencv/opencv_contrib/archive/$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "rubberband",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "archive",
      "url": "https://breakfastquay.com/files/releases/rubberband-4.0.0.tar.bz2",
      "sha256": "af050313ee63bc18b35b2e064e5dce05b276aaf6d1aa2b8a82ced1fe2f8028e9",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 4222,
       "stable-only": true,
       "url-template": "https://breakfastquay.com/files/releases/rubberband-$version.tar.bz2"
      }
     }
    ]
   },
   {
    "name": "sdl2",
    "buildsystem": "autotools",
    "cleanup": [
     "/bin",
     "/include",
     "/lib/*.la",
     "/lib/*.a",
     "/lib/pkgconfig"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libsdl-org/SDL/releases/download/release-2.32.8/SDL2-2.32.8.tar.gz",
      "sha256": "0ca83e9c9b31e18288c7ec811108e58bac1f1bb5ec6577ad386830eac51c787e"
     }
    ]
   },
   {
    "name": "mlt",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DSWIG_PYTHON=ON",
     "-DMOD_GLAXNIMATE_QT6=OFF",
     "-DMOD_GLAXNIMATE=OFF",
     "-DMOD_QT=OFF",
     "-DMOD_QT6=OFF",
     "-DMOD_MOVIT=OFF",
     "-DMOD_OPENCV=ON",
     "-DMOD_SDL2=ON",
     "-DMOD_SDL1=OFF",
     "-DUSE_VST2=OFF"
    ],
    "build-options": {
     "env": {
      "PYTHON": "python3"
     }
    },
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/mltframework/mlt.git",
      "commit": "c0b1f17beaae309ac20173fba78565650faaf87d"
     }
    ]
   },
   {
    "name": "flowblade",
    "buildsystem": "simple",
    "subdir": "flowblade-trunk",
    "build-commands": [
     "python3 setup.py install --prefix=/app --install-lib=/app/share/flowblade --root=/"
    ],
    "post-install": [
     "desktop-file-edit --set-key=Exec --set-value='flowblade %f' /app/share/applications/io.github.jliljebl.Flowblade.desktop",
     "install -d /app/extensions/Plugins"
    ],
    "cleanup": [
     "/lib/mime",
     "/share/pixmaps"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/jliljebl/flowblade.git",
      "commit": "90a76f16a97f08d2c0301718e46276cc402ea7f4"
     }
    ]
   }
  ]
 }
}