blob: 721b31b7576209e94a64f82e3f82540b8b9a064f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# 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
inherit eutils
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"
epatch "${FILESDIR}"/dunst-1.0.0-numlock.patch
epatch "${FILESDIR}"/dunst-1.0.0-fix-pause-resume.patch
}
src_install() {
emake DESTDIR="${D}" PREFIX="/usr" install
dodoc CHANGELOG
}
|