From 00ba4b0af0b9d7abdcebeade3ea911531b62381a Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Mon, 9 Sep 2013 17:35:44 +0200 Subject: Dunst -- now only with epatch_user --- x11-misc/dunst/dunst-1.0.0.ebuild | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'x11-misc/dunst/dunst-1.0.0.ebuild') diff --git a/x11-misc/dunst/dunst-1.0.0.ebuild b/x11-misc/dunst/dunst-1.0.0.ebuild index 721b31b..a4dfca3 100644 --- a/x11-misc/dunst/dunst-1.0.0.ebuild +++ b/x11-misc/dunst/dunst-1.0.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/dunst/dunst-0.5.0.ebuild,v 1.1 2013/02/22 14:12:34 wired Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dunst/dunst-1.0.0.ebuild,v 1.3 2013/06/16 16:11:18 wired Exp $ EAPI=5 @@ -13,7 +13,7 @@ SRC_URI="http://www.knopwob.org/public/dunst-release/${P}.tar.bz2" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="dunstify" CDEPEND=" dev-libs/glib:2 @@ -22,12 +22,15 @@ CDEPEND=" x11-libs/libXScrnSaver x11-libs/libXft x11-libs/libXinerama - x11-libs/pango + x11-libs/cairo[X,glib] + x11-libs/pango[X] + dunstify? ( x11-libs/libnotify ) " DEPEND="${CDEPEND} dev-lang/perl virtual/pkgconfig" + RDEPEND="${CDEPEND}" src_prepare() { @@ -37,15 +40,20 @@ src_prepare() { s:-O.:: }" config.mk || die "sed failed" - # don't build dunstify: it pulls in deps but is not being installed - sed -ie "/^all:/ s:dunstify::" Makefile || die "sed failed" + if ! use dunstify; then + # don't build dunstify: it pulls in deps but is not being installed + sed -ie "/^all:/ s:dunstify::" Makefile || die "sed failed" + fi - epatch "${FILESDIR}"/dunst-1.0.0-numlock.patch - epatch "${FILESDIR}"/dunst-1.0.0-fix-pause-resume.patch + epatch_user } src_install() { emake DESTDIR="${D}" PREFIX="/usr" install + if use dunstify; then + dobin dunstify + fi + dodoc CHANGELOG } -- cgit v1.2.3-70-g09d2