blob: fb81035c513fba7fef07cfec47b86233f581028c (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libjingle/libjingle-0.3.9.ebuild,v 1.3 2006/10/08 18:06:11 blubb Exp $
inherit autotools
DESCRIPTION="Google's jabber voice extension library modified by Tapioca"
HOMEPAGE="http://tapioca-voip.sourceforge.net/"
SRC_URI="mirror://sourceforge/tapioca-voip/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
IUSE="speex ilbc ortp"
SLOT="0"
RDEPEND="dev-libs/openssl
ortp? (
~net-libs/ortp-0.7.1
ilbc? ( dev-libs/ilbc-rfc3951 )
speex? ( media-libs/speex )
)"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_compile() {
epatch ${FILESDIR}/libjingle-build.diff
eautoreconf || die "eautoreconf failed"
econf $(use_enable ortp linphone) \
$(use_enable ortp) \
$(use_with ilbc) \
$(use_with speex) \
--disable-examples || die "econf failed"
emake || die "emake failed"
}
src_install() {
make install DESTDIR="${D}" || die "install failed"
dodoc AUTHORS ChangeLog NEWS README
}
|