blob: 5def72d832ccf64756a9b1bcf8d4ba37cdbcd835 (
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
66
67
68
69
70
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/net-im/gaim/gaim-0.58-r1.ebuild,v 1.1 2002/05/17 04:45:51 blocke Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Gtk Instant Messenger client"
SRC_URI1="http://unc.dl.sourceforge.net/sourceforge/gaim/${P}.tar.bz2"
SRC_URI2="http://telia.dl.sourceforge.net/sourceforge/gaim/${P}.tar.bz2"
SRC_URI3="http://belnet.dl.sourceforge.net/sourceforge/gaim/${P}.tar.bz2"
SRC_URI="${SRC_URI1} ${SRC_URI2} ${SRC_URI3}"
HOMEPAGE="http://gaim.sourceforge.net"
LICENSE="GPL-2"
SLOT="0"
DEPEND=">=x11-libs/gtk+-1.2.10-r4
=sys-libs/db-1*
esd? ( >=media-sound/esound-0.2.22-r2 )
nls? ( sys-devel/gettext )
nas? ( >=media-libs/nas-1.4.1-r1 )
arts? ( >=kde-base/arts-0.9.5 )
perl? ( >=sys-devel/perl-5.6.1 )
gnome? ( >=gnome-base/gnome-core-1.4
>=media-libs/gdk-pixbuf-0.16.0 )"
RDEPEND="${DEPEND}"
src_compile() {
local myopts gnomeopts
use esd || myopts="--disable-esd"
use nas || myopts="${myopts} --disable-nas"
use perl || myopts="${myopts} --disable-perl"
use arts || myopts="${myopts} --disable-artsc"
use arts && KDEDIR="${KDE3DIR}"
use nls || myopts="${myopts} --disable-nls"
gnomeopts="${myopts}"
myopts="${myopts} --disable-gnome"
# always build standalone gaim program
econf ${myopts} || die
emake || die
# if gnome support is enabled, then build gaim_applet
use gnome && ( \
gnomeopts="${gnomeopts} --with-gnome=${GNOME_PATH} --enable-panel"
# save appletless version and clean up
cp src/gaim ${S}/gaim || die "standalone version failed to build"
make distclean || die
econf ${gnomeopts} || die
emake || die
)
}
src_install () {
make DESTDIR=${D} install || die
# if gnome enabled, make sure to install standalone version also
use gnome && dobin ${S}/gaim
dodoc ABOUT-NLS AUTHORS HACKING INSTALL NEWS README TODO
}
|