{ "app-id": "org.kde.kdenlive", "default-branch": "master", "runtime": "org.kde.Platform", "runtime-version": "5.15", "sdk": "org.kde.Sdk", "command": "kdenlive", "rename-icon": "kdenlive", "desktop-file-name-suffix": " (Nightly)", "finish-args": [ "--share=ipc", "--socket=x11", "--device=all", "--socket=pulseaudio", "--share=network", "--filesystem=host", "--filesystem=xdg-config/kdeglobals:ro", "--env=TMPDIR=/var/tmp", "--env=QT_ENABLE_HIGHDPI_SCALING=1", "--env=FREI0R_PATH=/app/lib/frei0r-1", "--env=LADSPA_PATH=/app/lib/ladspa" ], "add-extensions": { "org.freedesktop.LinuxAudio.Plugins": { "directory": "extensions/Plugins", "version": "20.08", "add-ld-path": "lib", "merge-dirs": "ladspa", "subdirectories": true, "no-autodownload": true }, "org.freedesktop.LinuxAudio.Plugins.swh": { "directory": "extensions/Plugins/swh", "version": "20.08", "add-ld-path": "lib", "merge-dirs": "ladspa", "autodelete": false, "subdirectories": true }, "org.freedesktop.LinuxAudio.Plugins.TAP": { "directory": "extensions/Plugins/TAP", "version": "20.08", "add-ld-path": "lib", "merge-dirs": "ladspa", "autodelete": false, "subdirectories": true } }, "cleanup": [ "/include", "/lib/pkgconfig", "/lib/cmake", "/mkspecs", "/share/aclocal", "/share/gtk-doc", "/share/man", "/share/pkgconfig", "*.a", "*.la", "*.cmake" ], "modules": [ { "name": "libdvdread", "sources": [ { "type": "archive", "url": "https://download.videolan.org/pub/videolan/libdvdread/last/libdvdread-6.1.1.tar.bz2", "sha256": "3e357309a17c5be3731385b9eabda6b7e3fa010f46022a06f104553bf8e21796" } ] }, { "name": "pyaaf2", "buildsystem": "simple", "build-commands": [ "python3 setup.py install --prefix=/app --root=/" ], "sources": [ { "type": "archive", "url": "https://files.pythonhosted.org/packages/fb/c1/67ceeba190efa1e6281b214c7d827cd05e7c8b82ba456a043f0ba5cc3eb4/pyaaf2-1.2.0.tar.gz", "sha256": "08cba1f96caa41e23570e6961761ac192a42910fb2991dda3004550c931a610c" } ] }, { "name": "genisoimage", "buildsystem": "cmake-ninja", "builddir": true, "build-options" : { "cflags": "-fcommon" }, "sources": [ { "type": "archive", "url": "http://deb.debian.org/debian/pool/main/c/cdrkit/cdrkit_1.1.11.orig.tar.gz", "sha256": "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da" } ] }, { "name": "dvdauthor", "sources": [ { "type": "archive", "url": "https://downloads.sourceforge.net/project/dvdauthor/dvdauthor-0.7.2.tar.gz", "sha1": "0e605642140576bfb3e963414d77630d1c073a51" } ] }, { "name": "OpenTimelineIO", "buildsystem": "simple", "build-commands": [ "sed -e \"s|\\('-DOTIO_PYTHON_INSTALL:BOOL=ON'\\)|\\1 , '-DCMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES=/usr/include/python3.8'|\" -i setup.py", "python3 setup.py install --prefix=/app --root=/ --cxx-install-root=/app" ], "sources": [ { "type": "archive", "url": "https://files.pythonhosted.org/packages/9e/bb/a3b1f7c94b42f20a59a0d5dbc693ebfeb7623f0f86953f0d946595e2b03d/OpenTimelineIO-0.13.0.tar.gz", "sha256": "c29c947479687cad7844684016aecc2a640daa67cbefb2dbf5c6a1aca45bfe1b" } ] }, { "name": "python3-cffi", "skip-arches": ["aarch64"], "buildsystem": "simple", "build-commands": [ "pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=/app --root=/ \"cffi\" --no-build-isolation" ], "sources": [ { "type": "file", "url": "https://files.pythonhosted.org/packages/a8/20/025f59f929bbcaa579704f443a438135918484fffaacfaddba776b374563/cffi-1.14.5.tar.gz", "sha256": "fd78e5fee591709f32ef6edb9a015b4aa1a5022598e36227500c8f4e02328d9c" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/0f/86/e19659527668d70be91d0369aeaa055b4eb396b0f387a4f92293a20035bd/pycparser-2.20.tar.gz", "sha256": "2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0" } ] }, { "name": "python3-vosk", "skip-arches": ["aarch64"], "buildsystem": "simple", "build-commands": [ "pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=/app --root=/ \"vosk\" --no-build-isolation" ], "sources": [ { "type": "file", "url": "https://files.pythonhosted.org/packages/64/76/750788d585bbec701a6be11bf5a15587ed75a60f732c8044fe5e859d9b02/vosk-0.3.22-py3-none-manylinux2010_x86_64.whl", "sha256": "d9c4106285536c91b08928a0b3a475e4329affea16c6508e4e9d6af1c6ada8fd" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/96/43/c993eae7c0b0e099f967020d4ffbf6d010bd0498bc6c3457357b3a74e2f0/vosk-0.3.22-py3-none-linux_armv7l.whl", "sha256": "903fc96aa9e9cf935fefd0cb8a305475fa9cc35401964c467aa8e34769a4f4fd" } ] }, { "name": "python3-srt", "skip-arches": ["aarch64"], "buildsystem": "simple", "build-commands": [ "pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=/app --root=/ \"srt\" --no-build-isolation" ], "sources": [ { "type": "file", "url": "https://files.pythonhosted.org/packages/3b/dd/0629a23b11da7696ce69e4432a2de6a1d1277bf2ba5cda624009069d4bb3/srt-3.4.1.tar.gz", "sha256": "aa507439bf593adb1b207d21c5975c9774263da97489f8b90d8a016bfa67ee94" } ] }, { "name": "rttr", "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DCMAKE_INSTALL_LIBDIR=lib", "-DBUILD_EXAMPLES=OFF", "-DBUILD_DOCUMENTATION=OFF", "-DBUILD_UNIT_TESTS=OFF", "-DBUILD_PACKAGE=OFF", "-DBUILD_STATIC=OFF" ], "sources": [ { "type": "archive", "url": "https://github.com/rttrorg/rttr/releases/download/v0.9.6/rttr-0.9.6-src.tar.gz", "sha256": "f62caee43016489320f8a69145c9208cddd72e451ea95618bc26a49a4cd6c990" } ] }, { "name": "eigen", "buildsystem": "cmake-ninja", "builddir": true, "cleanup": [ "*" ], "sources": [ { "type": "archive", "url": "https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.tar.bz2", "sha256": "685adf14bd8e9c015b78097c1dc22f2f01343756f196acdc76a678e1ae352e11" } ] }, { "name": "fftw-float", "config-opts": [ "--disable-doc", "--enable-shared", "--disable-static", "--enable-threads", "--enable-float", "--enable-openmp" ], "build-options": { "arch": { "x86_64": { "config-opts": [ "--enable-avx", "--enable-sse" ] }, "aarch64": { "config-opts": [ "--enable-neon" ] } } }, "cleanup": [ "/bin" ], "sources": [ { "type": "archive", "url": "http://www.fftw.org/fftw-3.3.8.tar.gz", "sha256": "6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303" } ] }, { "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" ] } ] }, { "name": "zimg", "sources": [ { "type": "git", "url": "https://github.com/sekrit-twc/zimg.git", "commit": "e17ee6cf72509c32c15067b32615849e69486367" }, { "type": "script", "dest-filename": "autogen.sh", "commands": [ "autoreconf -vfi" ] } ] }, { "name": "exiv2", "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DCMAKE_BUILD_TYPE=RelWithDebInfo" ], "cleanup": [ "/bin" ], "sources": [ { "type": "archive", "url": "https://www.exiv2.org/builds/exiv2-0.27.3-Source.tar.gz", "sha256": "a79f5613812aa21755d578a297874fb59a85101e793edc64ec2c6bd994e3e778" }, { "type": "patch", "path": "patches/exiv2-fcf-protection-only-on-x86.patch" } ] }, { "name": "vidstab", "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DCMAKE_BUILD_TYPE=Release" ], "sources": [ { "type": "archive", "url": "https://github.com/georgmartius/vid.stab/archive/v1.1.0.tar.gz", "sha256": "14d2a053e56edad4f397be0cb3ef8eb1ec3150404ce99a426c4eb641861dc0bb" } ] }, { "name": "rtaudio", "config-opts": [ "--disable-static", "--enable-shared" ], "sources": [ { "type": "archive", "url": "http://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-5.1.0.tar.gz", "sha256": "ff138b2b6ed2b700b04b406be718df213052d4c952190280cf4e2fab4b61fe09" } ] }, { "name": "gavl", "rm-configure": true, "config-opts": [ "--without-doxygen", "--disable-static", "--enable-shared" ], "sources": [ { "type": "archive", "url": "https://downloads.sourceforge.net/project/gmerlin/gavl/1.4.0/gavl-1.4.0.tar.gz", "sha256": "51aaac41391a915bd9bad07710957424b046410a276e7deaff24a870929d33ce", "mirror-urls": [ "http://http.debian.net/debian/pool/main/g/gavl/gavl_1.4.0.orig.tar.gz" ] }, { "type": "shell", "commands": [ "cp -p /usr/share/automake-*/config.{sub,guess} ." ] }, { "type": "script", "dest-filename": "autogen.sh", "commands": [ "autoreconf -vfi" ] } ] }, { "name": "frei0r-plugins", "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DCMAKE_BUILD_TYPE=RelWithDebInfo" ], "sources": [ { "type": "archive", "url": "https://files.dyne.org/frei0r/releases/frei0r-plugins-1.7.0.tar.gz", "sha256": "1b1ff8f0f9bc23eed724e94e9a7c1d8f0244bfe33424bb4fe68e6460c088523a" } ] }, { "name": "bigsh0t", "buildsystem": "cmake-ninja", "builddir": true, "no-make-install": true, "config-opts": [ "-DCMAKE_BUILD_TYPE=Release" ], "post-install": [ "cp -v bigsh0t-*-linux/lib/frei0r-1/*.so /app/lib/frei0r-1" ], "sources": [ { "type": "git", "url": "https://bitbucket.org/leo_sutic/bigsh0t", "tag": "2.3" } ] }, { "name": "ladspa-sdk", "no-autogen": true, "subdir": "src", "make-install-args": [ "INSTALL_PLUGINS_DIR=/app/lib/ladspa", "INSTALL_INCLUDE_DIR=/app/include", "INSTALL_BINARY_DIR=/app/bin" ], "cleanup": [ "/bin" ], "sources": [ { "type": "archive", "url": "https://www.ladspa.org/download/ladspa_sdk_1.15.tgz", "sha256": "4229959b09d20c88c8c86f4aa76427843011705df22d9c28b38359fd1829fded" } ] }, { "name": "jack2", "buildsystem": "simple", "build-commands": [ "./waf configure --prefix=/app --htmldir=/app/share/doc/jack/ --classic", "./waf build -j $FLATPAK_BUILDER_N_JOBS", "./waf install" ], "cleanup": [ "/bin", "/share", "/lib/jack", "/lib/libjackserver.so*" ], "sources": [ { "type": "archive", "url": "https://github.com/jackaudio/jack2/releases/download/v1.9.14/v1.9.14.tar.gz", "sha256": "a20a32366780c0061fd58fbb5f09e514ea9b7ce6e53b080a44b11a558a83217c" } ] }, { "name": "v4l-utils", "config-opts": [ "--disable-static", "--disable-doxygen-doc", "--disable-libdvbv5", "--disable-v4l-utils", "--disable-qv4l2", "--with-udevdir=/app/lib/udev" ], "sources": [ { "type": "archive", "url": "https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.20.0.tar.bz2", "sha256": "956118713f7ccb405c55c7088a6a2490c32d54300dd9a30d8d5008c28d3726f7" } ] }, { "name": "libass", "sources": [ { "type": "archive", "url": "https://github.com/libass/libass/releases/download/0.15.0/libass-0.15.0.tar.xz", "sha256": "9f09230c9a0aa68ef7aa6a9e2ab709ca957020f842e52c5b2e52b801a7d9e833" } ] }, { "name": "x264", "config-opts": [ "--disable-cli", "--enable-shared" ], "sources": [ { "type": "git", "url": "https://code.videolan.org/videolan/x264.git", "commit": "d198931a63049db1f2c92d96c34904c69fde8117" } ] }, { "name": "x265", "buildsystem": "cmake-ninja", "builddir": true, "subdir": "source", "config-opts": [ "-DCMAKE_BUILD_TYPE=Release", "-DENABLE_CLI=OFF" ], "sources": [ { "type": "archive", "url": "https://deb.debian.org/debian/pool/main/x/x265/x265_3.4.orig.tar.gz", "sha256": "c2047f23a6b729e5c70280d23223cb61b57bfe4ad4e8f1471eeee2a61d148672" } ] }, { "name": "aom", "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DCMAKE_BUILD_TYPE=Release", "-DCMAKE_INSTALL_PREFIX=/app", "-DBUILD_SHARED_LIBS=1", "-DENABLE_DOCS=0", "-DENABLE_EXAMPLES=0", "-DENABLE_TESTDATA=0", "-DENABLE_TESTS=0", "-DENABLE_TOOLS=0" ], "sources": [ { "type": "git", "url": "https://aomedia.googlesource.com/aom.git", "commit": "d853caa2ab62d161e5edf344ffee7b597449dc0d", "tag": "v3.0.0" } ] }, { "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" ], "sources": [ { "type": "archive", "url": "https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-20.1.1.tar.gz", "sha256": "44300c0f068f6d018d182455dd9c2f48db1e85fe0b38fcd60d0353bd145923dc" } ] }, { "name": "opencl-headers", "buildsystem": "simple", "build-commands": [ "cp -av CL /app/include" ], "sources": [ { "type": "archive", "url": "https://github.com/KhronosGroup/OpenCL-Headers/archive/refs/tags/v2020.06.16.tar.gz", "sha256": "2f5a60e5ac4b127650618c58a7e3b35a84dbf23c1a0ac72eb5e7baf221600e06" } ] }, { "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.18.tar.gz", "sha256": "4f21ee07c8bb9b73ff48dbce7cb0917cdcd4d81d33333da391d97ce7f00642fe" } ] }, { "name": "nv-codec-headers", "cleanup": [ "*" ], "no-autogen": true, "make-install-args": [ "PREFIX=/app" ], "sources": [ { "type": "git", "url": "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git", "commit": "7a81595786463d1c7efcb03aa85def69fc2cad41", "tag": "n11.0.10.0" } ] }, { "name": "ffmpeg", "config-opts": [ "--enable-rpath", "--enable-gpl", "--disable-static", "--enable-shared", "--disable-doc", "--disable-alsa", "--enable-libfontconfig", "--enable-libfreetype", "--enable-libopus", "--enable-libpulse", "--enable-librsvg", "--enable-libvpx", "--enable-libdav1d", "--enable-libxml2", "--enable-libx264", "--enable-libx265", "--enable-libopenjpeg", "--enable-libdav1d", "--enable-libv4l2", "--enable-libmp3lame", "--enable-libass", "--enable-gnutls", "--enable-libzimg", "--enable-libaom", "--enable-libvidstab", "--enable-vaapi", "--enable-libmfx", "--enable-amf", "--enable-opencl", "--enable-ffnvcodec", "--enable-cuda-llvm", "--enable-nvenc", "--enable-vdpau", "--enable-nvdec", "--enable-cuvid" ], "cleanup": [ "/share/ffmpeg/examples" ], "sources": [ { "type": "archive", "url": "https://www.ffmpeg.org/releases/ffmpeg-4.4.tar.xz", "sha256": "06b10a183ce5371f915c6bb15b7b1fffbe046e8275099c96affc29e17645d909" } ] }, { "name": "opencv", "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DCMAKE_BUILD_TYPE=Release", "-DOPENCV_GENERATE_PKGCONFIG=ON", "-DBUILD_LIST=tracking" ], "cleanup": [ "/bin" ], "sources": [ { "type": "archive", "url": "https://github.com/opencv/opencv/archive/4.5.2.tar.gz", "sha256": "ae258ed50aa039279c3d36afdea5c6ecf762515836b27871a8957c610d0424f8" }, { "type": "archive", "url": "https://github.com/opencv/opencv_contrib/archive/4.5.2.tar.gz", "sha256": "9f52fd3114ac464cb4c9a2a6a485c729a223afb57b9c24848484e55cef0b5c2a" } ] }, { "name": "libzen", "subdir": "Project/GNU/Library", "config-opts": [ "--enable-shared", "--disable-static" ], "cleanup": [ "/bin", "/include", "/lib/pkgconfig", "/lib/*.la" ], "sources": [ { "type": "archive", "url": "https://mediaarea.net/download/source/libzen/0.4.39/libzen_0.4.39.tar.xz", "sha256": "cded5d7774294e7d5b42768ceb285243709b6e99eec6e980a3cf7f0890dbb622" } ] }, { "name": "libmediainfo", "subdir": "Project/GNU/Library", "config-opts": [ "--enable-shared", "--disable-static", "--with-libcurl" ], "cleanup": [ "/bin", "/include", "/lib/pkgconfig", "/lib/*.la" ], "sources": [ { "type": "archive", "url": "https://mediaarea.net/download/source/libmediainfo/21.03/libmediainfo_21.03.tar.xz", "sha256": "56b7e9abf80cba48032165cd7a46fd8d43dd63e3af35765f66c3f134caaca4ca" } ] }, { "name": "mediainfo-cli", "subdir": "Project/GNU/CLI", "cleanup": [ "share/pixmaps", "/share/apps", "/share/kde4", "/share/kservices5" ], "sources": [ { "type": "archive", "url": "https://mediaarea.net/download/source/mediainfo/21.03/mediainfo_21.03.tar.xz", "sha256": "de50ca0b2c607b8999d3c9e542d27c97030a59f31859b612335315be6850021e" } ] }, { "name": "rubberband", "config-opts": [ "--disable-program", "--enable-shared", "--disable-static", "--without-ladspa", "--disable-vamp", "--without-jni" ], "sources": [ { "type": "archive", "url": "https://breakfastquay.com/files/releases/rubberband-1.9.0.tar.bz2", "sha256": "4f5b9509364ea876b4052fc390c079a3ad4ab63a2683aad09662fb905c2dc026" } ] }, { "name": "movit", "make-args": [ "libmovit.la" ], "sources": [ { "type": "git", "url": "http://git.sesse.net/movit", "commit": "f0c77209245aa206996c7ef5395888e2859ff4bf" } ] }, { "name": "mlt", "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DMOD_OPENCV=ON", "-DMOD_MOVIT=ON", "-DCMAKE_BUILD_TYPE=RelWithDebInfo" ], "sources": [ { "type": "git", "url": "https://github.com/mltframework/mlt.git", "branch": "v6" } ] }, { "name": "kdenlive", "buildsystem": "cmake-ninja", "builddir": true, "config-opts": [ "-DCMAKE_BUILD_TYPE=RelWithDebInfo" ], "post-install": [ "install -d /app/extensions/Plugins" ], "sources": [ { "type": "git", "url": "https://invent.kde.org/multimedia/kdenlive.git", "branch": "master" } ] } ] }