aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdeplasma-addons/APKBUILD
blob: 96d8a17b973893c05a8c18462dd213ca0b5eba41 (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.3
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="e1509b547cea891af84c1d5d1a2bc3232a0039e4a96852d4da898eb83381bcd5403f6bea5d8bed2400f5c77d74dd3c82bc00b05aaf69396df7d964a90e240347  kdeplasma-addons-5.20.3.tar.xz"