46 lines
1.6 KiB
Bash
46 lines
1.6 KiB
Bash
# Template file for 'kdenlive'
|
|
pkgname=kdenlive
|
|
version=24.02.2
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
|
|
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
|
|
hostmakedepends="
|
|
extra-cmake-modules kf6-kconfig kf6-kcoreaddons kf6-kdoctools pkg-config python3
|
|
kf6-kpackage qt6-base qt6-tools gettext"
|
|
makedepends="
|
|
kf6-purpose-devel kf6-karchive-devel kf6-kbookmarks-devel kf6-kcodecs-devel
|
|
kf6-kcolorscheme-devel kf6-kcompletion-devel kf6-kconfig-devel
|
|
kf6-kconfigwidgets-devel kf6-kcoreaddons-devel kf6-kcrash-devel
|
|
kf6-kdbusaddons-devel kf6-kfilemetadata-devel kf6-kguiaddons-devel
|
|
kf6-ki18n-devel kf6-kiconthemes-devel kf6-kio-devel kf6-kitemviews-devel
|
|
kf6-knewstuff-devel kf6-knotifications-devel kf6-knotifyconfig-devel
|
|
kf6-ktextwidgets-devel kf6-kwidgetsaddons-devel kf6-kxmlgui-devel
|
|
mlt7-devel qt6-multimedia-devel v4l-utils-devel qt6-networkauth-devel"
|
|
depends="breeze-icons dvdauthor ffmpeg frei0r-plugins kf6-kirigami
|
|
kf6-qqc2-desktop-style mediainfo-cli"
|
|
checkdepends="$depends xvfb-run"
|
|
short_desc="Non-linear video editor"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://kdenlive.org"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/kdenlive-${version}.tar.xz"
|
|
checksum=c84b6264aef2ea794e0301827f46c01e12b6d9592158937e184dddc4c3946ee3
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
ppc64*) depends+=" opencv";;
|
|
ppc*) ;;
|
|
*) depends+=" opencv";;
|
|
esac
|
|
|
|
# needed for mlt to work on musl
|
|
CXXFLAGS="-DHAVE_LOCALE_H=1"
|
|
|
|
do_check() {
|
|
cd build
|
|
# mixtest does not proceed
|
|
# # other failing
|
|
xvfb-run ctest -E "mixtest|effectstest|keyframetest|filetest"
|
|
|
|
}
|