blob: 6d9c659d48ca7fecf243293859066d3e248f6375 (
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
|
# Copyright 1999-2009 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.12.9.ebuild,v 1.3 2009/01/07 21:50:22 armin76 Exp $
inherit gst-plugins10
DESCRIPTION="GStreamer plugin for Farsight"
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/gst-plugins-farsight"
GST_MAJOR=0.10
SLOT=${GST_MAJOR}
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ia64 ~sparc ~x86"
IUSE="jpeg2k gsm jingle msn yahoo"
DEPEND=">=media-libs/gstreamer-0.10.13
>=media-libs/gst-plugins-base-0.10.13
dev-libs/libxml2
jpeg2k? ( media-libs/jasper )
gsm? ( media-sound/gsm )
jingle? ( net-libs/libjingle )
msn? ( media-libs/libmimic )
yahoo? ( media-libs/libj2k )"
src_compile() {
econf \
--enable-g729 \
--disable-jrtplib \
$(use_enable jpeg2k jasper) \
$(use_enable gsm) \
$(use_enable jingle jingle-p2p) \
$(use_enable msn mimic) \
$(use_with yahoo libj2k) || die "econf failed"
emake || die "emake failed"
}
src_install() {
emake install DESTDIR="${D}" || die "emake install failed"
dodoc AUTHORS ChangeLog README
rm -f "${D}/usr/lib*/*gstreamer*/*jpeg2k*"
}
|