blob: 25f48013493260ba34959be7f21ca1dbb71133b6 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/tapiocaui/tapiocaui-0.3.9.ebuild,v 1.5 2007/01/06 15:40:11 drizzt Exp $
inherit eutils
DESCRIPTION="Tapioca UI"
HOMEPAGE="http://tapioca-voip.sf.net"
SRC_URI="mirror://sourceforge/tapioca-voip/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="net-im/tapiocad
net-im/tapioca-xmpp
dev-libs/libxml2
gnome-base/gconf
gnome-base/libglade
media-libs/farsight
media-libs/gstreamer
>=media-libs/gst-plugins-base-0.10.5
>=media-libs/gst-plugins-good-0.10.2-r1
media-plugins/gst-plugins-farsight
>=dev-libs/glib-2
>=x11-libs/gtk+-2"
# Test is not ready yet, but it's ready enough to crash :]
RESTRICT="test"
pkg_setup() {
if ! built_with_use media-plugins/gst-plugins-farsight jingle ; then
eerror "In order to use tapioca core and client, you need to have"
eerror "media-plugins/gst-plugins-farsight emerged with 'jingle' flags. Please"
eerror "add that flag, re-emerge gst-plugins-farsight and then tapiocaui"
die "media-plugins/gst-plugins-farsight is missing jingle"
fi
if ! built_with_use media-libs/farsight jingle ; then
eerror "In order to use tapioca core and client, you need to have"
eerror "media-libs/farsight emerged with 'jingle' flags. Please"
eerror "add that flag, re-emerge farsight and then tapiocaui"
die "media-libs/farsight is missing jingle"
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
# Naive fix due to farsight ABI change.
epatch "${FILESDIR}/${P}-farsight.patch"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
}
pkg_postinst() {
elog "If you are using kde you need to run"
elog 'eval `dbus-launch --sh-syntax --exit-with-session`'
elog "in the same environment where you start tapiocaui later"
}
|