# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 DESCRIPTION="Provides external applications as generic loaders for Evas" HOMEPAGE="http://www.enlightenment.org/" SRC_URI="http://download.enlightenment.org/rel/libs/${PN}/${PN}-${PV/_/-}.tar.xz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="gstreamer pdf postscript raw svg" RDEPEND=" >=dev-libs/efl-1.8.1 gstreamer? ( media-libs/gstreamer:1.0 ) pdf? ( app-text/poppler:0= ) postscript? ( app-text/libspectre ) raw? ( media-libs/libraw ) svg? ( gnome-base/librsvg x11-libs/cairo )" DEPEND="${RDEPEND} app-arch/xz-utils" S="${WORKDIR}/${PN}-${PV/_/-}" src_configure() { local config=( $(use_enable gstreamer) $(use_enable gstreamer gstreamer1) $(use_enable pdf poppler) $(use_enable postscript spectre) $(use_enable raw libraw) $(use_enable svg) ) econf "${config[@]}" }