# 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.ebuild,v 1.1 2006/10/19 20:32:24 genstef Exp $ inherit gst-plugins10 DESCRIPTION="GStreamer plugin for Farsight" HOMEPAGE="http://projects.collabora.co.uk/darcs/farsight/gst-plugins-farsight" SRC_URI="http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz" # Create a major/minor combo for SLOT - stolen from gst-plugins-ffmpeg PVP=(${PV//[-\._]/ }) SLOT=${PVP[0]}.${PVP[1]} LICENSE="GPL-2" KEYWORDS="~amd64 ~x86" IUSE="jrtplib jpeg2k gsm jingle msn yahoo" DEPEND="=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 )" RDEPEND="${DEPEND}" src_compile() { 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() { emake install DESTDIR="${D}" || die "emake install failed" dodoc AUTHORS ChangeLog README }