pmaports/temp/kdecoration/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

30 lines
925 B
Text

# Forked from Alpine to build Plasma 5.17 pre-release
pkgname=kdecoration
pkgver=5.16.90
pkgrel=0
pkgdesc="Plugin based library to create window decorations"
arch="all !armhf"
url="https://www.kde.org/workspaces/plasmadesktop/"
license="LGPL-2.1-only OR LGPL-3.0-only"
depends_dev="qt5-qtbase-dev ki18n-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/unstable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
options="!check" # Fails due to requiring running X11
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="fda820d98f5304e184f54a5e428297b36548849dc586d95b143a837777b52b8748dfb4d433a704032eee60337373d68d145b0ccbe43f7b154b86a13ceb0be52b kdecoration-5.16.90.tar.xz"