summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/efl')
-rw-r--r--dev-libs/efl/Manifest15
-rw-r--r--dev-libs/efl/efl-1.12.0_beta1.ebuild236
-rw-r--r--dev-libs/efl/files/efl-1.12.0_beta1-tmpdir.patch40
3 files changed, 284 insertions, 7 deletions
diff --git a/dev-libs/efl/Manifest b/dev-libs/efl/Manifest
index 6eaa34f..8227970 100644
--- a/dev-libs/efl/Manifest
+++ b/dev-libs/efl/Manifest
@@ -2,14 +2,15 @@
Hash: SHA256
DIST efl-1.11.4.tar.bz2 40949204 SHA256 c60ffa209d9e2ea90bbfe3e1ec77500034cb055b5a441dad67042cc39dfcaeec SHA512 d5df667e09acda2814bd6a265ad55d06ebae6cbf45ef3800ac60d0bc4c53e5126d5c359688f17ae0812195623f9c60dc06638d6037586aa74d0cf9ee03083d78 WHIRLPOOL 000448973a225f206c85356b87e006f898b2e3a325192d900b4b07486dcb4f62a98fba6c05dcfb02a868e886dd9678bd1910345aa87e3c5221cc9878cd2ebe0c
+DIST efl-1.12.0-beta1.tar.bz2 46425713 SHA256 fa5e13f97e2282404e9bcf3d1ca4dd72163b8627efc10017c1d703dbfd61bac5 SHA512 221ffdf7102bbd57850837420071159d4d85eb403cda4fdeb5dd94281188c5f4431b2c2bd8a82646060f80d6ec253c5b3155af9798aabb764a720098511b4cf7 WHIRLPOOL ffa8e28a0306097cae5c31b07d4d23948bd472bed5c247371696c05f06461d167f87782c18c96c17680d65d46dad07bf4b86c64af2765be9f4c6b03b6d7ec840
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQEcBAEBCAAGBQJURnNHAAoJELjwI6Q8XPdar68IAI2duWg1pEWI2hhyir/ARn8L
-/5HFhsTEQKv2y69kAfPOkUBRdOSXs+6JH+K7+jOWzzqT3Om+ndWFu3NVto3f8NQf
-CE+V9bAag6QTj3LHb+1/Kv4mBpZwXKehSahIqhv+wIs3eqMLw0kY+2sBgNM7xdF8
-rpSSorzQrJ6hWn7zwxHqeSbyHyWcj68llJUHnnOMDepbbrab+wOhTngRLnGu554q
-Kg4vRRbd+u3PjrOpDbtB1ESYFBF185/v1G9F4vgw2CQ3blKag3Ty4TU4Cnic8J6K
-vhoKosLLQkAa4DBoys+rinB6bN9kjtoNAZ9lvjzOh/iKhqaA1yRdeA/poavOEkY=
-=TpPy
+iQEcBAEBCAAGBQJUUzsLAAoJELjwI6Q8XPdarTYH/jTMIiFp+wY2Uks1/DAnicWr
+i5wL1VUCqJ66bgqR/QedfbMNCxYMAxI6EI0zrsJ7i/3ymHxoobPwyQVrMnu4tLjN
+PAIX35Ck5wAUALOla0HH+LOVJkOzt5d1VsHeAcap4PQjMZBFdaOErfF9njNFHiua
+vOMCtPUBQ2rPs+VxTQ/f7B/aP5ggNVZvAGgrMs/TkEhmsvNRrW4Q5LbdvDFkIzi3
+JA38+CLiqR3j0QbJ6AP3iZBFFF1jX6eQaAgNZSeOrbm/VPnFhnufJ4mkoIpR1OWc
+gnR9CqDrazXz3nIEbDAKOUljMKlkjNpxmg4TTW44SE2DlBEveYNfCsg2LtSoCUU=
+=n6Ww
-----END PGP SIGNATURE-----
diff --git a/dev-libs/efl/efl-1.12.0_beta1.ebuild b/dev-libs/efl/efl-1.12.0_beta1.ebuild
new file mode 100644
index 0000000..62dd791
--- /dev/null
+++ b/dev-libs/efl/efl-1.12.0_beta1.ebuild
@@ -0,0 +1,236 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit eutils autotools
+
+RESTRICT="test"
+
+DESCRIPTION="Enlightenment Foundation Core Libraries"
+HOMEPAGE="http://www.enlightenment.org/"
+SRC_URI="http://download.enlightenment.org/rel/libs/${PN}/${P/_/-}.tar.bz2"
+
+LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+X avahi cxx-bindings debug doc drm egl fbcon +fontconfig fribidi gif gles glib gnutls gstreamer harfbuzz ibus jp2k nls +opengl ssl physics +png pulseaudio scim sdl static-libs systemd test tiff tslib v4l2 wayland webp xim xine xpm"
+
+COMMON_DEP="
+ dev-lang/luajit:2
+ sys-apps/dbus
+ sys-libs/zlib
+ virtual/jpeg
+ virtual/udev
+ X? (
+ x11-libs/libX11
+ x11-libs/libXScrnSaver
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXinerama
+ x11-libs/libXp
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXtst
+ gles? (
+ media-libs/mesa[egl,gles2]
+ x11-libs/libXrender
+ )
+ opengl? (
+ virtual/opengl
+ x11-libs/libXrender
+ )
+ )
+ avahi? ( net-dns/avahi )
+ 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:1.0
+ media-libs/gst-plugins-base:1.0
+ )
+ harfbuzz? ( media-libs/harfbuzz )
+ ibus? ( app-i18n/ibus )
+ jp2k? ( media-libs/openjpeg )
+ nls? ( sys-devel/gettext )
+ physics? ( sci-physics/bullet )
+ png? ( media-libs/libpng:0= )
+ pulseaudio? (
+ media-sound/pulseaudio
+ media-libs/libsndfile
+ )
+ scim? ( app-i18n/scim )
+ sdl? (
+ >=media-libs/libsdl2-2.0.0:0[opengl?,gles?]
+ )
+ systemd? ( sys-apps/systemd )
+ tiff? ( media-libs/tiff:0 )
+ tslib? ( x11-libs/tslib )
+ wayland? (
+ >=dev-libs/wayland-1.3.0:0
+ >=x11-libs/libxkbcommon-0.3.1
+ egl? ( media-libs/mesa[egl,gles2] )
+ )
+ webp? ( media-libs/libwebp )
+ xine? ( >=media-libs/xine-lib-1.1.1 )
+ xpm? ( x11-libs/libXpm )"
+RDEPEND="${COMMON_DEP}"
+DEPEND="${COMMON_DEP}
+ !!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
+ doc? ( app-doc/doxygen )
+ test? ( dev-libs/check )"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-tmpdir.patch
+ eautoreconf
+}
+
+src_configure() {
+ local config=()
+
+ # gnutls / openssl
+ if use gnutls; then
+ config+=( --with-crypto=gnutls )
+ use ssl && \
+ einfo "You enabled both USE=ssl and USE=gnutls, using gnutls"
+ elif use ssl; then
+ config+=( --with-crypto=openssl )
+ else
+ config+=( --with-crypto=none )
+ fi
+
+ # X
+ config+=(
+ $(use_with X x)
+ $(use_with X x11 xlib)
+ )
+ if use opengl; then
+ config+=( --with-opengl=full )
+ use gles && \
+ einfo "You enabled both USE=opengl and USE=gles, using opengl"
+ elif use gles; then
+ config+=( --with-opengl=es )
+ if use sdl; then
+ config+=( --with-opengl=none )
+ ewarn "You enabled both USE=sdl and USE=gles which isn't currently supported."
+ ewarn "Disabling gl for all backends."
+ fi
+ else
+ config+=( --with-opengl=none )
+ fi
+
+ # wayland
+ config+=(
+ $(use_enable egl)
+ $(use_enable wayland)
+ )
+
+ if use systemd; then
+ config+=( $(use_enable drm) )
+ else
+ config+=( --disable-drm )
+ use drm && \
+ einfo "You cannot build DRM support without systemd support, disabling drm engine"
+ fi
+
+ config+=(
+ $(use_enable avahi)
+ $(use_enable cxx-bindings cxx-bindings)
+ $(use_enable doc)
+ $(use_enable fbcon fb)
+ $(use_enable fontconfig)
+ $(use_enable fribidi)
+ $(use_enable gstreamer gstreamer1)
+ $(use_enable harfbuzz)
+ $(use_enable ibus)
+ $(use_enable nls)
+ $(use_enable physics)
+ $(use_enable pulseaudio)
+ $(use_enable pulseaudio audio)
+ $(use_enable scim)
+ $(use_enable sdl)
+ $(use_enable static-libs static)
+ $(use_enable systemd)
+ $(use_enable tslib)
+ $(use_enable v4l2)
+ $(use_enable xim)
+ $(use_enable xine)
+
+ # image loders
+ --enable-image-loader-bmp
+ --enable-image-loader-eet
+ --enable-image-loader-generic
+ --enable-image-loader-ico
+ --enable-image-loader-jpeg # required by ethumb
+ --enable-image-loader-psd
+ --enable-image-loader-pmaps
+ --enable-image-loader-tga
+ --enable-image-loader-wbmp
+ $(use_enable gif image-loader-gif)
+ $(use_enable jp2k image-loader-jp2k)
+ $(use_enable png image-loader-png)
+ $(use_enable tiff image-loader-tiff)
+ $(use_enable webp image-loader-webp)
+ $(use_enable xpm image-loader-xpm)
+
+ --enable-cserve
+ --enable-libmount
+ --enable-threads
+ --enable-xinput22
+
+ --disable-gesture
+ --disable-gstreamer # using gstreamer1
+ --disable-lua-old
+ --disable-multisense
+ --disable-tizen
+ --disable-xinput2
+ --disable-xpresent
+
+ # bug 501074
+ --disable-pixman
+ --disable-pixman-font
+ --disable-pixman-rect
+ --disable-pixman-line
+ --disable-pixman-poly
+ --disable-pixman-image
+ --disable-pixman-image-scale-sample
+
+ --with-profile=$(usex debug debug release)
+ --with-glib=$(usex glib yes no)
+ --with-tests=$(usex test regular none)
+
+ --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-aba
+ )
+
+ econf "${config[@]}"
+}
+
+src_install() {
+ MAKEOPTS+=" -j1"
+ default
+ prune_libtool_files
+}
diff --git a/dev-libs/efl/files/efl-1.12.0_beta1-tmpdir.patch b/dev-libs/efl/files/efl-1.12.0_beta1-tmpdir.patch
new file mode 100644
index 0000000..fc6e028
--- /dev/null
+++ b/dev-libs/efl/files/efl-1.12.0_beta1-tmpdir.patch
@@ -0,0 +1,40 @@
+From e105abc99e717b84723ab35258375e27f17f8e82 Mon Sep 17 00:00:00 2001
+From: Stefan Schmidt <s.schmidt@samsung.com>
+Date: Wed, 29 Oct 2014 15:51:11 +0100
+Subject: eina_file: Give TMPDIR presedence over XDG_RUNTIME_DIR when defined
+
+XDG_RUNTIME_DIR gives us a nice securty benefit by only allowing the
+same user to read wand write files.
+
+In some configuration this is problematic though. If one looks at the
+bug report this fixes for example you can see that there are build
+scripts that use a special build user.
+
+The way this has always worked on unix is that you can define your
+own tempdir with TMPDIR. When I was making the original change towards
+XDG_RUNTIME_DIR I expected some trouble with it but it worked quite
+well so far.
+
+To avoid breaking scripts out there and maybe configurations we
+haven't tested yet give TMPDIR precedence over XDG_RUNTIME_DIR.
+
+Fixes T1766
+
+diff --git a/src/lib/eina/eina_file_common.c b/src/lib/eina/eina_file_common.c
+index 2a2e3e4..5c2b87a 100644
+--- a/src/lib/eina/eina_file_common.c
++++ b/src/lib/eina/eina_file_common.c
+@@ -908,8 +908,8 @@ eina_file_mkstemp(const char *templatename, Eina_Tmpstr **path)
+ #if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
+ if (getuid() == geteuid())
+ #endif
+- tmpdir = getenv("XDG_RUNTIME_DIR");
+- if (!tmpdir) tmpdir = getenv("TMPDIR");
++ tmpdir = getenv("TMPDIR");
++ if (!tmpdir) tmpdir = getenv("XDG_RUNTIME_DIR");
+ if (!tmpdir) tmpdir = "/tmp";
+ #else
+ tmpdir = (char *)evil_tmpdir_get();
+--
+cgit v0.10.1
+