diff options
author | Mike Frysinger <vapier@gentoo.org> | 2017-03-11 19:04:38 -0800 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2017-03-11 19:59:56 -0800 |
commit | 51b1dc0bf1515ef6d2e8d05b02cd9f980d3f9fac (patch) | |
tree | 2ec5dfe533063734edd7fa934b7f3f9d3c9eca8e | |
parent | dev-libs/efl: add USE=unwind to control libunwind dep #611108 (diff) | |
download | gentoo-51b1dc0bf1515ef6d2e8d05b02cd9f980d3f9fac.tar.gz gentoo-51b1dc0bf1515ef6d2e8d05b02cd9f980d3f9fac.tar.bz2 gentoo-51b1dc0bf1515ef6d2e8d05b02cd9f980d3f9fac.zip |
dev-libs/efl: version bump to 1.18.4 #591858
-rw-r--r-- | dev-libs/efl/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/efl/efl-1.18.4.ebuild | 289 | ||||
-rw-r--r-- | dev-libs/efl/efl-9999.ebuild | 12 |
3 files changed, 298 insertions, 4 deletions
diff --git a/dev-libs/efl/Manifest b/dev-libs/efl/Manifest index 3fd16fa8ff9d..56c8229b2f06 100644 --- a/dev-libs/efl/Manifest +++ b/dev-libs/efl/Manifest @@ -1 +1,2 @@ DIST efl-1.17.0.tar.xz 43485360 SHA256 c13540bad764d014fea2c079fad8fcca62e5c229994d43aa4eb692d2c9b73afe SHA512 e4f28f938daf4ec1cb3d761407a443e401b59c6bb0f9fa6cd771dbd256b95f4a32a5f9e6bd8ad8328708a382f732e67abd1a23c7be2ff222f08bc8135a2435da WHIRLPOOL a9687320a5a61a727dd1ad8d757b260f72165ed54fb311cb0ff0c33590b8fc083aae1850cd8bdc5ae5c7506df119a445457cda9e076193692130c92e01e2d5bf +DIST efl-1.18.4.tar.xz 64609944 SHA256 39ebc07e37437d6ecdeb0f645783484e28a882b38f7e619ad12c2bf9b5548025 SHA512 2cfdcde8b5adb93310e75e4923e3845392bed97563ca1a68f4537e346b51f59acefaa85a425bdbb5619e5bfd6c9ff92b4bd1888b5d4ddd8db94c8a555e3934c9 WHIRLPOOL 06fa47d6aaa3ee7a4bf3d0e9f40ac4d1bc8211621f749f66b8a48fc13513ca91d2a68d92bf281d0073f73b93cd6d19214f28bb36205bd158363c552e55ef7bce diff --git a/dev-libs/efl/efl-1.18.4.ebuild b/dev-libs/efl/efl-1.18.4.ebuild new file mode 100644 index 000000000000..609840b2c5b1 --- /dev/null +++ b/dev-libs/efl/efl-1.18.4.ebuild @@ -0,0 +1,289 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +MY_P=${P/_/-} + +if [[ "${PV}" == "9999" ]] ; then + EGIT_SUB_PROJECT="core" + EGIT_URI_APPEND="${PN}" +elif [[ *"${PV}" == *"_pre"* ]] ; then + MY_P=${P%%_*} + SRC_URI="https://download.enlightenment.org/pre-releases/${MY_P}.tar.xz" +else + SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${MY_P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +fi + +inherit enlightenment pax-utils + +DESCRIPTION="Enlightenment Foundation Libraries all-in-one package" + +LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB" +IUSE="+bmp debug drm +eet egl fbcon +fontconfig fribidi gif gles glib gnutls gstreamer harfbuzz +ico ibus jpeg2k libressl neon oldlua opengl ssl physics pixman +png postscript +ppm +psd pulseaudio raw scim sdl sound systemd tga tiff tslib unwind v4l valgrind wayland webp X xim xine xpm" + +REQUIRED_USE=" + pulseaudio? ( sound ) + opengl? ( || ( X sdl wayland ) ) + gles? ( || ( X wayland ) ) + gles? ( !sdl ) + gles? ( egl ) + sdl? ( opengl ) + wayland? ( egl !opengl gles ) + xim? ( X ) +" + +RDEPEND=" + drm? ( + >=dev-libs/libinput-0.8 + media-libs/mesa[gbm] + >=x11-libs/libdrm-2.4 + >=x11-libs/libxkbcommon-0.3.0 + ) + fontconfig? ( media-libs/fontconfig ) + fribidi? ( dev-libs/fribidi ) + gif? ( media-libs/giflib ) + glib? ( dev-libs/glib:2 ) + gnutls? ( net-libs/gnutls ) + !gnutls? ( + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl ) + ) + ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + ) + harfbuzz? ( media-libs/harfbuzz ) + ibus? ( app-i18n/ibus ) + jpeg2k? ( media-libs/openjpeg:0 ) + !oldlua? ( >=dev-lang/luajit-2.0.0 ) + oldlua? ( dev-lang/lua:* ) + physics? ( >=sci-physics/bullet-2.80 ) + pixman? ( x11-libs/pixman ) + postscript? ( app-text/libspectre ) + png? ( media-libs/libpng:0= ) + pulseaudio? ( media-sound/pulseaudio ) + raw? ( media-libs/libraw ) + scim? ( app-i18n/scim ) + sdl? ( + media-libs/libsdl2 + virtual/opengl + ) + sound? ( media-libs/libsndfile ) + systemd? ( sys-apps/systemd ) + tiff? ( media-libs/tiff:0= ) + tslib? ( x11-libs/tslib ) + unwind? ( sys-libs/libunwind ) + valgrind? ( dev-util/valgrind ) + wayland? ( + >=dev-libs/wayland-1.8.0 + >=x11-libs/libxkbcommon-0.3.1 + media-libs/mesa[gles2,wayland] + ) + 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 + ) + ) + xine? ( >=media-libs/xine-lib-1.1.1 ) + xpm? ( x11-libs/libXpm ) + + sys-apps/dbus + >=sys-apps/util-linux-2.20.0 + sys-libs/zlib + virtual/jpeg:0= + + !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/elementary + !media-libs/emotion + !media-libs/ethumb + !media-libs/evas + !media-plugins/emotion_generic_players + !media-plugins/evas_generic_loaders +" +#external lz4 support currently broken because of unstable ABI/API +# app-arch/lz4 + +#soft blockers added above for binpkg users +#hard blocks are needed for building +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_prepare() { + enlightenment_src_prepare + + # Remove stupid sleep command. + # Also back out gnu make hack that causes regen of Makefiles. + # Delete var setting that causes the build to abort. + sed -i \ + -e '/sleep 10/d' \ + -e '/^#### Work around bug in automake check macro$/,/^#### Info$/d' \ + -e '/BARF_OK=/s:=.*:=:' \ + configure || die + + # Upstream doesn't offer a configure flag. #611108 + if ! use unwind ; then + sed -i \ + -e 's:libunwind libunwind-generic:xxxxxxxxxxxxxxxx:' \ + configure || die + fi +} + +src_configure() { + if use ssl && use gnutls ; then + einfo "You enabled both USE=ssl and USE=gnutls, but only one can be used;" + einfo "gnutls has been selected for you." + fi + if use opengl && use gles ; then + einfo "You enabled both USE=opengl and USE=gles, but only one can be used;" + einfo "opengl has been selected for you." + fi + + E_ECONF=( + --with-profile=$(usex debug debug release) + --with-crypto=$(usex gnutls gnutls $(usex ssl openssl none)) + --with-x11=$(usex X xlib none) + $(use_with X x) + --with-opengl=$(usex opengl full $(usex gles es none)) + --with-glib=$(usex glib) + --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb + + $(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 gstreamer1) + $(use_enable harfbuzz) + $(use_enable ico image-loader-ico) + $(use_enable ibus) + $(use_enable jpeg2k image-loader-jp2k) + $(use_enable neon) + $(use_enable nls) + $(use_enable oldlua lua-old) + $(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 postscript spectre) + $(use_enable ppm image-loader-pmaps) + $(use_enable psd image-loader-psd) + $(use_enable pulseaudio) + $(use_enable raw libraw) + $(use_enable scim) + $(use_enable sdl) + $(use_enable sound audio) + $(use_enable systemd) + $(use_enable tga image-loader-tga) + $(use_enable tiff image-loader-tiff) + $(use_enable tslib) + $(use_enable v4l v4l2) + $(use_enable valgrind) + $(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 + --enable-image-loader-jpeg + + --disable-tizen + --disable-gesture + --disable-gstreamer + --enable-xinput2 + --disable-xinput22 + --enable-libmount + + # external lz4 support currently broken because of unstable ABI/API + #--enable-liblz4 + ) + + enlightenment_src_configure +} + +src_compile() { + if host-is-pax && ! use oldlua ; then + # We need to build the lua code first so we can pax-mark it. #547076 + local target='_e_built_sources_target_gogogo_' + printf '%s: $(BUILT_SOURCES)\n' "${target}" >> src/Makefile || die + emake -C src "${target}" + emake -C src bin/elua/elua + pax-mark m src/bin/elua/.libs/elua + fi + enlightenment_src_compile +} + +src_install() { + MAKEOPTS+=" -j1" + + enlightenment_src_install +} diff --git a/dev-libs/efl/efl-9999.ebuild b/dev-libs/efl/efl-9999.ebuild index e051bea2d47c..609840b2c5b1 100644 --- a/dev-libs/efl/efl-9999.ebuild +++ b/dev-libs/efl/efl-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -11,10 +11,9 @@ if [[ "${PV}" == "9999" ]] ; then elif [[ *"${PV}" == *"_pre"* ]] ; then MY_P=${P%%_*} SRC_URI="https://download.enlightenment.org/pre-releases/${MY_P}.tar.xz" - EKEY_STATE="snap" else SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${MY_P}.tar.xz" - EKEY_STATE="snap" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" fi inherit enlightenment pax-utils @@ -22,7 +21,7 @@ inherit enlightenment pax-utils DESCRIPTION="Enlightenment Foundation Libraries all-in-one package" LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB" -IUSE="+bmp debug drm +eet egl fbcon +fontconfig fribidi gif gles glib gnutls gstreamer harfbuzz +ico ibus jpeg2k libressl neon oldlua opengl ssl physics pixman +png +ppm +psd pulseaudio raw scim sdl sound systemd tga tiff tslib unwind v4l valgrind wayland webp X xim xine xpm" +IUSE="+bmp debug drm +eet egl fbcon +fontconfig fribidi gif gles glib gnutls gstreamer harfbuzz +ico ibus jpeg2k libressl neon oldlua opengl ssl physics pixman +png postscript +ppm +psd pulseaudio raw scim sdl sound systemd tga tiff tslib unwind v4l valgrind wayland webp X xim xine xpm" REQUIRED_USE=" pulseaudio? ( sound ) @@ -64,6 +63,7 @@ RDEPEND=" oldlua? ( dev-lang/lua:* ) physics? ( >=sci-physics/bullet-2.80 ) pixman? ( x11-libs/pixman ) + postscript? ( app-text/libspectre ) png? ( media-libs/libpng:0= ) pulseaudio? ( media-sound/pulseaudio ) raw? ( media-libs/libraw ) @@ -129,9 +129,12 @@ RDEPEND=" !dev-libs/eobj !dev-libs/ephysics !media-libs/edje + !media-libs/elementary !media-libs/emotion !media-libs/ethumb !media-libs/evas + !media-plugins/emotion_generic_players + !media-plugins/evas_generic_loaders " #external lz4 support currently broken because of unstable ABI/API # app-arch/lz4 @@ -230,6 +233,7 @@ src_configure() { $(use_enable pixman pixman-image) $(use_enable pixman pixman-image-scale-sample) $(use_enable png image-loader-png) + $(use_enable postscript spectre) $(use_enable ppm image-loader-pmaps) $(use_enable psd image-loader-psd) $(use_enable pulseaudio) |