pmaports/temp/systemsettings/APKBUILD
Oliver Smith f0159bd0aa
temp/*: don't build plamo related pkgs for armhf
postmarketos-ui-plasma-mobile has !armhf in its arches list, so it does
not make sense to build these packages for armhf either. Let's save some
building time.

[ci:skip-vercheck], [ci:skip-build]
2019-09-29 23:42:30 +02:00

31 lines
1.3 KiB
Text

# Forked from Alpine to build Plasma 5.17 pre-release
pkgname=systemsettings
pkgver=5.16.90
pkgrel=0
pkgdesc="Plasma system manager for hardware, software, and workspaces"
arch="all !ppc64le !s390x !armhf" # Limited by plasma-workspace -> libksysguard -> qt5-qtwebengine
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0-or-later"
depends="kirigami2"
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev kcrash-dev kitemviews-dev kcmutils-dev ki18n-dev kio-dev kservice-dev kiconthemes-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev kdbusaddons-dev kconfig-dev kdoctools-dev kpackage-dev kdeclarative-dev kactivities-dev kactivities-stats-dev kirigami2-dev plasma-workspace-dev khtml-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/unstable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
options="!check" # broken with cross-compiling
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="98e4f7930932e20d5d194c872bfd68b0cf49efec5d2a6e4b8bbca70f0eeab5e9b25455dd543255859494360f70e19225d266e71080143413a870efe7f014bdf2 systemsettings-5.16.90.tar.xz"