From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A9395E01565 for ; Mon, 26 Aug 2013 12:07:01 -0700 (PDT) Received: from buildor.local.eukrea.com (unknown [88.170.243.169]) by smtp3-g21.free.fr (Postfix) with ESMTP id 53D09A6163; Mon, 26 Aug 2013 21:06:55 +0200 (CEST) From: =?UTF-8?q?Eric=20B=C3=A9nard?= To: juvuolle@gmail.com Date: Mon, 26 Aug 2013 21:07:05 +0200 Message-Id: <1377544025-31822-1-git-send-email-eric@eukrea.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: MIME-Version: 1.0 Cc: meta-freescale@yoctoproject.org Subject: [meta-fsl-arm][RFC] qtbase: add xcb support for i.MX6 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 19:07:04 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Eric Bénard --- qt5-layer/recipes-qt/qt5/qtbase_5.0.2.bbappend | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/qt5-layer/recipes-qt/qt5/qtbase_5.0.2.bbappend b/qt5-layer/recipes-qt/qt5/qtbase_5.0.2.bbappend index 33f0e8b..5553e27 100644 --- a/qt5-layer/recipes-qt/qt5/qtbase_5.0.2.bbappend +++ b/qt5-layer/recipes-qt/qt5/qtbase_5.0.2.bbappend @@ -1,11 +1,14 @@ +@@ -2,10 +2,12 @@ # Copyright (C) 2013 Eric Bénard - Eukréa Electromatique HAS_X11 = "${@base_contains('DISTRO_FEATURES', 'x11', 1, 0, d)}" -GL_DEPENDS_mx6 = "${@base_contains('DISTRO_FEATURES', 'x11', '', 'virtual/libgles2 virtual/egl', d)}" -QT_GLFLAGS_mx6 = "${@base_contains('DISTRO_FEATURES', 'x11', '', '-opengl es2 -eglfs', d)}" +GL_DEPENDS_mx6 = "virtual/libgles2 virtual/egl" +QT_GLFLAGS_mx6 = "-opengl es2 -eglfs" QT_EXAMPLES_mx6 = "-make examples" QT_DEMOS_mx6 = "-make demos" +XCB_DEPENDS_mx6 += "${@base_contains('DISTRO_FEATURES', 'x11', 'xcb-util-wm xcb-util-image xcb-util-keysyms dbus', '', d)}" +QT_XCB_mx6 = "${@base_contains('DISTRO_FEATURES', 'x11', '-qt-xcb', '', d)}" GL_DEPENDS_mx5 = "${@base_contains('DISTRO_FEATURES', 'x11', '', 'virtual/libgles2 virtual/egl', d)}" QT_GLFLAGS_mx5 = "${@base_contains('DISTRO_FEATURES', 'x11', '', '-opengl es2 -eglfs', d)}" @@ -47,6 +50,23 @@ EOF # copy the hook in the mkspecs directory OE is using cp ${S}/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp ${S}/mkspecs/linux-oe-g++/ + + else +# adapt qmake.conf to our needs +sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf +cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <