All of lore.kernel.org
 help / color / mirror / Atom feed
* [daisy/master][PATCH] recipes-qt: add a .bbappend for qtbase
@ 2014-08-13  1:00 Aymeric Dumaz
  2014-08-13  2:37 ` Dmytriyenko, Denys
  0 siblings, 1 reply; 3+ messages in thread
From: Aymeric Dumaz @ 2014-08-13  1:00 UTC (permalink / raw)
  To: meta-ti

This bbappend is inspired from the meta-fsl-arm one [1].
It is made to build qtbase with ligles-omap3 libraries and integrate more
plugins, like tslib.

It has only been tested on AM335x EVM-SK, hence the _ti33x overrides; the
QMAKE_LIBS flags come from [2] and [3].

[1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/qt5-layer/recipes-qt/qt5/
[2] https://github.com/prabindh/sgxconfiguro/tree/master/pkgconfig/5.xx
[3] https://github.com/prabindh/qt-configs/tree/master/qt5_1_1_Sep13

Signed-off-by: Aymeric Dumaz <aymeric.dumaz@gmail.com>
---
 recipes-qt/qt5/qtbase_%.bbappend | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 recipes-qt/qt5/qtbase_%.bbappend

diff --git a/recipes-qt/qt5/qtbase_%.bbappend b/recipes-qt/qt5/qtbase_%.bbappend
new file mode 100644
index 0000000..eaa4a6b
--- /dev/null
+++ b/recipes-qt/qt5/qtbase_%.bbappend
@@ -0,0 +1,15 @@
+PACKAGECONFIG_GL_ti33x = "gles2"
+PACKAGECONFIG_append_ti33x = " tslib icu examples"
+
+do_configure_prepend_ti33x() {
+    sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf
+
+    cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF
+
+QMAKE_LIBS_EGL         += -lGLESv2 -lGLES_CM -lsrv_um -lusc -lEGL -lIMGegl
+QMAKE_LIBS_OPENGL_ES2  += -lGLESv2 -lGLES_CM -lsrv_um -lusc -lEGL -lIMGegl
+
+load(qt_config)
+
+EOF
+}
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-13  2:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-13  1:00 [daisy/master][PATCH] recipes-qt: add a .bbappend for qtbase Aymeric Dumaz
2014-08-13  2:37 ` Dmytriyenko, Denys
2014-08-13  2:57   ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.