# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/emotion/emotion-1.7.4.ebuild,v 1.2 2012/12/27 16:41:19 tommy Exp $ inherit enlightenment DESCRIPTION="video libraries for e17" SRC_URI="http://download.enlightenment.org/releases/${P}.tar.bz2" LICENSE="BSD-2" KEYWORDS="~amd64 ~x86" IUSE="gstreamer static-libs xine" DEPEND=">=media-libs/evas-1.7.0 >=media-libs/edje-1.7.0 >=dev-libs/ecore-1.7.0 >=dev-libs/eeze-1.7.0 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 MY_ECONF+=" $(use_enable doc) " if use gstreamer ; then addpredict "/root/.gconfd" addpredict "/root/.gconf" fi enlightenment_src_compile }