diff options
author | Thomas Sachau <tommy@gentoo.org> | 2013-11-30 14:06:36 +0000 |
---|---|---|
committer | Thomas Sachau <tommy@gentoo.org> | 2013-11-30 14:06:36 +0000 |
commit | fca8ecf1422a1b0e0640faf49bb9635275c20c72 (patch) | |
tree | 62b199194cc7407aed6d513fb6f4f2079a9ae03c /dev-libs | |
parent | Add pre-release (diff) | |
download | enlightenment-fca8ecf1422a1b0e0640faf49bb9635275c20c72.tar.gz enlightenment-fca8ecf1422a1b0e0640faf49bb9635275c20c72.tar.bz2 enlightenment-fca8ecf1422a1b0e0640faf49bb9635275c20c72.zip |
Add live ebuild
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/efl/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/efl/efl-1.8.0_beta2.ebuild | 13 | ||||
-rw-r--r-- | dev-libs/efl/efl-9999.ebuild | 252 |
3 files changed, 268 insertions, 3 deletions
diff --git a/dev-libs/efl/ChangeLog b/dev-libs/efl/ChangeLog index 3f89e62..7e24aab 100644 --- a/dev-libs/efl/ChangeLog +++ b/dev-libs/efl/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*efl-9999 (30 Nov 2013) + + 30 Nov 2013; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> + efl-1.8.0_beta2.ebuild, +efl-9999.ebuild: + Add live ebuild + *efl-1.8.0_beta2 (30 Nov 2013) 30 Nov 2013; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> diff --git a/dev-libs/efl/efl-1.8.0_beta2.ebuild b/dev-libs/efl/efl-1.8.0_beta2.ebuild index 63ab167..3e10815 100644 --- a/dev-libs/efl/efl-1.8.0_beta2.ebuild +++ b/dev-libs/efl/efl-1.8.0_beta2.ebuild @@ -4,12 +4,19 @@ EAPI="5" -inherit enlightenment - MY_P=${P/_/-} +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.bz2" + EKEY_STATE="snap" +fi + +inherit enlightenment + DESCRIPTION="Enlightenment Foundation Libraries all-in-one package" -SRC_URI="http://download.enlightenment.org/rel/libs/${PN}/${MY_P}.tar.bz2" LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB" KEYWORDS="~amd64 ~x86" diff --git a/dev-libs/efl/efl-9999.ebuild b/dev-libs/efl/efl-9999.ebuild new file mode 100644 index 0000000..3e10815 --- /dev/null +++ b/dev-libs/efl/efl-9999.ebuild @@ -0,0 +1,252 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +MY_P=${P/_/-} + +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.bz2" + EKEY_STATE="snap" +fi + +inherit enlightenment + +DESCRIPTION="Enlightenment Foundation Libraries all-in-one package" + +LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB" +KEYWORDS="~amd64 ~x86" + +IUSE="audio +bmp debug drm +eet egl fbcon +fontconfig fribidi gif gles glib gnutls gstreamer harfbuzz +ico ibus jp2k +jpeg opengl ssl physics pixman +png +ppm +psd pulseaudio scim sdl systemd tga tiff tslib v4l2 wayland webp X xcb xim xine xpm" + +REQUIRED_USE=" + X? ( !xcb ) + pulseaudio? ( audio ) + opengl? ( || ( X xcb sdl wayland ) ) + gles? ( || ( X xcb sdl wayland ) ) + gles? ( egl ) + xcb? ( pixman ) + sdl? ( || ( opengl gles ) ) + wayland? ( egl || ( opengl gles ) ) + xim? ( || ( X xcb ) ) +" + +RDEPEND=" + audio? ( media-libs/libsndfile ) + debug? ( dev-util/valgrind ) + fontconfig? ( media-libs/fontconfig ) + fribidi? ( dev-libs/fribidi ) + gif? ( media-libs/giflib ) + glib? ( dev-libs/glib ) + gnutls? ( net-libs/gnutls ) + !gnutls? ( ssl? ( dev-libs/openssl ) ) + gstreamer? ( + =media-libs/gstreamer-0.10* + =media-libs/gst-plugins-good-0.10* + =media-plugins/gst-plugins-ffmpeg-0.10* + ) + harfbuzz? ( media-libs/harfbuzz ) + ibus? ( app-i18n/ibus ) + jp2k? ( media-libs/openjpeg ) + jpeg? ( virtual/jpeg ) + physics? ( sci-physics/bullet ) + pixman? ( x11-libs/pixman ) + png? ( media-libs/libpng:0= ) + pulseaudio? ( media-sound/pulseaudio ) + scim? ( app-i18n/scim ) + sdl? ( + media-libs/libsdl + virtual/opengl + ) + systemd? ( sys-apps/systemd ) + tiff? ( media-libs/tiff ) + tslib? ( x11-libs/tslib ) + wayland? ( >=dev-libs/wayland-1.2.0 >=x11-libs/libxkbcommon-0.3.1 ) + webp? ( media-libs/libwebp ) + X? ( + x11-libs/libXcursor + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXinerama + x11-libs/libXp + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libXScrnSaver + + opengl? ( + x11-libs/libX11 + x11-libs/libXrender + virtual/opengl + ) + + gles? ( + x11-libs/libX11 + x11-libs/libXrender + virtual/opengl + ) + ) + xcb? ( + x11-libs/libxcb + + opengl? ( + x11-libs/libX11 + x11-libs/libXrender + virtual/opengl + x11-libs/xcb-util-renderutil + ) + + gles? ( + x11-libs/libX11 + x11-libs/libXrender + virtual/opengl + x11-libs/xcb-util-renderutil + ) + ) + xine? ( >=media-libs/xine-lib-1.1.1 ) + xpm? ( x11-libs/libXpm ) + + dev-lang/lua + sys-apps/dbus + >=sys-apps/util-linux-2.20.0 + sys-libs/zlib +" + +CORE_EFL_CONFLICTS=" + !dev-libs/ecore + !dev-libs/edbus + !dev-libs/eet + !dev-libs/eeze + !dev-libs/efreet + !dev-libs/eina + !dev-libs/eio + !dev-libs/embryo + !dev-libs/eobj + !dev-libs/ephysics + !media-libs/edje + !media-libs/emotion + !media-libs/ethumb + !media-libs/evas +" + +DEPEND=" + ${CORE_EFL_CONFLICTS} + + ${RDEPEND} + doc? ( app-doc/doxygen ) +" + +S=${WORKDIR}/${MY_P} + +src_configure() { + use ssl && use gnutls && { + einfo "You enabled both USEssl and USE=gnutls, but only one can be used" + einfo "gnutls has been selected for you" + } + use opengl && use gles && { + einfo "You enabled both USE=opengl and USE=gles, but only one can be used" + einfo "opengl has been selected for you" + } + + local profile="release" + + use debug && profile="debug" + + local crypto="none" + + use gnutls && crypto="gnutls" + use ssl && crypto="openssl" + + local x11="none" + local enable_graphics="" + + use X && x11="xlib" + use xcb && x11="xcb" + + local MY_ECONF + ( use X || use xcb ) && MY_ECONF+=" --with-x" + + local opengl="none" + + use gles && opengl="es" + use opengl && opengl="full" + + local glib="no" + + use glib && glib="yes" + + MY_ECONF+=" + --with-profile=${profile} + --with-crypto=${crypto} + --with-x11=${x11} + --with-opengl=${opengl} + --with-glib=${glib} + + $(use_enable audio) + $(use_enable bmp image-loader-bmp) + $(use_enable bmp image-loader-wbmp) + $(use_enable drm) + $(use_enable doc) + $(use_enable eet image-loader-eet) + $(use_enable egl) + $(use_enable fbcon fb) + $(use_enable fontconfig) + $(use_enable fribidi) + $(use_enable gif image-loader-gif) + $(use_enable gstreamer) + $(use_enable harfbuzz) + $(use_enable ico image-loader-ico) + $(use_enable ibus) + $(use_enable jp2k image-loader-jp2k) + $(use_enable jpeg image-loader-jpeg) + $(use_enable nls) + $(use_enable physics) + $(use_enable pixman) + $(use_enable pixman pixman-font) + $(use_enable pixman pixman-rect) + $(use_enable pixman pixman-line) + $(use_enable pixman pixman-poly) + $(use_enable pixman pixman-image) + $(use_enable pixman pixman-image-scale-sample) + $(use_enable png image-loader-png) + $(use_enable ppm image-loader-pmaps) + $(use_enable psd image-loader-psd) + $(use_enable pulseaudio) + $(use_enable scim) + $(use_enable sdl) + $(use_enable systemd) + $(use_enable tga image-loader-tga) + $(use_enable tiff image-loader-tiff) + $(use_enable tslib) + $(use_enable v4l2) + $(use_enable wayland) + $(use_enable webp image-loader-webp) + $(use_enable xim) + $(use_enable xine) + $(use_enable xpm image-loader-xpm) + --enable-cserve + --enable-image-loader-generic + + --disable-tizen + --disable-gesture + --enable-xinput2 + --disable-xinput22 + --disable-multisense + --enable-libmount + " + + enlightenment_src_configure +} + +src_install() { + MAKEOPTS+=" -j1" + + enlightenment_src_install +} |