blob: fecc071d952e6ecadd756448d833d53b8f3abdc4 (
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
71
72
73
74
75
76
77
78
79
80
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/gnomemeeting/gnomemeeting-1.0.2.ebuild,v 1.3 2004/05/09 14:17:03 dholm Exp $
inherit gnome2 eutils
DESCRIPTION="Gnome NetMeeting client"
HOMEPAGE="http://www.gnomemeeting.org"
# now part of gnome-2.4
SRC_URI="http://www.gnomemeeting.org/includes/clicks_counter.php?http://www.gnomemeeting.org/admin/downloads/latest/sources/sources/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc"
IUSE="sdl ssl ipv6"
RDEPEND=">=dev-libs/pwlib-1.6.6
>=net-libs/openh323-1.13.5
>=net-nds/openldap-2.0.25
ssl? ( >=dev-libs/openssl-0.9.6g )
sdl? ( >=media-libs/libsdl-1.2.4 )
>=gnome-base/libbonoboui-2.0
>=gnome-base/libbonobo-2.0
>=gnome-base/libgnomeui-2.0
>=gnome-base/libgnome-2.0
>=net-libs/linc-0.5.0
>=x11-libs/gtk+-2.0.0
>=dev-libs/glib-2.0.0
>=gnome-base/gconf-2.0
>=dev-libs/libxml2-2.6.1
>=media-sound/esound-0.2.28
>=gnome-base/ORBit2-2.5.0"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.12.0
>=dev-util/intltool-0.20
dev-lang/perl
app-text/scrollkeeper"
MAKEOPTS="${MAKEOPTS} -j1"
src_unpack() {
unpack ${A}
cd ${S}
# configure accepts pwlib-1.6.5 and openh323-1.13.4 only,
# but later versions should work too
epatch ${FILESDIR}/${P}-configure.diff
}
src_compile() {
local myconf
myconf="${myconf} --with-ptlib-includes=/usr/include/ptlib"
myconf="${myconf} --with-ptlib-libs=/usr/lib"
myconf="${myconf} --with-openh323-includes=/usr/include/openh323"
myconf="${myconf} --with-openh323-libs=/usr/lib"
if [ -n "`use ssl`" ]; then
myconf="${myconf} --with-openssl-libs=/usr/lib"
myconf="${myconf} --with-openssl-includes=/usr/include/openssl"
fi
use sdl \
&& myconf="${myconf} --with-sdl-prefix=/usr" \
|| myconf="${myconf} --disable-sdltest"
use ipv6 \
&& myconf="${myconf} --enable-ipv6" \
|| myconf="${myconf} --disable-ipv6"
econf \
--prefix=/usr \
--host=${CHOST} \
${myconf} || die "configure failed"
emake || die
}
DOCS="AUTHORS ChangeLog COPYING README INSTALL NEWS FAQ TODO"
|