aboutsummaryrefslogtreecommitdiffstats
path: root/testing/light-locker
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-11 10:15:06 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-11 20:35:00 -0300
commitcf10f62404fb591cdc685dcf78dad6c06d724379 (patch)
tree170bc1d7fce72bcf1f8c4ad92b5a73ad95074b28 /testing/light-locker
parentb8a3bc0bfc067488b19fbdce939091a4a47e8119 (diff)
downloadaports-cf10f62404fb591cdc685dcf78dad6c06d724379.tar.bz2
aports-cf10f62404fb591cdc685dcf78dad6c06d724379.tar.xz
testing/light-locker: new aport
https://github.com/the-cavalry/light-locker Simple session-locker for LightDM
Diffstat (limited to 'testing/light-locker')
-rw-r--r--testing/light-locker/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/light-locker/APKBUILD b/testing/light-locker/APKBUILD
new file mode 100644
index 0000000000..ab7596e2e8
--- /dev/null
+++ b/testing/light-locker/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Leo <thinkabit.ukim@gmail.com>
+pkgname=light-locker
+pkgver=1.9.0
+pkgrel=0
+pkgdesc="Simple session-locker for LightDM"
+options="!check" # No testsuite
+url="https://github.com/the-cavalry/light-locker"
+arch="all"
+license="GPL-2.0-or-later"
+depends="lightdm elogind"
+makedepends="meson glib-dev gtk+3.0-dev dbus-glib-dev libx11-dev
+ libxext-dev libxscrnsaver-dev dbus-dev libxxf86vm-dev
+ upower-dev intltool elogind-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="$pkgname-$pkgver.tar.gz::https://github.com/the-cavalry/light-locker/archive/v$pkgver.tar.gz
+ "
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ -Dmit-ext=true \
+ -Ddpms-ext=true \
+ -Dxf86gamma-ext=true \
+ -Dsystemd=true \
+ -Dupower=true \
+ -Dlate-locking=true \
+ -Dlock-on-suspend=true \
+ -Dlock-on-lid=true \
+ -Dgsettings=true \
+ . output
+ ninja -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="c6f84b38affa20cf0bd7d2341f5a8eff36891ed55401955715a68a011c84c7f2300db670abb95a320eb40aee90885fe044ddf0a721e418ee4724af3e4f6a61a4 light-locker-1.9.0.tar.gz"