2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgname=kscreenlocker
|
2018-12-29 20:27:48 +00:00
|
|
|
pkgver=5.14.4
|
2018-05-12 22:59:51 +00:00
|
|
|
pkgrel=0
|
2018-07-30 22:00:55 +00:00
|
|
|
pkgdesc="Library and components for secure lock screen architecture"
|
2017-08-03 20:14:04 +00:00
|
|
|
arch="all"
|
2018-07-30 22:00:55 +00:00
|
|
|
url="https://www.kde.org/workspaces/plasmadesktop/"
|
2017-11-26 17:08:10 +00:00
|
|
|
license="GPL-2.0"
|
|
|
|
depends="linux-pam"
|
|
|
|
depends_dev="kcmutils-dev consolekit2-dev linux-pam-dev kidletime-dev kwayland-dev
|
|
|
|
kdeclarative-dev qt5-qtdeclarative-dev kcrash-dev kglobalaccel-dev
|
2018-05-02 20:50:29 +00:00
|
|
|
ki18n-dev ktextwidgets-dev qt5-qtx11extras-dev kwindowsystem-dev kxmlgui-dev
|
2017-11-26 17:08:10 +00:00
|
|
|
kconfig-dev sonnet-dev kconfigwidgets-dev kauth-dev kcoreaddons-dev
|
|
|
|
kcodecs-dev kwidgetsaddons-dev kservice-dev kpackage-dev knotifications-dev
|
|
|
|
solid-dev"
|
|
|
|
makedepends="$depends_dev extra-cmake-modules kdoctools-dev libxcursor xcb-util-keysyms-dev"
|
|
|
|
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz
|
|
|
|
kde.pam
|
|
|
|
kde-np.pam"
|
2017-08-17 16:19:36 +00:00
|
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
2017-11-26 17:08:10 +00:00
|
|
|
options="suid !check" # Fails due to requiring running X11 and loginctl
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
build() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cmake \
|
2017-08-03 20:14:04 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
2017-11-26 17:08:10 +00:00
|
|
|
-DKDE_INSTALL_LIBEXECDIR=/usr/lib
|
2017-08-03 20:14:04 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2017-11-26 17:08:10 +00:00
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
2017-08-03 20:14:04 +00:00
|
|
|
package() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cd "$builddir"
|
2017-08-03 20:14:04 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
2017-11-26 17:08:10 +00:00
|
|
|
|
|
|
|
install -D -m644 "$srcdir"/kde.pam "$pkgdir"/etc/pam.d/kde
|
|
|
|
install -m644 "$srcdir"/kde-np.pam "$pkgdir"/etc/pam.d/kde-np
|
2017-08-03 20:14:04 +00:00
|
|
|
}
|
|
|
|
|
2018-12-29 20:27:48 +00:00
|
|
|
sha512sums="ec6a8f768ef20cdf07f278ce6bf6b63537b44fee4f4f460aeee428df9734b3d660ec2c409640b250bcf246b5acccf404d369f7826c61dcd4fb2546130a417151 kscreenlocker-5.14.4.tar.xz
|
2017-11-26 17:08:10 +00:00
|
|
|
56e87d02d75c4a8cc4ed183faed416fb4972e7f223b8759959c0f5da32e11e657907a1df279d62a44a6a174f5aca8b2ac66a5f3325c5deb92011bcf71eed74c3 kde.pam
|
|
|
|
565265485dd7466b77966d75a56766216b8bcc187c95a997e531e9481cf50ddbe576071eb0e334421202bcab19aa6de6b93e042447ca4797a24bf97e1d053ffd kde-np.pam"
|