pmaports/kde/libkscreen/APKBUILD
2018-03-10 15:44:09 +00:00

35 lines
1,007 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libkscreen
pkgver=5.12.3
pkgrel=1
pkgdesc='KDE screen management software'
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
license="GPL-2.0"
depends=""
depends_dev="qt5-qtbase-dev qt5-x11extras-dev kwayland-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev"
options="!check" # Fails due to requiring dbus-x11 and it running
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="e9cffc96e5249f3ebfe895b005ec570d15dc0ae2b4ea79e1e82fe48bf34b9d4d3639aa3fb6a7ec477e26f71a16f64928e39b7e4358915d7082e3f42eebf6fb3f libkscreen-5.12.3.tar.xz"