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

Contents of /x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-1.1.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jun 27 21:19:16 2012 UTC (2 years, 5 months ago) by steev
Branch: MAIN
Changes since 1.1: +2 -2 lines
Keyword lightdm-gtk-greeter 1.1.5 ~arm, tested on an EfikaMX Smarttop (armv7)

(Portage version: 2.1.11.2/cvs/Linux x86_64)

1 # Copyright 1999-2012 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.1.5.ebuild,v 1.1 2012/04/28 14:52:26 hwoarang 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/trunk/${PV}/+download/${P}.tar.gz branding? (
10 http://dev.gentoo.org/~hwoarang/distfiles/lightdm-gentoo-patch.tar.gz )"
11
12 LICENSE="GPL-3 LGPL-3"
13 SLOT="0"
14 KEYWORDS="~amd64 ~arm ~x86"
15 IUSE="branding"
16
17 DEPEND="x11-libs/gtk+:3
18 >=x11-misc/lightdm-1.2.2"
19 RDEPEND="!!<x11-misc/lightdm-1.1.1
20 x11-libs/gtk+:3
21 >=x11-misc/lightdm-1.2.2
22 x11-themes/gnome-themes-standard
23 x11-themes/gnome-icon-theme"
24
25 src_prepare() {
26 # Ok, this has to be fixed in the tarball but I am too lazy to do it.
27 # I will fix this once I decide to update the tarball with a new gentoo
28 # background
29 # Bug #404467
30 if use branding; then
31 sed -i -e "/xft-hintstyle/s:slight:hintslight:" ${WORKDIR}/${PN}.conf || die
32 fi
33 }
34
35 src_install() {
36 default
37
38 if use branding; then
39 insinto /etc/lightdm/
40 doins "${WORKDIR}"/${PN}.conf
41 insinto /usr/share/lightdm/backgrounds/
42 doins "${WORKDIR}"/gentoo1024x768.png
43 sed -i -e "/background/s:=.*:=/usr/share/lightdm/backgrounds/gentoo1024x768.png:" \
44 "${D}"/etc/lightdm/${PN}.conf || die
45 fi
46 }

  ViewVC Help
Powered by ViewVC 1.1.20