void-packages/srcpkgs/kdenlive/template

32 lines
1.1 KiB
Bash

# Template file for 'kdenlive'
pkgname=kdenlive
version=23.04.0
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"
checkdepends="$depends"
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/${pkgname}-${version}.tar.xz"
checksum=eba17db62714e56eb9433499d559dab0657677c6876b0735a756b0d9afc48e6a
# FIXME: Test #507: RunCMake.file-GET_RUNTIME_DEPENDENCIES fails
make_check=extended
case "$XBPS_TARGET_MACHINE" in
ppc64*) depends+=" opencv";;
ppc*) ;;
*) depends+=" opencv";;
esac
# needed for mlt to work on musl
CXXFLAGS="-DHAVE_LOCALE_H=1"