diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-04-24 15:59:20 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-25 17:19:19 +0100 |
commit | 4c14b094985216c433d330fb3d9532d4b6c91fcf (patch) | |
tree | 6970f383436ca29450779bd98c378aae89f2e079 /meta/recipes-qt/qt4 | |
parent | 08a38a7865c41ec60f4b993b964f8d477ea0f680 (diff) | |
download | poky-4c14b094985216c433d330fb3d9532d4b6c91fcf.tar.gz |
Globally replace 'base_contains' calls with 'bb.utils.contains'
The base_contains is kept as a compatibility method and we ought to
not use it in OE-Core so we can remove it from base metadata in
future.
(From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4')
-rw-r--r-- | meta/recipes-qt/qt4/qt-mobility-x11_1.2.0.bb | 2 | ||||
-rw-r--r-- | meta/recipes-qt/qt4/qt-mobility_1.2.0.inc | 8 | ||||
-rw-r--r-- | meta/recipes-qt/qt4/qt4-x11-free.inc | 2 | ||||
-rw-r--r-- | meta/recipes-qt/qt4/qt4.inc | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-qt/qt4/qt-mobility-x11_1.2.0.bb b/meta/recipes-qt/qt4/qt-mobility-x11_1.2.0.bb index 5fe7bc98bd..e7e4b3c62a 100644 --- a/meta/recipes-qt/qt4/qt-mobility-x11_1.2.0.bb +++ b/meta/recipes-qt/qt4/qt-mobility-x11_1.2.0.bb | |||
@@ -3,7 +3,7 @@ DEPENDS = "qt4-x11-free" | |||
3 | SECTION = "x11/libs" | 3 | SECTION = "x11/libs" |
4 | qtm_embedded := "" | 4 | qtm_embedded := "" |
5 | qtm_dir = "qt4" | 5 | qtm_dir = "qt4" |
6 | qtm_glflags := "${@base_contains('DISTRO_FEATURES', 'opengl', '+=opengl', '-=opengl', d)} " | 6 | qtm_glflags := "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '+=opengl', '-=opengl', d)} " |
7 | qtm_extra_config := "" | 7 | qtm_extra_config := "" |
8 | 8 | ||
9 | inherit qt4x11 | 9 | inherit qt4x11 |
diff --git a/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc b/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc index ff63d2b0d0..d46acb9c7e 100644 --- a/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc +++ b/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc | |||
@@ -1,8 +1,8 @@ | |||
1 | HOMEPAGE = "http://qt-project.org/" | 1 | HOMEPAGE = "http://qt-project.org/" |
2 | DEPENDS = "gstreamer util-linux" | 2 | DEPENDS = "gstreamer util-linux" |
3 | 3 | ||
4 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \ | 4 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \ |
5 | ${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}" | 5 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}" |
6 | PACKAGECONFIG[bluetooth] = ",,bluez4" | 6 | PACKAGECONFIG[bluetooth] = ",,bluez4" |
7 | PACKAGECONFIG[pulseaudio] = ",,pulseaudio" | 7 | PACKAGECONFIG[pulseaudio] = ",,pulseaudio" |
8 | 8 | ||
@@ -65,12 +65,12 @@ maemo5-contacts_enabled = no | |||
65 | maemo5-calendar_enabled = no | 65 | maemo5-calendar_enabled = no |
66 | maemo6-landmarks_enabled = no | 66 | maemo6-landmarks_enabled = no |
67 | bme_enabled = no | 67 | bme_enabled = no |
68 | bluez_enabled = ${@base_contains('PACKAGECONFIG', 'bluetooth', 'yes', 'no', d)} | 68 | bluez_enabled = ${@bb.utils.contains('PACKAGECONFIG', 'bluetooth', 'yes', 'no', d)} |
69 | proj_enabled = no | 69 | proj_enabled = no |
70 | gstreamer-photography_enabled = no | 70 | gstreamer-photography_enabled = no |
71 | gstreamer-appsrc_enabled = yes | 71 | gstreamer-appsrc_enabled = yes |
72 | blkid_enabled = yes | 72 | blkid_enabled = yes |
73 | pulseaudio_enabled = ${@base_contains('PACKAGECONFIG', 'pulseaudio', 'yes', 'no', d)} | 73 | pulseaudio_enabled = ${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'yes', 'no', d)} |
74 | udev_enabled = yes | 74 | udev_enabled = yes |
75 | iphb_enabled = no | 75 | iphb_enabled = no |
76 | nfc_symbian_enabled = no | 76 | nfc_symbian_enabled = no |
diff --git a/meta/recipes-qt/qt4/qt4-x11-free.inc b/meta/recipes-qt/qt4/qt4-x11-free.inc index 73ed2bcbd9..3b1e0fecad 100644 --- a/meta/recipes-qt/qt4/qt4-x11-free.inc +++ b/meta/recipes-qt/qt4/qt4-x11-free.inc | |||
@@ -10,7 +10,7 @@ QT4DEPENDS = "" | |||
10 | 10 | ||
11 | INC_PR = "r50" | 11 | INC_PR = "r50" |
12 | 12 | ||
13 | QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} " | 13 | QT_GLFLAGS ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} " |
14 | QT_GLFLAGS_qemux86 = "-opengl" | 14 | QT_GLFLAGS_qemux86 = "-opengl" |
15 | QT_GLFLAGS_qemuppc = "-opengl" | 15 | QT_GLFLAGS_qemuppc = "-opengl" |
16 | QT_X11_FLAGS ?= "-no-xinerama -no-xkb -no-gtkstyle" | 16 | QT_X11_FLAGS ?= "-no-xinerama -no-xkb -no-gtkstyle" |
diff --git a/meta/recipes-qt/qt4/qt4.inc b/meta/recipes-qt/qt4/qt4.inc index 9a10138e94..0023f16a6c 100644 --- a/meta/recipes-qt/qt4/qt4.inc +++ b/meta/recipes-qt/qt4/qt4.inc | |||
@@ -1,7 +1,7 @@ | |||
1 | inherit qmake_base | 1 | inherit qmake_base |
2 | 2 | ||
3 | DEPENDS += "qt4-tools-native freetype jpeg libpng zlib dbus openssl glib-2.0 gstreamer gst-plugins-base sqlite3 tiff icu" | 3 | DEPENDS += "qt4-tools-native freetype jpeg libpng zlib dbus openssl glib-2.0 gstreamer gst-plugins-base sqlite3 tiff icu" |
4 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}" | 4 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}" |
5 | 5 | ||
6 | require qt4_arch.inc | 6 | require qt4_arch.inc |
7 | 7 | ||
@@ -18,7 +18,7 @@ QT_XML ?= "-xmlpatterns" | |||
18 | QT_WEBKIT ?= "-webkit" | 18 | QT_WEBKIT ?= "-webkit" |
19 | QT_PHONON ?= "-phonon" | 19 | QT_PHONON ?= "-phonon" |
20 | QT_DBUS ?= "-qdbus" | 20 | QT_DBUS ?= "-qdbus" |
21 | QT_MULTIMEDIA ?= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', '-pulseaudio', '-no-pulseaudio', d)}" | 21 | QT_MULTIMEDIA ?= "${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', '-pulseaudio', '-no-pulseaudio', d)}" |
22 | 22 | ||
23 | QT_CONFIG_FLAGS += "-release -no-cups -reduce-relocations \ | 23 | QT_CONFIG_FLAGS += "-release -no-cups -reduce-relocations \ |
24 | -shared -no-nas-sound -no-nis \ | 24 | -shared -no-nas-sound -no-nis \ |