summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2016-02-02 10:33:22 -0700
committerDenis Dupeyron <calchan@gentoo.org>2016-02-02 10:34:22 -0700
commit881be1c49ab15b5d44c8113484f873b8bb6b9d7f (patch)
tree2df7c1cf305e3dd4f3799a666d65ba692ca380c9 /x11-misc/light-locker
parentdev-perl/Filter: add alpha keyword (diff)
downloadgentoo-881be1c49ab15b5d44c8113484f873b8bb6b9d7f.tar.gz
gentoo-881be1c49ab15b5d44c8113484f873b8bb6b9d7f.tar.bz2
gentoo-881be1c49ab15b5d44c8113484f873b8bb6b9d7f.zip
x11-misc/light-locker: bump to 1.7.0, fix #566340
Package-Manager: portage-2.2.27
Diffstat (limited to 'x11-misc/light-locker')
-rw-r--r--x11-misc/light-locker/Manifest1
-rw-r--r--x11-misc/light-locker/light-locker-1.7.0.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/x11-misc/light-locker/Manifest b/x11-misc/light-locker/Manifest
index bb793f36af4c..f2281b696e90 100644
--- a/x11-misc/light-locker/Manifest
+++ b/x11-misc/light-locker/Manifest
@@ -1 +1,2 @@
DIST light-locker-1.6.0.tar.bz2 522644 SHA256 63e0cbcc7ceb8ad695b4bbe7eb9ba5fee32f47790ccde048748d8a47edd32ad0 SHA512 23e10a2d32eabf2cfcc898dcb0c8f98cc7c4e02a3fa83d1a5bd19c0f11251123e618f469bada2cd1fa4f028396c5fbe5751f9943b1be4448aefc2d64fea1eb18 WHIRLPOOL 3d16015765caa8f166a7b1ce8529077bca8809b5d4b66f4a29a852a8f610286ea957f87bc0f10b119083153b2412a77232214b8a428999d5522833e779338500
+DIST light-locker-1.7.0.tar.bz2 530315 SHA256 938baae14576e91b1fa0af963941bae6ef8d141bd83b513ff02256d8b6e79e29 SHA512 dcd524ed5bf8475743585ee5a6b35dfe396d17f307418e208450ccabc12ab6b3835818fdf11324b8c7dc63332b9faacea184409b7c9c0a242fbb9d6402a2d079 WHIRLPOOL 05d9d0762da2ddbfb6a33209b65289c26ef01cd14fbe9cab0c15718ce915e18f48e3d288b58dfddfc1de28ce821e3fa93559f52a3d7eec539f5d544ae5713a40
diff --git a/x11-misc/light-locker/light-locker-1.7.0.ebuild b/x11-misc/light-locker/light-locker-1.7.0.ebuild
new file mode 100644
index 000000000000..39862cf2cdd9
--- /dev/null
+++ b/x11-misc/light-locker/light-locker-1.7.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools-utils gnome2-utils
+
+DESCRIPTION="A simple locker using lightdm"
+HOMEPAGE="https://github.com/the-cavalry/light-locker"
+SRC_URI="${HOMEPAGE}/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+consolekit +dpms gtk3 +screensaver -systemd +upower"
+
+RDEPEND="dev-libs/dbus-glib
+ >=dev-libs/glib-2.25.6:2
+ >=sys-apps/dbus-0.30
+ x11-libs/cairo
+ x11-libs/libX11
+ x11-libs/pango
+ x11-libs/libXxf86vm
+ consolekit? ( sys-auth/consolekit )
+ dpms? ( x11-libs/libXext )
+ !gtk3? ( >=x11-libs/gtk+-2.24:2 )
+ gtk3? ( x11-libs/gtk+:3 )
+ screensaver? ( x11-libs/libXScrnSaver )
+ systemd? ( sys-apps/systemd )
+ upower? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ dev-perl/XML-Parser
+ dev-util/intltool
+ sys-devel/gettext"
+RDEPEND="${RDEPEND}
+ x11-misc/lightdm"
+
+DOCS=( AUTHORS HACKING NEWS README )
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with consolekit console-kit)
+ $(use_with dpms dpms-ext)
+ $(use_with !gtk3 gtk2)
+ $(use_with screensaver x)
+ $(use_with screensaver mit-ext)
+ $(use_with systemd)
+ $(use_with upower)
+ )
+ autotools-utils_src_configure
+}
+
+pkg_preinst() {
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+}