APKBUILD 1.99 KB
Newer Older
1 2 3
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-workspace
4 5
pkgver=5.17.4
pkgrel=0
6
pkgdesc="KDE Plasma Workspace"
7
arch="all !armhf" # armhf blocked by kirigami2 -> qt5-qtdeclarative
8 9
url="https://www.kde.org/workspaces/plasmadesktop/"
license="(GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-or-later AND GPL-2.0-or-later AND MIT AND LGPL-2.1-only AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.0-only"
10
depends="tzdata qt5-qtquickcontrols kirigami2 kinit qt5-qttools kwin kactivitymanagerd milou plasma-integration qtchooser kded"
11
depends_dev="plasma-framework-dev krunner-dev kjsembed-dev knotifyconfig-dev kdesu-dev knewstuff-dev kwallet-dev kidletime-dev kdeclarative-dev ki18n-dev kcmutils-dev ktextwidgets-dev kdelibs4support-dev kcrash-dev kglobalaccel-dev kdbusaddons-dev kwayland-dev kcoreaddons-dev kded-dev libksysguard-dev kpackage-dev kscreenlocker-dev phonon-dev zlib-dev kitemmodels-dev networkmanager-qt-dev baloo-dev ktexteditor-dev kwin-dev kholidays-dev prison-dev kpeople-dev kactivities-stats-dev libkscreen-dev gpsd-dev iso-codes-dev"
12 13
makedepends="$depends_dev extra-cmake-modules kdoctools-dev libxtst-dev"
checkdepends="xvfb-run"
14
source="https://download.kde.org/stable/plasma/$pkgver/plasma-workspace-$pkgver.tar.xz"
15 16
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc $pkgname-lang"

17 18 19 20 21 22
prepare() {
	default_prepare

	mkdir "$builddir"/build
}

23
build() {
24 25
	cd "$builddir"/build
	cmake "$builddir" \
26
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
27 28 29 30 31 32
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
33
	cd "$builddir"/build
34 35 36 37 38 39
	# nightcolortest requires running dbus
	# testdesktop is broken
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(nightcolortest|testdesktop)"
}

package() {
40
	cd "$builddir"/build
41 42
	DESTDIR="$pkgdir" make install
}
43
sha512sums="3f5aa07ccd19604bc399bb1d30dd16ac82e1405613c1f4a939e3c2cba3b4a478213095617052440dda222f1712608533e5806939117752d31b0616a6009cf45b  plasma-workspace-5.17.4.tar.xz"