summaryrefslogtreecommitdiff
blob: 3705a56643a5291fe01867baecb8df341d5a23be (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-voip/telepathy-stream-engine/telepathy-stream-engine-0.5.2.ebuild,v 1.3 2008/10/15 19:00:33 tester Exp $

DESCRIPTION="A Telepathy client that handles channels of type 'StreamedMedia'"
HOMEPAGE="http://telepathy.freedesktop.org/"
SRC_URI="http://telepathy.freedesktop.org/releases/stream-engine/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug v4l v4l2 xv alsa esd oss gnome pulseaudio"

DEPEND=">=dev-libs/glib-2.4
	dev-libs/libxml2
	>=media-libs/farsight-0.1.27
	=media-libs/gst-plugins-base-0.10*
	>=media-libs/gstreamer-0.10.17
	>=net-libs/telepathy-glib-0.7.6
	>=dev-libs/dbus-glib-0.71
	x11-libs/libX11"

RDEPEND="${DEPEND}
	=media-plugins/gst-plugins-x-0.10*
	v4l? ( =media-plugins/gst-plugins-v4l-0.10* )
	v4l2? ( =media-plugins/gst-plugins-v4l2-0.10* )
	xv? ( =media-plugins/gst-plugins-xvideo-0.10* )
	alsa? ( =media-plugins/gst-plugins-alsa-0.10* )
	esd? ( =media-plugins/gst-plugins-esd-0.10* )
	oss? ( =media-plugins/gst-plugins-oss-0.10* )
	gnome? ( =media-plugins/gst-plugins-gconf-0.10* )
	pulseaudio? ( || (
		>=media-libs/gst-plugins-good-0.10.9
		media-plugins/gst-plugins-pulse ) )"

src_compile() {
	econf \
		$(use_enable debug backtrace) \
		|| die "econf failed"

	emake || die "emake failed"
}

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