# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/emotion/emotion-9999.ebuild,v 1.6 2006/02/14 00:32:25 vapier Exp $ EGIT_SUB_PROJECT="legacy" EGIT_URI_APPEND=${PN} EGIT_BRANCH=${PN}-1.7 inherit enlightenment DESCRIPTION="video libraries for e17" IUSE="gstreamer static-libs xine" DEPEND=">=media-libs/evas-9999 >=media-libs/edje-9999 >=dev-libs/ecore-9999 >=dev-libs/eeze-9999 xine? ( >=media-libs/xine-lib-1.1.1 ) !gstreamer? ( !xine? ( >=media-libs/xine-lib-1.1.1 ) ) gstreamer? ( =media-libs/gstreamer-0.10* =media-libs/gst-plugins-good-0.10* =media-plugins/gst-plugins-ffmpeg-0.10* )" RDEPEND=${DEPEND} src_compile() { if ! use xine && ! use gstreamer ; then export MY_ECONF="--enable-xine --disable-gstreamer" else export MY_ECONF=" $(use_enable xine) \ $(use_enable gstreamer) \ " fi if use gstreamer ; then addpredict "/root/.gconfd" addpredict "/root/.gconf" fi enlightenment_src_compile }