diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2015-04-14 23:35:03 +0300 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2015-04-14 23:35:03 +0300 |
commit | f8a5f7af2d3a781693d943510bceab5f12200209 (patch) | |
tree | 4b06f97a1be1a8ec1e50f7eab38cc1d811636c11 /x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.0.ebuild | |
parent | 074ed875b74f3c34cc354b8e0deda21b55d13b6c (diff) |
[x11-misc/lightdm-gtk-greeter] upgrading gtk greeter
Diffstat (limited to 'x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.0.ebuild')
-rw-r--r-- | x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.0.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.0.ebuild b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.0.ebuild new file mode 100644 index 00000000..0ab4a261 --- /dev/null +++ b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit versionator + +DESCRIPTION="LightDM GTK+ Greeter" +HOMEPAGE="http://launchpad.net/lightdm-gtk-greeter" +SRC_URI="http://launchpad.net/lightdm-gtk-greeter/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-3 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="" + +# This ebuild needs custom Sabayon themes, thus it must depend on sabayon-artwork-core +DEPEND="x11-libs/gtk+:3" +RDEPEND="!!<x11-misc/lightdm-1.1.1 + app-eselect/eselect-lightdm + x11-libs/gtk+:3 + >=x11-misc/lightdm-1.2.2 + x11-themes/gnome-themes-standard + x11-themes/gnome-icon-theme + x11-themes/sabayon-artwork-core" + +src_prepare() { + # Apply custom Sabayon theme + sed -i \ + -e 's:#background=.*:background=/usr/share/backgrounds/kgdm.png:' \ + -e 's:#xft-hintstyle=.*:xft-hintstyle=hintfull:' \ + -e 's:#xft-antialias=.*:xft-antialias=true:' \ + -e 's:#xft-rgba=.*:xft-rgba=rgb:' "data/${PN}.conf" || die +} + +pkg_postinst() { + # Make sure to have a greeter properly configured + eselect lightdm set lightdm-gtk-greeter --use-old +} + +pkg_postrm() { + eselect lightdm set 1 # hope some other greeter is installed +} |