39 lines
1.2 KiB
Bash
39 lines
1.2 KiB
Bash
# Template file for 'kdenlive'
|
|
pkgname=kdenlive
|
|
version=23.08.5
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="
|
|
extra-cmake-modules kconfig kcoreaddons kdoctools pkg-config python3
|
|
kpackage qt5-host-tools qt5-qmake gettext"
|
|
makedepends="
|
|
kdeclarative-devel kfilemetadata5-devel knewstuff-devel knotifyconfig-devel
|
|
kplotting-devel mlt7-devel qt5-multimedia-devel qt5-webkit-devel purpose-devel
|
|
v4l-utils-devel ksolid-devel qt5-quickcontrols2-devel qt5-networkauth-devel"
|
|
depends="breeze-icons dvdauthor ffmpeg frei0r-plugins kinit qt5-quickcontrols
|
|
kirigami2 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=9ae96458e6a257c323f9845341410a140740260f3f8971ce35004de5161a83db
|
|
|
|
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"
|
|
|
|
}
|