[meta-ti] [daisy/master][PATCH] recipes-qt: add a .bbappend for qtbase
Denys Dmytriyenko
denis at denix.org
Tue Aug 12 19:57:35 PDT 2014
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 at gmail.com]
> Received: Tuesday, 12 Aug 2014, 21:01
> To: meta-ti at yoctoproject.org [meta-ti at 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 at 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 at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
More information about the meta-ti
mailing list