aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdenlive/APKBUILD
blob: 3714a4abed8e854176b86aa4ce710aea0699c8d9 (plain)
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
57
58
59
60
61
62
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: team/kde <bribbers@disroot.org>

# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-applications
pkgname=kdenlive
pkgver=24.02.2
pkgrel=1
# ppc64le mlt uses 64bit long double while libgcc uses 128bit long double
# ppc64le, s390x, loongarch64 and riscv64 blocked by qt6-qtwebengine -> purpose
# aarch64 and armv7 blocked by OpenGL
arch="all !armhf !ppc64le !s390x !riscv64 !aarch64 !armv7 !loongarch64"
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="
	ffmpeg
	frei0r-plugins
	qqc2-desktop-style
	"
makedepends="
	extra-cmake-modules
	kdeclarative-dev
	kdoctools-dev
	kfilemetadata-dev
	knewstuff-dev
	knotifyconfig-dev
	kxmlgui-dev
	mlt-dev
	purpose-dev
	qt6-qtbase-dev
	qt6-qtmultimedia-dev
	qt6-qtnetworkauth-dev
	qt6-qtsvg-dev
	rttr-dev
	samurai
	"
checkdepends="xvfb-run"
subpackages="$pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/multimedia/kdenlive.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/kdenlive-$pkgver.tar.xz"
options="!check" # Segfaulting

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

check() {
	xvfb-run ctest --test-dir build --output-on-failure
}

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

sha512sums="
1528cedd3c33f3bf46de1c7f396eb7213d66dc5c85f5930385268a223c9b30f62ef623022cc39c477f95adfedb742755992deecadf52b010a7ef59f8f60e74c5  kdenlive-24.02.2.tar.xz
"