From a95806da2cfe683b211a189802e3b3d3f8540c09 Mon Sep 17 00:00:00 2001 From: Sébastien Taylor Date: Fri, 7 Feb 2014 17:59:14 -0700 Subject: qtbase: change .bbappend to use % The meta-qt5 updated Qt version 5.1.1 to 5.2.0, change file name to use % and append against any revision of the main qtbase recipe. This makes updating the .bbappend file name only necessary if recipe itself needs to change. Change-Id: I16852d67c8becdf55a851ea3b52c411ffa805c28 Signed-off-by: Se?bastien Taylor --- qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 57 ++++++++++++++++++++++++++ qt5-layer/recipes-qt/qt5/qtbase_5.1.1.bbappend | 57 -------------------------- 2 files changed, 57 insertions(+), 57 deletions(-) create mode 100644 qt5-layer/recipes-qt/qt5/qtbase_%.bbappend delete mode 100644 qt5-layer/recipes-qt/qt5/qtbase_5.1.1.bbappend diff --git a/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend new file mode 100644 index 0000000..310d7f7 --- /dev/null +++ b/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend @@ -0,0 +1,57 @@ +# Copyright (C) 2013 Eric Bénard - Eukréa Electromatique + +HAS_X11 = "${@base_contains('DISTRO_FEATURES', 'x11', 1, 0, d)}" + +PACKAGECONFIG_GL_mx5 = "gles2" +PACKAGECONFIG_append_mx5 = " tslib icu examples" + +PACKAGECONFIG_GL_mx6 = "gles2" +PACKAGECONFIG_append_mx6 = " tslib icu examples" + +do_configure_prepend_mx5() { + sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf + + cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <> ${S}/mkspecs/linux-oe-g++/qmake.conf <> ${S}/mkspecs/linux-oe-g++/qmake.conf <> ${S}/mkspecs/linux-oe-g++/qmake.conf <> ${S}/mkspecs/linux-oe-g++/qmake.conf <> ${S}/mkspecs/linux-oe-g++/qmake.conf <> ${S}/mkspecs/linux-oe-g++/qmake.conf <> ${S}/mkspecs/linux-oe-g++/qmake.conf <