APKBUILD 1.37 KB
Newer Older
Bart Ribbers's avatar
Bart Ribbers committed
1 2 3
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-sdk
4
pkgver=5.17.4
Bart Ribbers's avatar
Bart Ribbers committed
5 6
pkgrel=0
pkgdesc="Applications useful for Plasma Development"
7
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
Bart Ribbers's avatar
Bart Ribbers committed
8 9 10 11 12
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0-or-later"
depends="kirigami2"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev karchive-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev kdeclarative-dev ki18n-dev kiconthemes-dev kio-dev plasma-framework-dev kservice-dev ktexteditor-dev kwidgetsaddons-dev kdoctools-dev kparts-dev"
checkdepends="xvfb-run"
13
source="https://download.kde.org/stable/plasma/$pkgver/plasma-sdk-$pkgver.tar.xz"
Bart Ribbers's avatar
Bart Ribbers committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
subpackages="$pkgname-doc $pkgname-lang"

prepare() {
	default_prepare

	mkdir "$builddir"/build
}

build() {
	cd "$builddir"/build
	cmake "$builddir" \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	cd "$builddir"/build
33 34
	# iconmodeltest is broken
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "iconmodeltest"
Bart Ribbers's avatar
Bart Ribbers committed
35 36 37 38 39 40 41
}

package() {
	cd "$builddir"/build
	DESTDIR="$pkgdir" make install
}

42
sha512sums="384ecc41889f18b4d28d201d05de37cd6a41b75e41db8c45e401f76f6e89a8b0c0fb60e14b82bcf1cf3c4ef0900e89302b8cba2609a99ff8b3237d7299c9df79  plasma-sdk-5.17.4.tar.xz"