blob: 7e3ebe5723d81e14f506851f034254077b53621e (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.13-r1.ebuild,v 1.8 2008/02/21 20:25:38 jer Exp $
inherit eutils
DESCRIPTION="pidgin-libnotify provides popups for pidgin via a libnotify interface"
HOMEPAGE="http://gaim-libnotify.sourceforge.net/"
SRC_URI="mirror://sourceforge/gaim-libnotify/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 hppa ppc x86"
IUSE="nls debug"
RDEPEND=">=x11-libs/libnotify-0.3.2
net-im/pidgin
>=x11-libs/gtk+-2"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
pkg_setup() {
if ! built_with_use net-im/pidgin gtk; then
eerror "You need to compile net-im/pidgin with USE=gtk"
die "Missing gtk USE flag on net-im/pidgin"
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/pidgin-libnotify-showbutton.patch
}
src_compile() {
local myconf
myconf="$(use_enable debug) \
$(use_enable nls)"
econf ${myconf} || die "configure failed"
emake || die "make failed"
}
src_install() {
make install DESTDIR="${D}" || die "make install failed"
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO VERSION
}
|