diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-04-06 18:18:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-04-06 18:18:04 +0100 |
commit | 70ff52c41ca27fe477bf9e3cb73ab1bbd42e9d9d (patch) | |
tree | cf69c0f6c9c3a330ec0ebb4f1ac83c54ec46b79d /x11-misc/lightdm-gtk-greeter | |
parent | db638e93835b1a83919e0f1e9be09c4e98700cb8 (diff) |
add newer lightdm-gtk-greeter
Diffstat (limited to 'x11-misc/lightdm-gtk-greeter')
-rw-r--r-- | x11-misc/lightdm-gtk-greeter/Manifest | 2 | ||||
-rw-r--r-- | x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild | 62 | ||||
-rw-r--r-- | x11-misc/lightdm-gtk-greeter/metadata.xml | 13 |
3 files changed, 77 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>hwoarang@gentoo.org</email> + <name>Markos Chandras</name> + </maintainer> + <longdescription lang="en"> +</longdescription> + <upstream> + <remote-id type="launchpad">lightdm-gtk-greeter</remote-id> + </upstream> +</pkgmetadata> |