From f15aaae6b310a323d35cd015aeaacefa62bfbf7f Mon Sep 17 00:00:00 2001 From: bionel Date: Tue, 25 Aug 2015 21:28:15 +0300 Subject: more lightdm pimping new file: x11-misc/lightdm-gtk-greeter/files/kogaion-logo.png new file: x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.0-r2.ebuild Not manifested!!! --- .../lightdm-gtk-greeter/files/kogaion-logo.png | Bin 0 -> 3298 bytes .../lightdm-gtk-greeter-2.0.0-r2.ebuild | 48 +++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 x11-misc/lightdm-gtk-greeter/files/kogaion-logo.png create mode 100644 x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.0-r2.ebuild (limited to 'x11-misc/lightdm-gtk-greeter') diff --git a/x11-misc/lightdm-gtk-greeter/files/kogaion-logo.png b/x11-misc/lightdm-gtk-greeter/files/kogaion-logo.png new file mode 100644 index 00000000..252683cd Binary files /dev/null and b/x11-misc/lightdm-gtk-greeter/files/kogaion-logo.png differ diff --git a/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.0-r2.ebuild b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.0-r2.ebuild new file mode 100644 index 00000000..7814016f --- /dev/null +++ b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.0-r2.ebuild @@ -0,0 +1,48 @@ +# 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 Kogaion themes, thus it must depend on kogaion-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/kogaion-artwork-core" + +src_prepare() { + # Apply custom Kogaion settings + 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:#position=.*:position=5% 50%:' \ + -e 's:#xft-rgba=.*:xft-rgba=rgb:' "data/${PN}.conf" || die + insinto /usr/share/pixmaps + doins "${FILESDIR}/kogaion-logo.png" + echo 'default-user-image=/usr/share/pixmaps/kogaion-logo.png' | tee -a /etc/lightdm/lightdm-gtk-greeter.conf +} + +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