recipes-qt: add a .bbappend for qtbase
PATCH 1/1 recipes-qt: add a .bbappend for qtbase
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
--- recipes-qt/qt5/qtbase_%.bbappend | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes-qt/qt5/qtbase_%.bbappend
recipes-qt/qt5/qtbase_%.bbappend new file +15 -0
@@ -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 +}
Signature · 1 line
1.9.1
NAK. This does not belong in meta-ti. We have most of that already in meta-arago though.
Sent from my Android phone using TouchDown (www.nitrodesk.com)
-----Original Message-----
From: Aymeric Dumaz [[email protected]]
Received: Tuesday, 12 Aug 2014, 21:01
To: [email protected] [[email protected]]
Subject: [meta-ti] [daisy/master][PATCH] recipes-qt: add a .bbappend for qtbase
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
--- recipes-qt/qt5/qtbase_%.bbappend | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes-qt/qt5/qtbase_%.bbappend
recipes-qt/qt5/qtbase_%.bbappend new file +15 -0
@@ -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
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 11 lines · Denys
NAK. This does not belong in meta-ti. We have most of that already in meta-arago though.
Sent from my Android phone using TouchDown (www.nitrodesk.com)
-----Original Message-----
From: Aymeric Dumaz [[email protected]]
Received: Tuesday, 12 Aug 2014, 21:01
To: [email protected] [[email protected]]
Subject: [meta-ti] [daisy/master][PATCH] recipes-qt: add a .bbappend for qtbase
Quoted 6 lines
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
_ti33xoverrides; theQMAKE_LIBSflags come from [2] and [3].
Moreover, you don't need to mangle QMAKE_LIBS for SGX - those references are now too old...
Quoted 45 lines
[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_Sep13Signed-off-by Aymeric Dumaz <[email protected]>--- recipes-qt/qt5/qtbase_%.bbappend | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes-qt/qt5/qtbase_%.bbappendrecipes-qt/qt5/qtbase_%.bbappend new file +15
-1@@ -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
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-tiSignature · 4 lines
_______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti