diff --git a/common/shlibs b/common/shlibs index 5618c40c76..7ead0c5d53 100644 --- a/common/shlibs +++ b/common/shlibs @@ -440,6 +440,7 @@ libsensors.so.4 libsensors-3.1.1_1 libcap-ng.so.0 libcap-ng-0.6.2_1 libphysfs.so.1 physfs-2.0.0_1 libSDL_ttf-2.0.so.0 SDL_ttf-2.0.9_1 +libKScreenLocker.so.5 kscreenlocker-5.8.4_1 libparted.so.2 libparted-3.1_1 libparted-fs-resize.so.0 libparted-3.1_1 libntfs-3g.so.88 ntfs-3g-2017.3.23_1 diff --git a/srcpkgs/kscreenlocker-devel b/srcpkgs/kscreenlocker-devel new file mode 120000 index 0000000000..7402ecc3bb --- /dev/null +++ b/srcpkgs/kscreenlocker-devel @@ -0,0 +1 @@ +kscreenlocker \ No newline at end of file diff --git a/srcpkgs/kscreenlocker/patches/musl.patch b/srcpkgs/kscreenlocker/patches/musl.patch new file mode 100644 index 0000000000..677073fcf8 --- /dev/null +++ b/srcpkgs/kscreenlocker/patches/musl.patch @@ -0,0 +1,10 @@ +--- kcheckpass/kcheckpass.c.orig 2016-12-20 15:34:56.868688234 +0400 ++++ kcheckpass/kcheckpass.c 2016-12-20 15:35:48.092223200 +0400 +@@ -45,6 +45,7 @@ + * + *****************************************************************/ + ++#define _GNU_SOURCE + #include "kcheckpass.h" + + #include diff --git a/srcpkgs/kscreenlocker/template b/srcpkgs/kscreenlocker/template new file mode 100644 index 0000000000..90da4c9b94 --- /dev/null +++ b/srcpkgs/kscreenlocker/template @@ -0,0 +1,24 @@ +# Template file for 'kscreenlocker' +pkgname=kscreenlocker +version=5.8.7 +revision=1 +build_style=cmake +configure_args="-DBUILD_TESTING=OFF" +hostmakedepends="extra-cmake-modules pkg-config" +makedepends="kdeclarative-devel kidletime-devel kcmutils-devel kwayland-devel libXi-devel pam-devel libXcursor-devel" +short_desc="KDE Library and components for secure lock screen architecture" +maintainer="Denis Revin " +license="GPL-2" +homepage="https://projects.kde.org/projects/plasma/kscreenlocker" +distfiles="http://download.kde.org/stable/plasma/${version}/${pkgname}-${version}.tar.xz" +checksum=bc7c61a24a5fb7ba84ac24508f5c82a36506b18deb331d8098873a7ce428d003 + +kscreenlocker-devel_package() { + short_desc+=" - development" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove usr/lib/*.so + } +}