pmaports/temp/libkscreen/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 KiB
Text

# Forked from Alpine to build Plasma 5.17 pre-release
pkgname=libkscreen
pkgver=5.16.90
pkgrel=0
pkgdesc="KDE screen management software"
arch="all !armhf"
url="https://www.kde.org/workspaces/plasmadesktop/"
license="LGPL-2.1-or-later AND GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only)"
depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev kwayland-dev"
makedepends="$depends_dev extra-cmake-modules doxygen graphviz qt5-qttools-dev"
source="https://download.kde.org/unstable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc"
options="!check" # Fails due to requiring dbus-x11 and it running
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="9dead5d0defbd55916eeb3b7940eed2c4adb0e2e0be4203c6f9b1cc882f4d5ed3918c27e93b9d1491e670a493e4da4207b463eb6653747be72624e9888722102 libkscreen-5.16.90.tar.xz"