* [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
* Re: [daisy/master][PATCH] recipes-qt: add a .bbappend for qtbase
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
0 siblings, 1 reply; 3+ messages in thread
From: Dmytriyenko, Denys @ 2014-08-13 2:37 UTC (permalink / raw)
To: meta-ti@yoctoproject.org, aymeric.dumaz@gmail.com
[-- Attachment #1: Type: text/plain, Size: 1943 bytes --]
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 [aymeric.dumaz@gmail.com]
Received: Tuesday, 12 Aug 2014, 21:01
To: meta-ti@yoctoproject.org [meta-ti@yoctoproject.org]
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
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
--
_______________________________________________
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti
[-- Attachment #2: Type: text/html, Size: 3466 bytes --]
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [daisy/master][PATCH] recipes-qt: add a .bbappend for qtbase
2014-08-13 2:37 ` Dmytriyenko, Denys
@ 2014-08-13 2:57 ` Denys Dmytriyenko
0 siblings, 0 replies; 3+ messages in thread
From: Denys Dmytriyenko @ 2014-08-13 2:57 UTC (permalink / raw)
To: Dmytriyenko, Denys; +Cc: meta-ti@yoctoproject.org
On Wed, Aug 13, 2014 at 02:37:54AM +0000, Dmytriyenko, Denys wrote:
> 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 [aymeric.dumaz@gmail.com]
> Received: Tuesday, 12 Aug 2014, 21:01
> To: meta-ti@yoctoproject.org [meta-ti@yoctoproject.org]
> 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].
Moreover, you don't need to mangle QMAKE_LIBS for SGX - those references are
now too old...
> [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
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [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.