1 |
commit: f74630a2108a8c4a23697cad71135668b98dcc09 |
2 |
Author: Markos Chandras <hwoarang <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 3 21:21:45 2015 +0000 |
4 |
Commit: Markos Chandras <hwoarang <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 3 21:27:43 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f74630a2 |
7 |
|
8 |
x11-misc/lightdm-gtk-greeter: Fixes bug #566330 and #566298 |
9 |
|
10 |
- Add missing libindicator dependency (#566330) |
11 |
- configure with --enable-kill-on-sigterm to handle SIGTERM |
12 |
with gtk+-3.16 (#566298) |
13 |
|
14 |
Package-Manager: portage-2.2.26 |
15 |
|
16 |
.../lightdm-gtk-greeter-2.0.1-r1.ebuild | 62 ++++++++++++++++++++++ |
17 |
1 file changed, 62 insertions(+) |
18 |
|
19 |
diff --git a/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild |
20 |
new file mode 100644 |
21 |
index 0000000..605afb1 |
22 |
--- /dev/null |
23 |
+++ b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild |
24 |
@@ -0,0 +1,62 @@ |
25 |
+# Copyright 1999-2015 Gentoo Foundation |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+# $Id$ |
28 |
+ |
29 |
+EAPI=4 |
30 |
+ |
31 |
+inherit versionator |
32 |
+ |
33 |
+DESCRIPTION="LightDM GTK+ Greeter" |
34 |
+HOMEPAGE="https://launchpad.net/lightdm-gtk-greeter" |
35 |
+SRC_URI="https://launchpad.net/lightdm-gtk-greeter/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz branding? ( |
36 |
+https://dev.gentoo.org/~hwoarang/distfiles/lightdm-gentoo-patch-2.tar.gz )" |
37 |
+ |
38 |
+LICENSE="GPL-3 LGPL-3 |
39 |
+ branding? ( CC-BY-3.0 )" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" |
42 |
+IUSE="ayatana branding" |
43 |
+ |
44 |
+COMMON_DEPEND="ayatana? ( dev-libs/libindicator:3 ) |
45 |
+ x11-libs/gtk+:3 |
46 |
+ >=x11-misc/lightdm-1.2.2" |
47 |
+ |
48 |
+DEPEND="${COMMON_DEPEND} |
49 |
+ sys-devel/gettext" |
50 |
+ |
51 |
+RDEPEND="${COMMON_DEPEND} |
52 |
+ x11-themes/gnome-themes-standard |
53 |
+ || ( >=x11-themes/adwaita-icon-theme-3.14.1 x11-themes/gnome-icon-theme )" |
54 |
+ |
55 |
+GENTOO_BG="gentoo-bg_65.jpg" |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ # Ok, this has to be fixed in the tarball but I am too lazy to do it. |
59 |
+ # I will fix this once I decide to update the tarball with a new gentoo |
60 |
+ # background |
61 |
+ # Bug #404467 |
62 |
+ if use branding; then |
63 |
+ sed -i -e "/xft-hintstyle/s:slight:hintslight:" \ |
64 |
+ "${WORKDIR}"/${PN}.conf || die |
65 |
+ fi |
66 |
+} |
67 |
+ |
68 |
+src_configure() { |
69 |
+ econf --enable-kill-on-sigterm \ |
70 |
+ $(use_enable ayatana libindicator) |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ default |
75 |
+ |
76 |
+ if use branding; then |
77 |
+ insinto /etc/lightdm/ |
78 |
+ doins "${WORKDIR}"/${PN}.conf |
79 |
+ insinto /usr/share/lightdm/backgrounds/ |
80 |
+ doins "${WORKDIR}"/${GENTOO_BG} |
81 |
+ sed -i -e \ |
82 |
+ "/background/s:=.*:=/usr/share/lightdm/backgrounds/${GENTOO_BG}:" \ |
83 |
+ "${D}"/etc/lightdm/${PN}.conf || die |
84 |
+ newdoc "${WORKDIR}"/README.txt README-background.txt |
85 |
+ fi |
86 |
+} |