diff options
Diffstat (limited to 'meta/recipes-qt')
-rw-r--r-- | meta/recipes-qt/qt4/qt-mobility_1.2.0.inc | 41 |
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 @@ | |||
1 | HOMEPAGE = "http://qt-project.org/" | 1 | HOMEPAGE = "http://qt-project.org/" |
2 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}" | 2 | DEPENDS = "gstreamer util-linux" |
3 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez4', '', d)}" | 3 | |
4 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \ | ||
5 | ${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}" | ||
6 | PACKAGECONFIG[bluetooth] = ",,bluez4" | ||
7 | PACKAGECONFIG[pulseaudio] = ",,pulseaudio" | ||
4 | 8 | ||
5 | LICENSE = "LGPLv2.1" | 9 | LICENSE = "LGPLv2.1" |
6 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \ | 10 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \ |
@@ -34,7 +38,6 @@ qtm_imports := "/usr/lib/${qtm_dir}/imports" | |||
34 | 38 | ||
35 | QTM_MODULES_LIST ?= "bearer contacts gallery location publishsubscribe messaging multimedia \ | 39 | QTM_MODULES_LIST ?= "bearer contacts gallery location publishsubscribe messaging multimedia \ |
36 | systeminfo serviceframework sensors versit organizer feedback connectivity" | 40 | systeminfo serviceframework sensors versit organizer feedback connectivity" |
37 | qtm_bluezflag ?= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'yes', 'no', d)}" | ||
38 | 41 | ||
39 | do_configure_prepend() { | 42 | do_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 | ||
55 | qmf_enabled = no | ||
56 | networkmanager_enabled = no | ||
57 | corewlan_enabled = no | ||
58 | immersion_enabled = no | ||
59 | meegotouchfeedback_enabled = no | ||
60 | maemo-icd_enabled = no | ||
61 | maemo-icd-network-wlan_enabled = no | ||
62 | maemo5-contacts_enabled = no | ||
63 | maemo5-calendar_enabled = no | ||
64 | maemo6-landmarks_enabled = no | ||
65 | bme_enabled = no | ||
66 | bluez_enabled = ${@base_contains('PACKAGECONFIG', 'bluetooth', 'yes', 'no', d)} | ||
67 | proj_enabled = no | ||
68 | gstreamer-photography_enabled = no | ||
69 | gstreamer-appsrc_enabled = yes | ||
70 | blkid_enabled = yes | ||
71 | pulseaudio_enabled = ${@base_contains('PACKAGECONFIG', 'pulseaudio', 'yes', 'no', d)} | ||
72 | udev_enabled = yes | ||
73 | iphb_enabled = no | ||
74 | nfc_symbian_enabled = no | ||
75 | sensord_enabled = no | ||
76 | geoclue-master_enabled = no | ||
77 | gypsy_enabled = no | ||
78 | ${qtm_extra_config} | ||
79 | EOF | ||
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 | ||