Gentoo Archives: gentoo-commits

From: Denis Dupeyron <calchan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/light-locker/
Date: Tue, 02 Feb 2016 17:34:50
Message-Id: 1454434462.881be1c49ab15b5d44c8113484f873b8bb6b9d7f.calchan@gentoo
1 commit: 881be1c49ab15b5d44c8113484f873b8bb6b9d7f
2 Author: Denis Dupeyron <calchan <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 2 17:33:22 2016 +0000
4 Commit: Denis Dupeyron <calchan <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 2 17:34:22 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=881be1c4
7
8 x11-misc/light-locker: bump to 1.7.0, fix #566340
9
10 Package-Manager: portage-2.2.27
11
12 x11-misc/light-locker/Manifest | 1 +
13 x11-misc/light-locker/light-locker-1.7.0.ebuild | 65 +++++++++++++++++++++++++
14 2 files changed, 66 insertions(+)
15
16 diff --git a/x11-misc/light-locker/Manifest b/x11-misc/light-locker/Manifest
17 index bb793f3..f2281b6 100644
18 --- a/x11-misc/light-locker/Manifest
19 +++ b/x11-misc/light-locker/Manifest
20 @@ -1 +1,2 @@
21 DIST light-locker-1.6.0.tar.bz2 522644 SHA256 63e0cbcc7ceb8ad695b4bbe7eb9ba5fee32f47790ccde048748d8a47edd32ad0 SHA512 23e10a2d32eabf2cfcc898dcb0c8f98cc7c4e02a3fa83d1a5bd19c0f11251123e618f469bada2cd1fa4f028396c5fbe5751f9943b1be4448aefc2d64fea1eb18 WHIRLPOOL 3d16015765caa8f166a7b1ce8529077bca8809b5d4b66f4a29a852a8f610286ea957f87bc0f10b119083153b2412a77232214b8a428999d5522833e779338500
22 +DIST light-locker-1.7.0.tar.bz2 530315 SHA256 938baae14576e91b1fa0af963941bae6ef8d141bd83b513ff02256d8b6e79e29 SHA512 dcd524ed5bf8475743585ee5a6b35dfe396d17f307418e208450ccabc12ab6b3835818fdf11324b8c7dc63332b9faacea184409b7c9c0a242fbb9d6402a2d079 WHIRLPOOL 05d9d0762da2ddbfb6a33209b65289c26ef01cd14fbe9cab0c15718ce915e18f48e3d288b58dfddfc1de28ce821e3fa93559f52a3d7eec539f5d544ae5713a40
23
24 diff --git a/x11-misc/light-locker/light-locker-1.7.0.ebuild b/x11-misc/light-locker/light-locker-1.7.0.ebuild
25 new file mode 100644
26 index 0000000..39862cf
27 --- /dev/null
28 +++ b/x11-misc/light-locker/light-locker-1.7.0.ebuild
29 @@ -0,0 +1,65 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +
36 +inherit autotools-utils gnome2-utils
37 +
38 +DESCRIPTION="A simple locker using lightdm"
39 +HOMEPAGE="https://github.com/the-cavalry/light-locker"
40 +SRC_URI="${HOMEPAGE}/releases/download/v${PV}/${P}.tar.bz2"
41 +
42 +LICENSE="GPL-2 LGPL-2"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="+consolekit +dpms gtk3 +screensaver -systemd +upower"
46 +
47 +RDEPEND="dev-libs/dbus-glib
48 + >=dev-libs/glib-2.25.6:2
49 + >=sys-apps/dbus-0.30
50 + x11-libs/cairo
51 + x11-libs/libX11
52 + x11-libs/pango
53 + x11-libs/libXxf86vm
54 + consolekit? ( sys-auth/consolekit )
55 + dpms? ( x11-libs/libXext )
56 + !gtk3? ( >=x11-libs/gtk+-2.24:2 )
57 + gtk3? ( x11-libs/gtk+:3 )
58 + screensaver? ( x11-libs/libXScrnSaver )
59 + systemd? ( sys-apps/systemd )
60 + upower? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
61 +DEPEND="${RDEPEND}
62 + dev-lang/perl
63 + dev-perl/XML-Parser
64 + dev-util/intltool
65 + sys-devel/gettext"
66 +RDEPEND="${RDEPEND}
67 + x11-misc/lightdm"
68 +
69 +DOCS=( AUTHORS HACKING NEWS README )
70 +
71 +src_configure() {
72 + local myeconfargs=(
73 + $(use_with consolekit console-kit)
74 + $(use_with dpms dpms-ext)
75 + $(use_with !gtk3 gtk2)
76 + $(use_with screensaver x)
77 + $(use_with screensaver mit-ext)
78 + $(use_with systemd)
79 + $(use_with upower)
80 + )
81 + autotools-utils_src_configure
82 +}
83 +
84 +pkg_preinst() {
85 + gnome2_schemas_savelist
86 +}
87 +
88 +pkg_postinst() {
89 + gnome2_schemas_update
90 +}
91 +
92 +pkg_postrm() {
93 + gnome2_schemas_update
94 +}