summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-09-30 03:06:38 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-09-30 03:07:43 +0200
commitdc47b3544f867f2b2944b81087bdf6f131ca3fa5 (patch)
tree07439be555b32bcc208981a41ddb93126505a29a /x11-misc
parentsys-apps/util-linux: Removed old. (diff)
downloadgentoo-dc47b3544f867f2b2944b81087bdf6f131ca3fa5.tar.gz
gentoo-dc47b3544f867f2b2944b81087bdf6f131ca3fa5.tar.bz2
gentoo-dc47b3544f867f2b2944b81087bdf6f131ca3fa5.zip
x11-misc/lightdm-gtk-greeter: Bump to version 2.0.3
Package-Manager: Portage-2.3.10, Repoman-2.3.3
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.3.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/x11-misc/lightdm-gtk-greeter/Manifest b/x11-misc/lightdm-gtk-greeter/Manifest
index 859578b4bb4f..02c0264b84e0 100644
--- a/x11-misc/lightdm-gtk-greeter/Manifest
+++ b/x11-misc/lightdm-gtk-greeter/Manifest
@@ -1,3 +1,4 @@
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
DIST lightdm-gtk-greeter-2.0.2.tar.gz 487825 SHA256 8ee6d93d1d6837b3590f64ac4d5bac5db888a8861dff1cb2ef10f7816ad36690 SHA512 6a9b62d3eb94a223df30c0e7ef577645482e63f9ac9cce6466518bb7eabfca3915dba8dbe66dee7456a1f11f81869dc8685b98828b11ae0dd67aa021a9a1d6db WHIRLPOOL 406121b57bf8731b1a61a91f6696b9e68d6da178ca098d7778dc0bf29b183a4a3d0463658e1c04d03d28e31750eadf9b4acb054e6fc733d60508d314d8f1a579
+DIST lightdm-gtk-greeter-2.0.3.tar.gz 490512 SHA256 3db39542cffd54d84c2e1632c1a1668f4f63d8596a6d8fd9fd1649fc7d15db30 SHA512 bd5b18890cf0190faab0e6a2bffab67be359e99f45fda0be7eecded146d2518a4efc0fd4fd29970076246bb989f626dd750cb14b22ddf6188b2be5f113bff3b0 WHIRLPOOL b47d68e30111209725ea3dc3fb6b8225e8ee0f50da11d9124af99c2086dd942b96a77654f0e90dac271163be45af73019fd61fa8469314e3babea49fc24d95c1
diff --git a/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.3.ebuild b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.3.ebuild
new file mode 100644
index 000000000000..913dc8689930
--- /dev/null
+++ b/x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.3.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="ayatana branding"
+
+COMMON_DEPEND="ayatana? ( dev-libs/libindicator:3 )
+ x11-libs/gtk+:3
+ >=x11-misc/lightdm-1.2.2"
+
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ xfce-base/exo"
+
+RDEPEND="${COMMON_DEPEND}
+ x11-themes/gnome-themes-standard
+ >=x11-themes/adwaita-icon-theme-3.14.1"
+
+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
+ default
+}
+
+src_configure() {
+ local myeconfargs=(
+ --enable-kill-on-sigterm
+ --enable-at-spi-command="${EPREFIX}/usr/libexec/at-spi-bus-launcher --launch-immediately"
+ $(use_enable ayatana libindicator)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+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
+}