aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdenlive/APKBUILD
blob: 2b3ff4d49ccf5e2d473bf380a0c2ee01004e8dd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdenlive
pkgver=20.12.2
pkgrel=0
# s390x kdeclarative-dev knewstuff-dev knotifyconfig-dev kxmlgui-dev purpose-dev
# ppc64le mlt uses 64bit long double while libgcc uses 128bit long double
arch="all !armhf !s390x !ppc64le !mips64"
url="https://kdenlive.org"
pkgdesc="An intuitive and powerful multi-track video editor, including most recent video technologies"
license="GPL-2.0-or-later"
depends="
	dbus
	ffmpeg
	frei0r-plugins
	mlt
	qt5-qtquickcontrols
	"
makedepends="
	extra-cmake-modules
	kdeclarative-dev
	kdoctools-dev
	kfilemetadata-dev
	knewstuff-dev
	knotifyconfig-dev
	kxmlgui-dev
	mlt-dev
	purpose-dev
	qt5-qtbase-dev
	qt5-qtmultimedia-dev
	qt5-qtsvg-dev
	rttr-dev
	"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/kdenlive-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # Broken

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="9a76e1bc5ab4ac564dd7092f2d29ab8d1648ced4fa6210f60d95c9f3226112b476dcfd044c7965c0841c816bae4e6a8e0e9da111e7846424125fce4b4cf84842  kdenlive-20.12.2.tar.xz"