summaryrefslogtreecommitdiff
blob: 8a2cd9e94defef2c3a95c2de00152546642dbd34 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/gnomemeeting/gnomemeeting-0.93.0.ebuild,v 1.1 2002/07/20 21:16:23 raker Exp $

inherit gnome2

S="${WORKDIR}/GnomeMeeting-${PV}"
SRC_URI="http://www.gnomemeeting.org/downloads/latest/sources/GnomeMeeting-${PV}.tar.gz"
HOMEPAGE="http://www.gnomemeeting.org"
DESCRIPTION="Gnome NetMeeting client"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"

RDEPEND="net-libs/openh323
	>=dev-libs/glib-2.0.3
	>=x11-libs/gtk+-2.0.5
	>=gnome-base/gconf-1.2.0
	>=sys-devel/autoconf-2.52
	>=dev-libs/pwlib-1.2.19
	>=net-nds/openldap-2.0.21
	>=dev-libs/libIDL-0.8.0
	>=net-libs/linc-0.5.0-r2
	>=gnome-base/gnome-vfs-2.0.0
	>=gnome-base/libgnomeui-2.0.0
	>=gnome-base/gnome-common-1.2.4-r3"

DEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.12.0
	>=dev-util/intltool-0.17"

src_compile() {

	cd ${S}
	export PWLIBDIR=/usr/share/pwlib
	export OPENH323DIR=/usr/share/openh323
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--with-ptlib-includes=$PWLIBDIR/include/ptlib \
		--with-ptlib-libs=/usr/lib \
		--with-openh323-includes=$OPENH323DIR/include \
		--with-openh323-libs=/usr/lib \
		--host=${CHOST} || die

	# disable arts stuff even if arts is found 
	# I can't get gnomemeeting to compile with arts support
	# This is a new "feature" of the latest version and there
	# isn't a configure option available for disabling support
	if [ "`use kde`" ] ; then
                cd ..
                patch -p0 < ${FILESDIR}/ifarts.diff
                cd ${S}
        fi
	
	#manually disable installation of schemas
	cp Makefile Makefile.orig
	sed -e "s/^install-data-local: install-schemas/install-data-local:/g" Makefile.orig > Makefile || die
	make || die
}


DOCS="AUTHORS ChangeLog COPYING README INSTALL NEWS FAQ TODO"
G2CONF="${G2CONF} --enable-platform-gnome-2"
SCHEMAS="gnomemeeting.schema"