blob: 3a1e8c0778dd5ac5a5f713e3573c21abd807f905 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
DESCRIPTION="Pidgin plugin for adding Xfire accounts and connecting to the Xfire network"
HOMEPAGE="http://gfireproject.org/"
SRC_URI="mirror://sourceforge/gfire/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug kmess-status libnotify nls"
RDEPEND="
net-im/pidgin[gtk]
x11-libs/gtk+:2
kmess-status? ( dev-libs/dbus-glib )
libnotify? ( x11-libs/libnotify )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
nls? ( sys-devel/gettext )"
src_configure() {
# Note: Enabling dbus-status *only* publishes your
# status to net-im/kmess; it does nothing else.
econf \
--enable-gtk \
$(use_enable kmess-status dbus-status) \
$(use_enable libnotify) \
$(use_enable debug) \
$(use_enable nls)
}
src_install() {
emake install DESTDIR="${D}" || die "emake install failed"
dodoc AUTHORS README ChangeLog || die "dodoc failed"
}
pkg_postinst() {
elog "Please note that unlike other Pidgin plugins, the Gfire plugin"
elog "needs Pidgin to be restarted before it is activated."
}
|