blob: fecd3855d80be780bf15ad44edca9a8b472ec070 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/gnugadu/gnugadu-2.2.6-r1.ebuild,v 1.10 2011/10/27 06:38:39 tetromino Exp $
EAPI="1"
IUSE="debug tlen esd oss xosd jabber perl spell gnutls"
inherit eutils
MY_P="gg2-${PV}"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="GTK-based Gadu-Gadu, Tlen and Jabber IM client"
SRC_URI="mirror://sourceforge/ggadu/${MY_P}.tar.gz"
HOMEPAGE="http://gadu.gnu.pl/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc x86"
RDEPEND="net-libs/libgadu
>=x11-libs/gtk+-2.4.0:2
jabber? ( >=net-libs/loudmouth-0.17 )
xosd? ( x11-libs/xosd )
perl? ( dev-lang/perl dev-perl/XML-Parser )
esd? ( media-sound/esound )
tlen? ( net-libs/libtlen )
spell? ( app-text/gtkspell:2 )
gnutls? ( net-libs/gnutls )"
DEPEND="${RDEPEND}
sys-devel/gettext
dev-util/pkgconfig
>=sys-devel/automake-1.7
>=sys-devel/libtool-1.4"
src_unpack() {
unpack ${A}
cd "${S}"
sed -re 's#GTKSPELL_LIBS=`(.*)`#GTKSPELL_LIBS="`\1` -laspell"#g' -i configure
}
src_compile() {
myconf="--with-gui --with-gadu --with-remote --with-docklet_system_tray --with-docklet_dockapp \
--with-sms --with-update --with-external --with-gghist --with-history-external-viewer --with-external-libgadu"
econf ${myconf} \
`use_enable debug` \
`use_with oss` \
`use_with esd` \
`use_with xosd` \
--without-arts \
`use_with perl` \
`use_with tlen` \
`use_with jabber` \
`use_with spell gtkspell` \
`use_with gnutls` || die
emake || die
}
src_install () {
emake DESTDIR=${D} install || die
insinto /usr/share/applications
doins gg2.desktop
dodoc AUTHORS ChangeLog NEWS README TODO
}
|