summaryrefslogtreecommitdiff
path: root/recipes/efl1
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-11-04 09:14:29 +0100
committerKoen Kooi <koen@openembedded.org>2009-11-04 09:15:04 +0100
commit4964bb59f513c9bac7a85c187ad81292ee6d5b8d (patch)
tree609460644a28cd1695d5220e109a4bb47038f531 /recipes/efl1
parentf33edf7de790c9ad15fbdc2e8fd48836496a9041 (diff)
expedite, evas: don't turn of the GL engine forcefully
Diffstat (limited to 'recipes/efl1')
-rw-r--r--recipes/efl1/evas.inc12
-rw-r--r--recipes/efl1/evas_svn.bb22
2 files changed, 26 insertions, 8 deletions
diff --git a/recipes/efl1/evas.inc b/recipes/efl1/evas.inc
index 55774ee7ad..833d38f240 100644
--- a/recipes/efl1/evas.inc
+++ b/recipes/efl1/evas.inc
@@ -29,12 +29,12 @@ do_install_append() {
find "${D}" -name .debug -type d -exec rm -rf {} \;
}
-FILES_${PN}-dev += "${libdir}/evas/modules/*/*/*/*.a ${libdir}/evas/modules/*/*/*/*.la"
-FILES_${PN}-dbg += "${libdir}/evas/modules/*/*/*/.debug/"
+FILES_${SRCNAME}-dev += "${libdir}/evas/modules/*/*/*/*.a ${libdir}/evas/modules/*/*/*/*.la"
+FILES_${SRCNAME}-dbg += "${libdir}/evas/modules/*/*/*/.debug/"
PACKAGES_DYNAMIC = "evas-engine-* evas-loader-* evas-saver-*"
-RRECOMMENDS_${PN} = "\
+RRECOMMENDS_${SRCNAME} = "\
evas-engine-buffer \
evas-engine-fb \
evas-engine-software-generic \
@@ -51,9 +51,9 @@ RRECOMMENDS_${PN} = "\
# Some upgrade path tweaking
AUTO_LIBNAME_PKGS = ""
-RREPLACES_${PN} = "libevas-ver-pre-svn-00-0 libevas-ver-pre-svn-01-0"
+RREPLACES_${SRCNAME} = "libevas-ver-pre-svn-00-0 libevas-ver-pre-svn-01-0"
-RREPLACES_${PN}-tests = "libevas-ver-pre-svn-00-tests libevas-ver-pre-svn-01-tests"
+RREPLACES_${SRCNAME}-tests = "libevas-ver-pre-svn-00-tests libevas-ver-pre-svn-01-tests"
RREPLACES_evas-loader-pmaps = "liblibevas-ver-pre-svn-00-loader-pmaps libevas-ver-pre-svn-00-loader-pmaps "
RREPLACES_evas-loader-eet = "liblibevas-ver-pre-svn-00-loader-eet libevas-ver-pre-svn-00-loader-eet "
@@ -79,6 +79,6 @@ RREPLACES_evas-engine-software-x11 = "liblibevas-ver-pre-svn-00-engine-software-
# disabling this, since (due to OE bugs) it drags in whole Gtk+
-#RRECOMMENDS_${PN} += "\
+#RRECOMMENDS_${SRCNAME} += "\
# libevas-loader-svg \
#"
diff --git a/recipes/efl1/evas_svn.bb b/recipes/efl1/evas_svn.bb
index f84bd48f7a..21779818ca 100644
--- a/recipes/efl1/evas_svn.bb
+++ b/recipes/efl1/evas_svn.bb
@@ -1,5 +1,8 @@
require evas.inc
-PR = "r3"
+PR = "r4"
+
+EVAS_CPU_TWEAKS = ""
+EVAS_CPU_TWEAKS_armv7a = "--enable-cpu-neon"
EXTRA_OECONF = "\
--x-includes=${STAGING_INCDIR}/X11 \
@@ -60,4 +63,19 @@ EXTRA_OECONF = "\
--enable-convert-32-rgb-rot-0 \
--enable-convert-32-rgb-rot-90 \
--disable-convert-32-rgb-rot-180 \
- --enable-convert-32-rgb-rot-270"
+ --enable-convert-32-rgb-rot-270 \
+ ${EVAS_CPU_TWEAKS}"
+
+
+# either sgx or 6410 atm
+GLES ?= "sgx"
+
+# This is a hack to get openGL|ES 2.x support enabled for people that have the SDK headers in staging.
+# We put this in the main recipe, since it will just not build the gl stuff when the headers are missing
+
+# If the above sentence confuse you: everything is built and configured as before if you don't have the SDK
+
+EXTRA_OECONF += "\
+ --enable-gl-x11 --enable-gl-flavor-gles --enable-gles-variety-${GLES} \
+"
+