# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="" HOMEPAGE="http://pxlib.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="gstreamer gtk" DEPEND="gstreamer? ( media-libs/gstreamer-cvs ) gtk? ( x11-libs/gtk+ ) >=dev-libs/glib-2* >=net-libs/gnet-2* >=dev-libs/libxml2-2* dev-libs/libxslt dev-util/gob sys-libs/readline" src_compile() { local myconf if use gstreamer ; then myconf="${myconf} --enable-gst=yes" else myconf="${myconf} --enable-gst=no" fi if use gtk ; then myconf="${myconf} --enable-gtk=yes" else myconf="${myconf} --enable-gtk=no" fi econf ${myconf} || die "Could not configure" emake || die "Error building ${PN}" } src_install() { make install DESTDIR=${D} }