# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils autotools ORIG_NAME=gst-pulse DESCRIPTION="a GStreamer plugin for the Pulsepaudio sound server" HOMEPAGE="http://0pointer.de/lennart/projects/${ORIG_NAME}/" SRC_URI="http://0pointer.de/lennart/projects/${ORIG_NAME}/${ORIG_NAME}-${PV}.tar.gz" # # Use this to reflect the correct path to the source files # S="${WORKDIR}/${ORIG_NAME}-${PV}" LICENSE="LGPL-2 GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" RDEPEND=" >=media-libs/gstreamer-0.10 >=media-sound/pulseaudio-0.9.2 " DEPEND="${RDEPEND} dev-util/pkgconfig doc? ( app-doc/doxygen ) " src_unpack() { unpack ${A}; cd ${S} } src_compile() { econf \ --disable-lynx emake -j1 || die "emake failed" if use doc; then emake doxygen || die "emake doxygen failed" fi } src_install() { make DESTDIR="${D}" install || die "make install failed" dohtml -r doc dodoc README doc/todo if use doc; then dohtml -r doxygen fi }