aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdeplasma-addons/APKBUILD
blob: 1af8c26a330430d888f23d0a41075d4596047379 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdeplasma-addons
pkgver=5.20.4
pkgrel=0
pkgdesc="All kind of addons to improve your Plasma experience"
# mips, ppc64le and s390x blocked by qt5-qtwebengine
# armhf blocked by qt5-qtdeclarative
arch="all !ppc64le !s390x !armhf !mips !mips64"
url="https://www.kde.org/workspaces/plasmadesktop/"
license="LGPL-2.0-only AND GPL-2.0-or-later"
depends="purpose"
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtwebengine-dev karchive-dev
	kconfig-dev kcoreaddons-dev kdeclarative-dev kholidays-dev ki18n-dev
	kiconthemes-dev kio-dev kcmutils-dev kross-dev knotifications-dev
	plasma-framework-dev krunner-dev kservice-dev sonnet-dev kunitconversion-dev
	kwindowsystem-dev knewstuff-dev"
makedepends="$depends_dev extra-cmake-modules"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/plasma/$pkgver/kdeplasma-addons-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"

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

check() {
	cd build
	# converterrunnertest is broken
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "converterrunnertest"
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="62508aedf42488abfd4237af19b92bc8a24cca7dae6c9bdbf0e3f3f60f8fa6bb207e88bde0fa9d9e2e44a0de0a9d7c622f187e84579b3a3228430706a0498048  kdeplasma-addons-5.20.4.tar.xz"