summaryrefslogtreecommitdiff
blob: b46fb19288ac7101a4d4d9bdd1201d386502e4bc (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/farsight/farsight-0.1.28.ebuild,v 1.1 2008/08/24 15:23:09 tester Exp $

DESCRIPTION="FarSight is an audio/video conferencing framework specifically designed for Instant Messengers."
HOMEPAGE="http://farsight.freedesktop.org/"
SRC_URI="http://farsight.freedesktop.org/releases/${PN}/${P}.tar.gz"
#EDARCS_REPO_URI="http://projects.collabora.co.uk/darcs/farsight/farsight"

LICENSE="LGPL-2.1"
KEYWORDS="~amd64 ~x86"
IUSE="jingle doc test"
# msn yahoo
SLOT="0"

COMMON_DEPEND="=media-libs/gstreamer-0.10*
	>=media-libs/gstreamer-0.10.13
	=media-libs/gst-plugins-base-0.10*
	>=dev-libs/glib-2.6
	dev-libs/libxml2
	jingle? ( >=net-libs/libjingle-0.3.11 )"

RDEPEND="${COMMON_DEPEND}
	>=media-plugins/gst-plugins-farsight-0.12.7
	!<net-voip/telepathy-stream-engine-0.5.0
	=media-libs/gst-plugins-good-0.10*
	=media-plugins/gst-plugins-ffmpeg-0.10*"

DEPEND="${COMMON_DEPEND}
	dev-util/pkgconfig
	doc? ( >=dev-util/gtk-doc-1.5 )
	test? ( >=dev-libs/check-0.9.4 )"

src_compile() {
	# I'm disabling clinkc because it sucks, isnt in portage
	# and I couldnt care less for upnp
	econf --enable-rtp \
		--disable-clinkc \
		$(use_enable doc) \
		$(use_enable jingle jingle-p2p) || die "econf failed"
	# Not yet ported to the new version
	# $(use_enable msn msnwebcam) \
	# $(use_enable msn msnavconf) \
	# $(use_enable yahoo yahoowebcam) \
	emake || die "emake failed"
}

src_install() {
	emake install DESTDIR="${D}" || die "emake install failed"
	dodoc AUTHORS README TODO
}