summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2011-07-09 18:35:59 +0000
committerThomas Sachau <tommy@gentoo.org>2011-07-09 18:35:59 +0000
commit46ea013732f066e7c92a9817abe5b74f054e58c7 (patch)
tree2b32155f70ee1e4d34e2c533a8995d6731fef1de /dev-libs
parentRemove unsupported configure switches (diff)
downloadenlightenment-46ea013732f066e7c92a9817abe5b74f054e58c7.tar.gz
enlightenment-46ea013732f066e7c92a9817abe5b74f054e58c7.tar.bz2
enlightenment-46ea013732f066e7c92a9817abe5b74f054e58c7.zip
Revert removal of core-evas-software-x11 configure option
(Portage version: 2.2.0_alpha43-r1/svn/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/ecore/ecore-9999.ebuild21
1 files changed, 18 insertions, 3 deletions
diff --git a/dev-libs/ecore/ecore-9999.ebuild b/dev-libs/ecore/ecore-9999.ebuild
index 512a907..133dbf8 100644
--- a/dev-libs/ecore/ecore-9999.ebuild
+++ b/dev-libs/ecore/ecore-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -73,6 +73,21 @@ src_configure() {
fi
if use evas; then
+
+ if use opengl && [[ -z "$x_or_xcb" ]]; then
+ ewarn "Ecore/Evas usage of OpenGL requires X11."
+ ewarn "Compile dev-libs/ecore with USE=X or xcb."
+ ewarn "Compiling without opengl support."
+ EVAS_FLAGS+="
+ --disable-ecore-evas-software-x11
+ --disable-ecore-evas-software-16-x11
+ "
+ else
+ EVAS_FLAGS+="
+ --enable-ecore-evas-software-x11
+ --enable-ecore-evas-software-16-x11
+ "
+ fi
EVAS_FLAGS+="
$(use_enable directfb ecore-evas-directfb)
$(use_enable fbcon ecore-evas-fb)
@@ -84,6 +99,8 @@ src_configure() {
--disable-ecore-evas-directfb
--disable-ecore-evas-fb
--disable-ecore-evas-software-sdl
+ --disable-ecore-evas-software-x11
+ --disable-ecore-evas-software-16-x11
--disable-ecore-evas-opengl-x11
"
if use opengl; then
@@ -147,8 +164,6 @@ src_configure() {
--disable-ecore-evas-opengl-glew
--disable-ecore-evas-software-16-ddraw
--disable-ecore-evas-software-16-wince
- --disable-ecore-evas-software-x11
- --disable-ecore-evas-software-16-x11
$(use_enable ares cares)
$(use_enable curl)
$(use_enable directfb ecore-directfb)