void-packages/srcpkgs/kdenlive/template

32 lines
1.1 KiB
Bash

# Template file for 'kdenlive'
pkgname=kdenlive
version=22.08.2
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=49f934caeb210e8aa0076ab8374db8780bb10fabab30799b3f0254dc53d64ed8
# 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"