f0159bd0aa
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]
40 lines
1.6 KiB
Text
40 lines
1.6 KiB
Text
# Forked from Alpine to build Plasma 5.17 pre-release
|
|
pkgname=kscreenlocker
|
|
pkgver=5.16.90
|
|
pkgrel=0
|
|
pkgdesc="Library and components for secure lock screen architecture"
|
|
arch="all !armhf"
|
|
url="https://www.kde.org/workspaces/plasmadesktop/"
|
|
license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only)"
|
|
depends="linux-pam elogind"
|
|
depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev kcrash-dev kdeclarative-dev kglobalaccel-dev ki18n-dev kidletime-dev kcmutils-dev knotifications-dev solid-dev ktextwidgets-dev kwindowsystem-dev kxmlgui-dev xcb-util-keysyms-dev kwayland-dev linux-pam-dev libseccomp-dev elogind-dev"
|
|
makedepends="$depends_dev extra-cmake-modules"
|
|
checkdepends="xvfb-run"
|
|
source="https://download.kde.org/unstable/plasma/$pkgver/$pkgname-$pkgver.tar.xz
|
|
kde.pam
|
|
kde-np.pam"
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
options="!check" # Requires running loginctl
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
check() {
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" make install
|
|
|
|
install -D -m644 "$srcdir"/kde.pam "$pkgdir"/etc/pam.d/kde
|
|
install -m644 "$srcdir"/kde-np.pam "$pkgdir"/etc/pam.d/kde-np
|
|
}
|
|
|
|
sha512sums="8af61d617b54077ccfface2079fa4978503753353bb984ac17af074b10f1092e5a047fc6ea700e09df57cf3b526addcc982f9c532ae6b5edb4039d11ca0f77f0 kscreenlocker-5.16.90.tar.xz
|
|
56e87d02d75c4a8cc4ed183faed416fb4972e7f223b8759959c0f5da32e11e657907a1df279d62a44a6a174f5aca8b2ac66a5f3325c5deb92011bcf71eed74c3 kde.pam
|
|
565265485dd7466b77966d75a56766216b8bcc187c95a997e531e9481cf50ddbe576071eb0e334421202bcab19aa6de6b93e042447ca4797a24bf97e1d053ffd kde-np.pam"
|