From f68f4a2b17de046be926045ea5c255e1ca7fb7f3 Mon Sep 17 00:00:00 2001 From: René Neumann Date: Tue, 28 May 2013 17:54:44 +0200 Subject: dunst-1.0.0 --- x11-misc/dunst/dunst-1.0.0.ebuild | 46 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 x11-misc/dunst/dunst-1.0.0.ebuild (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 new file mode 100644 index 0000000..d43798a --- /dev/null +++ b/x11-misc/dunst/dunst-1.0.0.ebuild @@ -0,0 +1,46 @@ +# 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 $ + +EAPI=5 + +DESCRIPTION="customizable and lightweight notification-daemon" +HOMEPAGE="http://www.knopwob.org/dunst/" +SRC_URI="http://www.knopwob.org/public/dunst-release/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +CDEPEND=" + dev-libs/glib:2 + dev-libs/libxdg-basedir + sys-apps/dbus + x11-libs/libXScrnSaver + x11-libs/libXft + x11-libs/libXinerama + x11-libs/pango +" + +DEPEND="${CDEPEND} + dev-lang/perl + virtual/pkgconfig" +RDEPEND="${CDEPEND}" + +src_prepare() { + # Remove nasty CFLAGS which override user choice + sed -ie "/^CFLAGS/ { + s:-g:: + 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" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="/usr" install + + dodoc CHANGELOG +} -- cgit v1.2.3-54-g00ecf