# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/schroedinger/schroedinger-0.2.0.0.ebuild,v 1.3 2006/07/12 14:43:35 kugelfang Exp $ DESCRIPTION="C-based libraries and GStreamer plugins for the Dirac video codec" HOMEPAGE="http://schrodinger.sourceforge.net/" SRC_URI="mirror://sourceforge/schrodinger/${P}.tar.gz" LICENSE="|| ( MPL-1.1 LGPL-2.1 GPL-2 MIT )" SLOT="0" KEYWORDS="~ppc ~x86" IUSE="debug profile examples doc" RDEPEND=">=dev-libs/liboil-0.3.2 doc? ( dev-util/gtk-doc ) >=media-libs/gstreamer-0.10 >=media-libs/gst-plugins-base-0.10 profile? ( dev-util/valgrind )" DEPEND="${RDEPEND} dev-util/pkgconfig" src_compile() { econf \ $(use_enable debug) \ $(use_enable profile profiling) \ $(use_enable profile valgrind) \ $(use_enable profile gcov) \ $(use_enable examples) \ || die "econf failed" emake || die "emake failed" } src_install() { make install DESTDIR="${D}" || die "make install failed" dodoc ChangeLog }