blob: 20fbe668db23767bcacce80c353078d7536ff50c (
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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-farsight/gst-plugins-farsight-0.10.2_p20060521-r1.ebuild,v 1.1 2006/05/21 20:22:18 genstef Exp $
inherit gst-plugins10
DESCRIPTION="GStreamer plugin for Farsight"
HOMEPAGE="http://projects.collabora.co.uk/darcs/farsight/gst-plugins-farsight"
SRC_URI="mirror://gentoo/${P}.tar.bz2
http://dev.gentoo.org/~genstef/files/dist/${P}.tar.bz2"
# Create a major/minor combo for SLOT - stolen from gst-plugins-ffmpeg
PVP=(${PV//[-\._]/ })
SLOT=${PVP[0]}.${PVP[1]}
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE="jrtplib jpeg2k gsm jingle msn yahoo"
RDEPEND="=media-libs/gstreamer-0.10*
=media-libs/gst-plugins-base-0.10*
dev-libs/libxml2
jrtplib? ( dev-libs/jthread
>=dev-libs/jrtplib-3.5 )
jpeg2k? ( media-libs/jasper )
gsm? ( media-sound/gsm )
jingle? ( net-libs/libjingle )
msn? ( media-libs/libmimic )
yahoo? ( media-libs/libj2k )"
src_compile() {
# not defined, comment it to avoid compile problems
sed -i -e "s:GST.*LOCK://\0:" ext/jpeg2000/gstj2kdec.c
NOCONFIGURE=1 ./autogen.sh
econf \
$(use_enable jrtplib) \
$(use_enable jpeg2k jasper) \
$(use_enable gsm) \
$(use_enable jingle jingle-p2p) \
$(use_enable msn mimic) \
$(use_with yahoo libj2k) \
--disable-debug \
--with-plugins=rtpdemux,rtpjitterbuffer || die "econf failed"
emake || die "emake failed"
}
src_install() {
make install DESTDIR="${D}" || die "install failed"
dodoc AUTHORS ChangeLog NEWS README
}
|