blob: 8d36a5c8dc960bac23d7835a660d6638f1f9de81 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="Canonical's on-screen-display notification agent"
HOMEPAGE="https://launchpad.net/notify-osd"
SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples mono"
RDEPEND=">=dev-libs/glib-2.16
>=dev-libs/dbus-glib-0.76
>=gnome-base/gconf-2
>=x11-libs/gtk+-2.14
>=x11-libs/libnotify-0.4.5
x11-libs/libwnck
!x11-misc/notification-daemon
!x11-misc/notification-daemon-xfce
!x11-misc/xfce4-notifyd"
DEPEND="${RDEPEND}
examples? ( mono? ( dev-dotnet/notify-sharp ) )
>=dev-util/pkgconfig-0.9"
RESTRICT="test"
src_compile() {
local myconf
if use examples ; then
if use mono ; then
myconf="${myconf} --with-examples=all"
else
myconf="${myconf} --with-examples=c"
fi
else
myconf="${myconf} --without-examples"
fi
econf ${myconf} || die
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README TODO
}
|