diff options
Diffstat (limited to 'media-plugins/evas_generic_loaders/evas_generic_loaders-9999.ebuild')
-rw-r--r-- | media-plugins/evas_generic_loaders/evas_generic_loaders-9999.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/media-plugins/evas_generic_loaders/evas_generic_loaders-9999.ebuild b/media-plugins/evas_generic_loaders/evas_generic_loaders-9999.ebuild new file mode 100644 index 000000000000..e40192ba49f1 --- /dev/null +++ b/media-plugins/evas_generic_loaders/evas_generic_loaders-9999.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +MY_P=${PN}-${PV/_/-} + +if [[ "${PV}" == "9999" ]] ; then + EGIT_SUB_PROJECT="core" + EGIT_URI_APPEND="${PN}" +else + SRC_URI="http://download.enlightenment.org/rel/libs/${PN}/${MY_P}.tar.xz" + EKEY_STATE="snap" +fi + +inherit enlightenment + +DESCRIPTION="Provides external applications as generic loaders for Evas" +HOMEPAGE="http://www.enlightenment.org/" + +LICENSE="GPL-2" +IUSE="gstreamer pdf postscript raw svg" + +RDEPEND=">=dev-libs/efl-${PV} + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + ) + pdf? ( app-text/poppler ) + postscript? ( app-text/libspectre ) + raw? ( media-libs/libraw ) + svg? ( + gnome-base/librsvg + x11-libs/cairo + )" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_configure() { + E_ECONF=( + $(use_enable gstreamer gstreamer1) + $(use_enable pdf poppler) + $(use_enable postscript spectre) + $(use_enable raw libraw) + $(use_enable svg) + + --disable-gstreamer + ) + + enlightenment_src_configure +} |