From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 936221384B4 for ; Thu, 3 Dec 2015 21:44:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B170D21C016; Thu, 3 Dec 2015 21:44:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4A1BC21C016 for ; Thu, 3 Dec 2015 21:44:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AB583340A22 for ; Thu, 3 Dec 2015 21:44:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E752B99E for ; Thu, 3 Dec 2015 21:44:28 +0000 (UTC) From: "Markos Chandras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Markos Chandras" Message-ID: <1449178063.f74630a2108a8c4a23697cad71135668b98dcc09.hwoarang@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/lightdm-gtk-greeter/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/lightdm-gtk-greeter/lightdm-gtk-greeter-2.0.1-r1.ebuild X-VCS-Directories: x11-misc/lightdm-gtk-greeter/ X-VCS-Committer: hwoarang X-VCS-Committer-Name: Markos Chandras X-VCS-Revision: f74630a2108a8c4a23697cad71135668b98dcc09 X-VCS-Branch: master Date: Thu, 3 Dec 2015 21:44:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1ae837f3-6179-429f-ab04-5a46aa812924 X-Archives-Hash: c6af72330b40af9b6d50993718df8aa6 commit: f74630a2108a8c4a23697cad71135668b98dcc09 Author: Markos Chandras gentoo org> AuthorDate: Thu Dec 3 21:21:45 2015 +0000 Commit: Markos Chandras gentoo org> CommitDate: Thu Dec 3 21:27:43 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f74630a2 x11-misc/lightdm-gtk-greeter: Fixes bug #566330 and #566298 - Add missing libindicator dependency (#566330) - configure with --enable-kill-on-sigterm to handle SIGTERM with gtk+-3.16 (#566298) Package-Manager: portage-2.2.26 .../lightdm-gtk-greeter-2.0.1-r1.ebuild | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) 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 0000000..605afb1 --- /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 ~arm ~arm64 ~ppc ~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 +}