{
    "name": "org.kde.kdenlive-dependencies",
    "modules": [
        {
            "name": "eigen",
            "buildsystem": "cmake-ninja",
            "builddir": true,
            "cleanup": [
                "*"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.bz2",
                    "sha256": "b4c198460eba6f28d34894e3a5710998818515104d6e74e5cc331ce31e46e626",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 666,
                        "stable-only": true,
                        "url-template": "https://gitlab.com/libeigen/eigen/-/archive/$version/eigen-$version.tar.bz2"
                    }
                }
            ]
        },
        {
            "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": "https://www.fftw.org/fftw-3.3.10.tar.gz",
                    "sha256": "56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 803,
                        "stable-only": true,
                        "url-template": "https://www.fftw.org/fftw-$version.tar.gz"
                    }
                }
            ]
        },
        {
            "name": "zimg",
            "buildsystem": "autotools",
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/sekrit-twc/zimg/archive/release-3.0.5.tar.gz",
                    "sha256": "a9a0226bf85e0d83c41a8ebe4e3e690e1348682f6a2a7838f1b8cbff1b799bcf",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 13685,
                        "stable-only": true,
                        "url-template": "https://github.com/sekrit-twc/zimg/archive/release-$version.tar.gz"
                    }
                }
            ]
        },
        {
            "name": "sox",
            "config-opts": [
                "--disable-static"
            ],
            "cleanup": [
                "/bin"
            ],
            "sources": [
                {
                    "type": "git",
                    "url": "https://git.code.sf.net/p/sox/code",
                    "commit": "f3094754a7c2a7e55c35621d20fa9945736e72df"
                },
                {
                    "type": "script",
                    "dest-filename": "autogen.sh",
                    "commands": [
                        "autoreconf -vfi"
                    ]
                }
            ]
        },
        {
            "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.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": "gavl",
            "config-opts": [
                "--without-doxygen",
                "--disable-static",
                "--enable-shared",
                "--with-cpuflags=none"
            ],
            "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} ."
                    ]
                },
                {
                    "type": "script",
                    "dest-filename": "autogen.sh",
                    "commands": [
                        "autoreconf -vfi"
                    ]
                }
            ]
        },
        {
            "name": "inih",
            "buildsystem": "meson",
            "config-opts": [
                "-Ddefault_library=shared",
                "-Ddistro_install=true",
                "-Dwith_INIReader=true"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/benhoyt/inih/archive/refs/tags/r58.tar.gz",
                    "sha256": "e79216260d5dffe809bda840be48ab0eec7737b2bb9f02d2275c1b46344ea7b7",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 11600,
                        "stable-only": true,
                        "url-template": "https://github.com/benhoyt/inih/archive/refs/tags/r$version.tar.gz"
                    }
                }
            ]
        },
        {
            "name": "exiv2",
            "buildsystem": "cmake-ninja",
            "builddir": true,
            "config-opts": [
                "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
            ],
            "cleanup": [
                "/bin"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/Exiv2/exiv2/archive/refs/tags/v0.28.5.tar.gz",
                    "sha256": "e1671f744e379a87ba0c984617406fdf8c0ad0c594e5122f525b2fb7c28d394d",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 769,
                        "stable-only": true,
                        "url-template": "https://github.com/Exiv2/exiv2/archive/refs/tags/v$version.tar.gz"
                    }
                }
            ]
        },
        {
            "name": "libass",
            "config-opts": [
                "--enable-harfbuzz",
                "--enable-fontconfig"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/libass/libass/releases/download/0.17.3/libass-0.17.3.tar.xz",
                    "sha256": "eae425da50f0015c21f7b3a9c7262a910f0218af469e22e2931462fed3c50959",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 1560,
                        "stable-only": true,
                        "url-template": "https://github.com/libass/libass/releases/download/$version/libass-$version.tar.xz"
                    }
                }
            ]
        },
        {
            "name": "frei0r-plugins",
            "buildsystem": "cmake-ninja",
            "builddir": true,
            "config-opts": [
                "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/dyne/frei0r/archive/v2.3.3.tar.gz",
                    "sha256": "aeeefe3a9b44761b2cf110017d2b1dfa2ceeb873da96d283ba5157380c5d0ce5",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 10670,
                        "stable-only": true,
                        "url-template": "https://github.com/dyne/frei0r/archive/v$version.tar.gz"
                    }
                }
            ]
        },
        {
            "name": "bigsh0t",
            "buildsystem": "cmake-ninja",
            "builddir": true,
            "no-make-install": true,
            "config-opts": [
                "-DCMAKE_BUILD_TYPE=Release",
                "-DBUILD_TESTING=OFF"
            ],
            "post-install": [
                "cp -v bigsh0t-*-linux/lib/frei0r-1/*.so /app/lib/frei0r-1"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://bitbucket.org/leo_sutic/bigsh0t/get/2.7.tar.bz2",
                    "sha256": "3eb77b3ca239cc780427f8b99ed9c80837f7c970b1e8cab75a084992f22ea6b0",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 288153,
                        "stable-only": true,
                        "url-template": "https://bitbucket.org/leo_sutic/bigsh0t/get/$version.tar.bz2"
                    }
                }
            ]
        },
        {
            "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.17.tgz",
                    "sha256": "27d24f279e4b81bd17ecbdcc38e4c42991bb388826c0b200067ce0eb59d3da5b",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 227231,
                        "stable-only": true,
                        "url-template": "https://www.ladspa.org/download/ladspa_sdk_$version.tgz"
                    }
                }
            ]
        },
        {
            "name": "ladspa-noise-suppressor",
            "buildsystem": "cmake-ninja",
            "builddir": true,
            "config-opts": [
                "-DBUILD_LV2_PLUGIN=OFF",
                "-DBUILD_VST_PLUGIN=OFF"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/werman/noise-suppression-for-voice/archive/refs/tags/v1.10.tar.gz",
                    "sha256": "6e0c11aeb8392891750b0243c2ba695dab07654bf3f4e01adbed927b36cc690a",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 326607,
                        "stable-only": true,
                        "url-template": "https://github.com/werman/noise-suppression-for-voice/archive/refs/tags/v$version.tar.gz"
                    }
                }
            ]
        },
        {
            "name": "x264",
            "config-opts": [
                "--disable-cli",
                "--enable-shared"
            ],
            "sources": [
                {
                    "type": "git",
                    "url": "https://code.videolan.org/videolan/x264.git",
                    "commit": "5db6aa6cab1b146e07b60cc1736a01f21da01154"
                }
            ]
        },
        {
            "name": "x265",
            "buildsystem": "cmake-ninja",
            "builddir": true,
            "subdir": "source",
            "config-opts": [
                "-DCMAKE_BUILD_TYPE=Release",
                "-DENABLE_CLI=OFF"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_4.1.tar.gz",
                    "sha256": "a31699c6a89806b74b0151e5e6a7df65de4b49050482fe5ebf8a4379d7af8f29",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 7275,
                        "stable-only": true,
                        "url-template": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_$version.tar.gz"
                    }
                }
            ]
        },
        {
            "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/v2024.10.24.tar.gz",
                    "sha256": "159f2a550592bae49859fee83d372acd152328fdf95c0dcd8b9409f8fad5db93",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 223257,
                        "stable-only": true,
                        "url-template": "https://github.com/KhronosGroup/OpenCL-Headers/archive/refs/tags/v$version.tar.gz"
                    }
                }
            ]
        },
        {
            "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.36.tar.gz",
                    "sha256": "240a42033babc7920e5476506d5ac0c5628f67908833168e746406808d0ef146",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 138182,
                        "stable-only": true,
                        "url-template": "https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v$version.tar.gz"
                    }
                }
            ]
        },
        {
            "name": "nv-codec-headers",
            "cleanup": [
                "*"
            ],
            "no-autogen": true,
            "make-install-args": [
                "PREFIX=/app"
            ],
            "sources": [
                {
                    "type": "git",
                    "url": "https://github.com/FFmpeg/nv-codec-headers.git",
                    "tag": "n13.0.19.0",
                    "commit": "e844e5b26f46bb77479f063029595293aa8f812d",
                    "x-checker-data": {
                        "type": "git",
                        "tag-pattern": "^n([\\d.]+)$"
                    }
                }
            ]
        },
        {
            "name": "libva",
            "skip-arches": [
                "aarch64"
            ],
            "buildsystem": "meson",
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/intel/libva/archive/refs/tags/2.22.0.tar.gz",
                    "sha256": "467c418c2640a178c6baad5be2e00d569842123763b80507721ab87eb7af8735",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 1752,
                        "stable-only": true,
                        "url-template": "https://github.com/intel/libva/archive/refs/tags/$version.tar.gz"
                    }
                }
            ]
        },
        {
            "name": "libva-utils",
            "skip-arches": [
                "aarch64"
            ],
            "buildsystem": "meson",
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/intel/libva-utils/archive/refs/tags/2.22.0.tar.gz",
                    "sha256": "7b57615c130427ec134bb5d2b80af516ce5bb19a40e89b1dab46a0d59760d96c",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 16334,
                        "stable-only": true,
                        "url-template": "https://github.com/intel/libva-utils/archive/refs/tags/$version.tar.gz"
                    }
                }
            ]
        },
        {
            "name": "intel-onevpl-runtime",
            "only-arches": [
                "x86_64"
            ],
            "buildsystem": "cmake-ninja",
            "builddir": true,
            "config-opts": [
                "-DCMAKE_BUILD_TYPE=Release",
                "-DBUILD_SAMPLES=OFF",
                "-DBUILD_TESTS=OFF",
                "-DBUILD_TOOLS=OFF"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/oneapi-src/oneVPL-intel-gpu/archive/intel-onevpl-25.1.3.tar.gz",
                    "sha256": "28b1ec37cc747db296e0a8bdd824206aa26d14623737bcd94d245009976cc552",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 368736,
                        "stable-only": true,
                        "url-template": "https://github.com/oneapi-src/oneVPL-intel-gpu/archive/intel-onevpl-$version.tar.gz"
                    }
                }
            ]
        },
        {
            "name": "oneapi-libvpl",
            "skip-arches": [
                "aarch64"
            ],
            "buildsystem": "cmake-ninja",
            "builddir": true,
            "config-opts": [
                "-DCMAKE_BUILD_TYPE=Release",
                "-DBUILD_SAMPLES=OFF",
                "-DBUILD_TESTS=OFF",
                "-DBUILD_TOOLS=OFF"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/intel/libvpl/archive/refs/tags/v2023.4.0.tar.gz",
                    "sha256": "978398c7bb1665a6ad7a1a15cc57dc0204608e56c88436e376b717320a9e63fd"
                }
            ]
        },
        {
            "name": "ffmpeg",
            "config-opts": [
                "--disable-doc",
                "--disable-static",
                "--enable-amf",
                "--enable-cuda-llvm",
                "--enable-cuvid",
                "--enable-ffnvcodec",
                "--enable-gnutls",
                "--enable-gpl",
                "--enable-libaom",
                "--enable-libass",
                "--enable-libdav1d",
                "--enable-libfontconfig",
                "--enable-libfreetype",
                "--enable-libmp3lame",
                "--enable-libopenjpeg",
                "--enable-libopus",
                "--enable-libpulse",
                "--enable-librsvg",
                "--enable-libsvtav1",
                "--enable-libv4l2",
                "--enable-libvidstab",
                "--enable-libvorbis",
                "--enable-libvpx",
                "--enable-libx264",
                "--enable-libx265",
                "--enable-libxml2",
                "--enable-libzimg",
                "--enable-nvdec",
                "--enable-nvenc",
                "--enable-opencl",
                "--enable-rpath",
                "--enable-shared",
                "--enable-vaapi",
                "--enable-vdpau"
            ],
            "build-options": {
                "prepend-path": "/usr/lib/sdk/llvm19/bin",
                "prepend-ld-library-path": "/usr/lib/sdk/llvm19/lib",
                "arch": {
                    "x86_64": {
                        "config-opts": [
                            "--enable-libvpl"
                        ]
                    }
                }
            },
            "cleanup": [
                "/share/ffmpeg/examples"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://www.ffmpeg.org/releases/ffmpeg-7.1.1.tar.xz",
                    "sha256": "733984395e0dbbe5c046abda2dc49a5544e7e0e1e2366bba849222ae9e3a03b1",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 5405,
                        "stable-only": true,
                        "url-template": "https://www.ffmpeg.org/releases/ffmpeg-$version.tar.xz"
                    }
                }
            ]
        },
        {
            "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.41/libzen_0.4.41.tar.xz",
                    "sha256": "933bad3b7ecd29dc6bdc88a83645c83dfd098c15b0b90d6177a37fa1536704e8",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 1810,
                        "stable-only": true,
                        "url-template": "https://mediaarea.net/download/source/libzen/$version/libzen_$version.tar.xz"
                    }
                }
            ]
        },
        {
            "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/24.12/libmediainfo_24.12.tar.xz",
                    "sha256": "1f4986207f75deb290915e6bf0b33e3e455774305dd266ffe8997c01aad65b27",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 16249,
                        "stable-only": true,
                        "url-template": "https://mediaarea.net/download/source/libmediainfo/$version/libmediainfo_$version.tar.xz"
                    }
                }
            ]
        },
        {
            "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/24.12/mediainfo_24.12.tar.xz",
                    "sha256": "3699ae650ce71893a932ce2eaa2a35f8da47e6f721f93d695b0beb0aad4e9997",
                    "x-checker-data": {
                        "type": "anitya",
                        "project-id": 8240,
                        "stable-only": true,
                        "url-template": "https://mediaarea.net/download/source/mediainfo/$version/mediainfo_$version.tar.xz"
                    }
                }
            ]
        },
        {
            "name": "opencv",
            "buildsystem": "cmake-ninja",
            "builddir": true,
            "config-opts": [
                "-DCMAKE_BUILD_TYPE=Release",
                "-DOPENCV_GENERATE_PKGCONFIG=ON",
                "-DBUILD_LIST=tracking,dnn"
            ],
            "cleanup": [
                "/bin"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/opencv/opencv/archive/4.11.0.tar.gz",
                    "sha256": "9a7c11f924eff5f8d8070e297b322ee68b9227e003fd600d4b8122198091665f",
                    "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.11.0.tar.gz",
                    "sha256": "2dfc5957201de2aa785064711125af6abb2e80a64e2dc246aca4119b19687041",
                    "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": "mlt",
            "buildsystem": "cmake-ninja",
            "builddir": true,
            "config-opts": [
                "-DMOD_OPENCV=ON",
                "-DMOD_GLAXNIMATE=OFF",
                "-DMOD_QT=OFF",
                "-DMOD_QT6=ON",
                "-DMOD_GLAXNIMATE_QT6=ON",
                "-DMOD_MOVIT=OFF",
                "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
            ],
            "sources": [
                {
                    "type": "git",
                    "url": "https://github.com/mltframework/mlt.git",
                    "branch": "master"
                }
            ]
        },
        {
            "name": "Imath",
            "buildsystem": "cmake-ninja",
            "config-opts": [
                "-DBUILD_TESTING=OFF",
                "-DPYTHON=OFF"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v3.1.12.tar.gz",
                    "sha256": "8a1bc258f3149b5729c2f4f8ffd337c0e57f09096e4ba9784329f40c4a9035da"
                }
            ]
        },
        {
            "name": "opentimelineio",
            "buildsystem": "cmake-ninja",
            "builddir": true,
            "config-opts":[
                "-DOTIO_FIND_IMATH=ON",
                "-DOTIO_DEPENDENCIES_INSTALL=OFF",
                "-DBUILD_TESTING=OFF"
            ],
            "sources": [
                {
                    "type": "git",
                    "url": "https://github.com/AcademySoftwareFoundation/OpenTimelineIO.git/",
                    "tag": "v0.17.0"
                }
            ]
        }
    ]
}
