From f8a5f7af2d3a781693d943510bceab5f12200209 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Tue, 14 Apr 2015 23:35:03 +0300 Subject: [x11-misc/lightdm-gtk-greeter] upgrading gtk greeter --- .../lightdm-gtk-greeter-2.0.0.ebuild | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.0.ebuild (limited to 'x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.0.ebuild') 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.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 +} -- cgit v1.2.3 From 55b682a9d635ce342afd683dfa8fc78f8f6d3c66 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sat, 18 Apr 2015 16:46:56 +0300 Subject: [x11-misc/lightdm-gtk-greeter] different artwork core --- x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.0.ebuild') 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 index 0ab4a261..4ddf85d7 100644 --- 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 @@ -15,7 +15,7 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~x86" IUSE="" -# This ebuild needs custom Sabayon themes, thus it must depend on sabayon-artwork-core +# This ebuild needs custom Sabayon themes, thus it must depend on kogaion-artwork-core DEPEND="x11-libs/gtk+:3" RDEPEND="!!