/[gentoo-x86]/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-1.3.1-r1.ebuild
Gentoo

Contents of /x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-1.3.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Jan 26 13:38:00 2013 UTC (20 months, 3 weeks ago) by ago
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable for arm, wrt bug #452950

(Portage version: 2.1.11.31/cvs/Linux ppc64, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-1.3.1-r1.ebuild,v 1.3 2013/01/24 22:09:31 ago Exp $
4
5 EAPI=4
6
7 DESCRIPTION="LightDM GTK+ Greeter"
8 HOMEPAGE="http://launchpad.net/lightdm-gtk-greeter"
9 SRC_URI="http://launchpad.net/lightdm-gtk-greeter/1.4/${PV}/+download/${P}.tar.gz branding? (
10 http://dev.gentoo.org/~hwoarang/distfiles/lightdm-gentoo-patch-2.tar.gz )"
11
12 LICENSE="GPL-3 LGPL-3
13 branding? ( CCPL-Attribution-3.0 )"
14 SLOT="0"
15 KEYWORDS="amd64 arm x86"
16 IUSE="branding"
17
18 DEPEND="x11-libs/gtk+:3
19 >=x11-misc/lightdm-1.2.2"
20 RDEPEND="!!<x11-misc/lightdm-1.1.1
21 x11-libs/gtk+:3
22 >=x11-misc/lightdm-1.2.2
23 x11-themes/gnome-themes-standard
24 x11-themes/gnome-icon-theme"
25
26 GENTOO_BG="gentoo-bg_65.jpg"
27
28 src_prepare() {
29 # Ok, this has to be fixed in the tarball but I am too lazy to do it.
30 # I will fix this once I decide to update the tarball with a new gentoo
31 # background
32 # Bug #404467
33 if use branding; then
34 sed -i -e "/xft-hintstyle/s:slight:hintslight:" \
35 "${WORKDIR}"/${PN}.conf || die
36 fi
37 }
38
39 src_install() {
40 default
41
42 if use branding; then
43 insinto /etc/lightdm/
44 doins "${WORKDIR}"/${PN}.conf
45 insinto /usr/share/lightdm/backgrounds/
46 doins "${WORKDIR}"/${GENTOO_BG}
47 sed -i -e \
48 "/background/s:=.*:=/usr/share/lightdm/backgrounds/${GENTOO_BG}:" \
49 "${D}"/etc/lightdm/${PN}.conf || die
50 newdoc "${WORKDIR}"/README.txt README-background.txt
51 fi
52 }

  ViewVC Help
Powered by ViewVC 1.1.20