pmaports/kde/kscreen/APKBUILD
Bart Ribbers def0dac79f
kde/plasma*: update to 5.15.3 (!277)
Built and tested on x86_64.

[ci:skip-build]: ollieparanoid made sure that this builds for all
                 arches
2019-03-18 09:37:12 +01:00

35 lines
1.1 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kscreen
pkgver=5.15.3
pkgrel=0
pkgdesc="KDE's screen management software"
arch="all"
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0"
depends="hicolor-icon-theme"
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev libkscreen-dev kdbusaddons-dev kconfig-dev kconfigwidgets-dev ki18n-dev kxmlgui-dev kauth-dev kcoreaddons-dev kcodecs-dev kwidgetsaddons-dev kglobalaccel-dev kdeclarative-dev plasma-framework-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # Fails due to requiring running X11
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="347119850a63104367e2696db662f07ca175d4cc41d9e19d0ef14110fbc9c29d37d8b00112b3a6aae701f2c07f941a7115e12b910e7205f6f7e667cf49f3b455 kscreen-5.15.3.tar.xz"