summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-qt')
-rw-r--r--meta/recipes-qt/qt4/qt-mobility_1.2.0.inc41
1 files changed, 35 insertions, 6 deletions
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 2ce9ca2ac0..b9367a850c 100644
--- a/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc
+++ b/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc
@@ -1,6 +1,10 @@
1HOMEPAGE = "http://qt-project.org/" 1HOMEPAGE = "http://qt-project.org/"
2DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}" 2DEPENDS = "gstreamer util-linux"
3DEPENDS += "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez4', '', d)}" 3
4PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \
5 ${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}"
6PACKAGECONFIG[bluetooth] = ",,bluez4"
7PACKAGECONFIG[pulseaudio] = ",,pulseaudio"
4 8
5LICENSE = "LGPLv2.1" 9LICENSE = "LGPLv2.1"
6LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \ 10LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \
@@ -34,7 +38,6 @@ qtm_imports := "/usr/lib/${qtm_dir}/imports"
34 38
35QTM_MODULES_LIST ?= "bearer contacts gallery location publishsubscribe messaging multimedia \ 39QTM_MODULES_LIST ?= "bearer contacts gallery location publishsubscribe messaging multimedia \
36systeminfo serviceframework sensors versit organizer feedback connectivity" 40systeminfo serviceframework sensors versit organizer feedback connectivity"
37qtm_bluezflag ?= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'yes', 'no', d)}"
38 41
39do_configure_prepend() { 42do_configure_prepend() {
40 cp qtmobility.pro qtmobility.pro.old 43 cp qtmobility.pro qtmobility.pro.old
@@ -47,7 +50,35 @@ do_configure_prepend() {
47 cp staticconfig.pri staticconfig.pri.old 50 cp staticconfig.pri staticconfig.pri.old
48 echo "include(${STAGING_DATADIR}/${qtm_dir}/mkspecs/qconfig.pri)" >staticconfig.pri 51 echo "include(${STAGING_DATADIR}/${qtm_dir}/mkspecs/qconfig.pri)" >staticconfig.pri
49 cat staticconfig.pri.old >>staticconfig.pri 52 cat staticconfig.pri.old >>staticconfig.pri
50 ./configure -qmake-exec qmake2 -prefix /usr -examples -demos -modules "${QTM_MODULES_LIST}" 53
54 cat > features/platformconfig/oe.pri <<EOF
55qmf_enabled = no
56networkmanager_enabled = no
57corewlan_enabled = no
58immersion_enabled = no
59meegotouchfeedback_enabled = no
60maemo-icd_enabled = no
61maemo-icd-network-wlan_enabled = no
62maemo5-contacts_enabled = no
63maemo5-calendar_enabled = no
64maemo6-landmarks_enabled = no
65bme_enabled = no
66bluez_enabled = ${@base_contains('PACKAGECONFIG', 'bluetooth', 'yes', 'no', d)}
67proj_enabled = no
68gstreamer-photography_enabled = no
69gstreamer-appsrc_enabled = yes
70blkid_enabled = yes
71pulseaudio_enabled = ${@base_contains('PACKAGECONFIG', 'pulseaudio', 'yes', 'no', d)}
72udev_enabled = yes
73iphb_enabled = no
74nfc_symbian_enabled = no
75sensord_enabled = no
76geoclue-master_enabled = no
77gypsy_enabled = no
78${qtm_extra_config}
79EOF
80
81 ./configure -qmake-exec qmake2 -prefix /usr -staticconfig oe -examples -demos -modules "${QTM_MODULES_LIST}"
51 echo QT_MOBILITY_BIN = ${qtm_bin} >>./config.pri 82 echo QT_MOBILITY_BIN = ${qtm_bin} >>./config.pri
52 echo QT_MOBILITY_LIB = ${qtm_lib} >>./config.pri 83 echo QT_MOBILITY_LIB = ${qtm_lib} >>./config.pri
53 echo QT_MOBILITY_INCLUDE = ${qtm_include} >>./config.pri 84 echo QT_MOBILITY_INCLUDE = ${qtm_include} >>./config.pri
@@ -55,8 +86,6 @@ do_configure_prepend() {
55 echo QT_MOBILITY_EXAMPLES = ${qtm_examples} >>./config.pri 86 echo QT_MOBILITY_EXAMPLES = ${qtm_examples} >>./config.pri
56 echo QT_MOBILITY_DEMOS = ${qtm_demos} >>./config.pri 87 echo QT_MOBILITY_DEMOS = ${qtm_demos} >>./config.pri
57 echo QT_CONFIG ${qtm_glflags} >>./config.pri 88 echo QT_CONFIG ${qtm_glflags} >>./config.pri
58 echo bluez_enabled = ${qtm_bluezflag} >>./config.pri
59 echo ${qtm_extra_config} >>./config.pri
60 echo CONFIG += ${qtm_embedded} >>./config.pri 89 echo CONFIG += ${qtm_embedded} >>./config.pri
61} 90}
62 91