diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2013-09-09 17:35:44 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2013-09-09 17:35:44 +0200 |
commit | 00ba4b0af0b9d7abdcebeade3ea911531b62381a (patch) | |
tree | d6f0d76c6c7cf7dadb72cea2b75c08c8f7bac3f2 /x11-misc/dunst/dunst-1.0.0.ebuild | |
parent | 1a40afe522067ebeb6ac8092ed13aad70547b92d (diff) | |
download | overlay-00ba4b0af0b9d7abdcebeade3ea911531b62381a.tar.gz overlay-00ba4b0af0b9d7abdcebeade3ea911531b62381a.tar.bz2 overlay-00ba4b0af0b9d7abdcebeade3ea911531b62381a.zip |
Dunst -- now only with epatch_user
Diffstat (limited to '')
-rw-r--r-- | x11-misc/dunst/dunst-1.0.0.ebuild | 22 |
1 files changed, 15 insertions, 7 deletions
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 } |