summaryrefslogtreecommitdiff
path: root/x11-misc
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-04-14 23:35:03 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-04-14 23:35:03 +0300
commitf8a5f7af2d3a781693d943510bceab5f12200209 (patch)
tree4b06f97a1be1a8ec1e50f7eab38cc1d811636c11 /x11-misc
parent074ed875b74f3c34cc354b8e0deda21b55d13b6c (diff)
[x11-misc/lightdm-gtk-greeter] upgrading gtk greeter
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/lightdm-gtk-greeter/Manifest1
-rw-r--r--x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/x11-misc/lightdm-gtk-greeter/Manifest b/x11-misc/lightdm-gtk-greeter/Manifest
index 9a1f15ea..4a28f915 100644
--- a/x11-misc/lightdm-gtk-greeter/Manifest
+++ b/x11-misc/lightdm-gtk-greeter/Manifest
@@ -2,3 +2,4 @@ DIST lightdm-gtk-greeter-1.3.1.tar.gz 374479 SHA256 a384b6413a52e6c6aeaf3242b242
DIST lightdm-gtk-greeter-1.6.1.tar.gz 391175 SHA256 1f0286ab093d50151f0efc46496aef3f8ed8c7306bbc81807a3fdcbcb2a468d9 SHA512 5137deb631b669db58731a6449ba8f8709666fb7b6affac56038355aafec73041e81a9a822035de7bed0d7164d124df50387a708addde4cf094fe0a977ea154a WHIRLPOOL 9eb4cec7f04d21c3c912f8bf42ae2110ce126006a15c860b21fd66fb41bcb0a517895eba6f017587576fb03be17601614ca3798147923a1690573a1d5e35e813
DIST lightdm-gtk-greeter-1.7.0.tar.gz 398438 SHA256 3f1086091ed2d892eadcd1550e2e7e1b255814735297fbb7068cd95ac7e8044d SHA512 c6ed54f4e291255b3c8802d517f9d0749be368a762e69c1d9c40254f240d32b6858f9169423ef18f0f1cae38c9851f0af58584d8a0d85f03a9e97a5ca0b302ee WHIRLPOOL 1191cc5bfea4aa1a7eeb2daecd215c90dd1a6399c33e0014e1e1f5449b0ed04862cce8f62c3a078430056da647a34d2eb24fb227349d41e988d10b1498968de2
DIST lightdm-gtk-greeter-1.9.0.tar.gz 451297 SHA256 a9103b4aa161feae99a2a62b716a157cde3817e93cee7f73cde2796a12396938 SHA512 759a0f3c8b1fcfc8a6926276243e66675762ae533e20ea95d10e0159023e2252f5b773bdfc65dda6a6a2285e2540a578c7fd2682b108c58791feac9ec8af6885 WHIRLPOOL f4de03e81eb4568f18ccab94222375a6f4d210b7f083506b0ce6e72697a0dc4fd9ed7a867469e101dfb9b47661fb9f5c88c36298a26083175909fbd1aa3be2f4
+DIST lightdm-gtk-greeter-2.0.0.tar.gz 453687 SHA256 4c0a0121d1ec82c85c8aed4ad80ebd48ddc56d9bace31da72423bfd330c26484 SHA512 0c6b61ed09d3edf870e8b4316c6a8b2ff2656cf61ca00dfd1a9c37b87e0f4f58f5e875fd7477e36f54f32ce2304ce870ecc46325fa5aeb20d82d0d6e25b0190c WHIRLPOOL b69f8a1e48968c403a0c2532dd306dfb7d09020c20a99e1ff817c10562f9f80fefa57400d4bdcfd8ee348324e89bc1c1320a4917542a2fe914fac5f3f2692dab
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
+}