[oe] Qt4 GLES (once again)

Holger Hans Peter Freyther holger+oe at freyther.de
Mon Jan 4 07:40:27 UTC 2010


On Saturday 02 January 2010 09:28:18 Koen Kooi wrote:

> If that works, I can live with that.

Hi Koen,

that is the current patch. It is working for the !GLES case and it would be
great if you could test the GLES case and then I would be happy to commit
it.


ich at knecht:/data/openembedded/openembedded$ cat 0001-qt4-embedded-make-qt4-embedded-and-qt4-
embedded-gles.patch 
From 4b7c9f94bc7441919e1b9e24179e0b45236739ae Mon Sep 17 00:00:00 2001
From: Holger Hans Peter Freyther <zecke at selfish.org>
Date: Mon, 4 Jan 2010 15:37:05 +0800
Subject: [PATCH] qt4-embedded: make qt4-embedded and qt4-embedded-gles both provide qt4-embedded

This way a distribution/user can set PREFERRED_PROVIDER_qt4-embedded = "qt4-embedded-gles"
to select the GLES/OpenVG runtime. The default is qt4-embedded as GLES require a dedicated
library most of the time provided as a binary blob by the vendor requiring the user
to manually download and store it at the right place.
---
 conf/compatibility-providers.conf      |    1 +
 recipes/qt4/qt4-embedded-gles_4.6.0.bb |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/conf/compatibility-providers.conf b/conf/compatibility-providers.conf
index 10a81f2..cf61ab5 100644
--- a/conf/compatibility-providers.conf
+++ b/conf/compatibility-providers.conf
@@ -47,6 +47,7 @@ PREFERRED_PROVIDER_openmoko-alsa-scenarios ?= "alsa-scenarii-shr"
 PREFERRED_PROVIDER_opkg ?= "opkg"
 #PREFERRED_PROVIDER_opkg ?= "opkg-nogpg"
 PREFERRED_PROVIDER_qemu-native ?= "qemu-native"
+PREFERRED_PROVIDER_qt4-embedded ?= "qt4-embedded"
 PREFERRED_PROVIDER_qt4x11 ?= "qt4-x11-free"
 PREFERRED_PROVIDER_task-bootstrap ?= "task-bootstrap"
 PREFERRED_PROVIDER_tslib-conf ?= "tslib"
diff --git a/recipes/qt4/qt4-embedded-gles_4.6.0.bb b/recipes/qt4/qt4-embedded-gles_4.6.0.bb
index f819c66..06cdcc5 100644
--- a/recipes/qt4/qt4-embedded-gles_4.6.0.bb
+++ b/recipes/qt4/qt4-embedded-gles_4.6.0.bb
@@ -1,6 +1,7 @@
 require qt4-embedded.inc
 PR = "${INC_PR}.0"
 
+PROVIDES += "qt4-embedded"
 QT_GLFLAGS = "-opengl es2 -openvg"
 
 require qt-4.6.0.inc
-- 
1.6.5





> 
> regards,
> 
> Koen
> 
> > diff --git a/recipes/qt4/qt4-embedded-gles_4.6.0.bb
> > b/recipes/qt4/qt4-embedded- gles_4.6.0.bb
> > index f819c66..06cdcc5 100644
> > --- a/recipes/qt4/qt4-embedded-gles_4.6.0.bb
> > +++ b/recipes/qt4/qt4-embedded-gles_4.6.0.bb
> > @@ -1,6 +1,7 @@
> >  require qt4-embedded.inc
> >  PR = "${INC_PR}.0"
> >
> > +PROVIDES += "qt4-embedded"
> >  QT_GLFLAGS = "-opengl es2 -openvg"
> >
> >  require qt-4.6.0.inc
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> 




More information about the Openembedded-devel mailing list