From 70ff52c41ca27fe477bf9e3cb73ab1bbd42e9d9d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 6 Apr 2016 18:18:04 +0100 Subject: add newer lightdm-gtk-greeter --- x11-misc/lightdm-gtk-greeter/Manifest | 2 + .../lightdm-gtk-greeter-2.0.1-r1.ebuild | 62 ++++++++++++++++++++++ x11-misc/lightdm-gtk-greeter/metadata.xml | 13 +++++ 3 files changed, 77 insertions(+) create mode 100644 x11-misc/lightdm-gtk-greeter/Manifest create mode 100644 x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild create mode 100644 x11-misc/lightdm-gtk-greeter/metadata.xml diff --git a/x11-misc/lightdm-gtk-greeter/Manifest b/x11-misc/lightdm-gtk-greeter/Manifest new file mode 100644 index 00000000..844a9672 --- /dev/null +++ b/x11-misc/lightdm-gtk-greeter/Manifest @@ -0,0 +1,2 @@ +DIST lightdm-gentoo-patch-2.tar.gz 695543 SHA256 5733622609afa67c82e8b6bc4915d6fbbf8470604afe87c4334d418eb5834fa0 SHA512 8d9bfdee71ab1871de33e134b11bba409cc493876e5ae9534956100ff6af6c8748b29de9082ecf8b771ccac4c8c2024e15e93332165171dfe93eb99c9a834274 WHIRLPOOL cb5137a361f32c122fc7d7013f53e890c0ec1823bb78c61fbbeb03803363a2f94cfd61fba096036930d5c561452ab86bab85a9003b1afe521f8b77301c933338 +DIST lightdm-gtk-greeter-2.0.1.tar.gz 467375 SHA256 3264008c8f51323413c2a6ac16523930b75f4ecdde6da8b6fe47ec9bffd9310c SHA512 fd41cae828f7feafb462143519500d0d98a8b6729eb5ffd9be4247d47fa0074fa00ac9892c8cbdda9d7656e9d6949ae65e69911ae911269e99e80e4fefb19a08 WHIRLPOOL b726e9088dcf6e8e8d0cf06900cf6436f089af84e596079d8d0cafedb1963fd3b54a790e46b01d2fd62c70c1970d2ebbe66cb4af3fae9dda9988e09a4efe4919 diff --git a/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild new file mode 100644 index 00000000..e6ad7e90 --- /dev/null +++ b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit versionator + +DESCRIPTION="LightDM GTK+ Greeter" +HOMEPAGE="https://launchpad.net/lightdm-gtk-greeter" +SRC_URI="https://launchpad.net/lightdm-gtk-greeter/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz branding? ( +https://dev.gentoo.org/~hwoarang/distfiles/lightdm-gentoo-patch-2.tar.gz )" + +LICENSE="GPL-3 LGPL-3 + branding? ( CC-BY-3.0 )" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="ayatana branding" + +COMMON_DEPEND="ayatana? ( dev-libs/libindicator:3 ) + x11-libs/gtk+:3 + >=x11-misc/lightdm-1.2.2" + +DEPEND="${COMMON_DEPEND} + sys-devel/gettext" + +RDEPEND="${COMMON_DEPEND} + x11-themes/gnome-themes-standard + || ( >=x11-themes/adwaita-icon-theme-3.14.1 x11-themes/gnome-icon-theme )" + +GENTOO_BG="gentoo-bg_65.jpg" + +src_prepare() { + # Ok, this has to be fixed in the tarball but I am too lazy to do it. + # I will fix this once I decide to update the tarball with a new gentoo + # background + # Bug #404467 + if use branding; then + sed -i -e "/xft-hintstyle/s:slight:hintslight:" \ + "${WORKDIR}"/${PN}.conf || die + fi +} + +src_configure() { + econf --enable-kill-on-sigterm \ + $(use_enable ayatana libindicator) +} + +src_install() { + default + + if use branding; then + insinto /etc/lightdm/ + doins "${WORKDIR}"/${PN}.conf + insinto /usr/share/lightdm/backgrounds/ + doins "${WORKDIR}"/${GENTOO_BG} + sed -i -e \ + "/background/s:=.*:=/usr/share/lightdm/backgrounds/${GENTOO_BG}:" \ + "${D}"/etc/lightdm/${PN}.conf || die + newdoc "${WORKDIR}"/README.txt README-background.txt + fi +} diff --git a/x11-misc/lightdm-gtk-greeter/metadata.xml b/x11-misc/lightdm-gtk-greeter/metadata.xml new file mode 100644 index 00000000..5de13372 --- /dev/null +++ b/x11-misc/lightdm-gtk-greeter/metadata.xml @@ -0,0 +1,13 @@ + + + + + hwoarang@gentoo.org + Markos Chandras + + + + + lightdm-gtk-greeter + + -- cgit v1.2.3