diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2015-05-18 16:58:37 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-20 21:41:08 +0100 |
commit | b2365c4e186bc57155edd68eed06e468b3aabdf4 (patch) | |
tree | f72813d9419d5cdf53f1154562d1c081ca1712bf /meta/recipes-qt/qt4/qt-mobility_1.2.0.inc | |
parent | 50ce68aa27e6620d76f71b8c20495d3db4e9f546 (diff) | |
download | poky-b2365c4e186bc57155edd68eed06e468b3aabdf4.tar.gz |
qt4: remove Qt Mobility
Qt Mobility is an obsolete and unmaintained framework that is also
dependent on gstreamer 0.10
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6294
(From OE-Core rev: bbad6c226f1ff2657c6095141bbf3ec936a42feb)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt-mobility_1.2.0.inc')
-rw-r--r-- | meta/recipes-qt/qt4/qt-mobility_1.2.0.inc | 112 |
1 files changed, 0 insertions, 112 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 deleted file mode 100644 index 56631bb05c..0000000000 --- a/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc +++ /dev/null | |||
@@ -1,112 +0,0 @@ | |||
1 | HOMEPAGE = "http://qt-project.org/" | ||
2 | DEPENDS = "gstreamer util-linux" | ||
3 | |||
4 | inherit bluetooth | ||
5 | |||
6 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \ | ||
7 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)}" | ||
8 | PACKAGECONFIG[bluez4] = ",,bluez4" | ||
9 | PACKAGECONFIG[pulseaudio] = ",,pulseaudio" | ||
10 | |||
11 | LICENSE = "LGPLv2.1" | ||
12 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \ | ||
13 | file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354" | ||
14 | |||
15 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt-mobility-${PV}:" | ||
16 | SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/qt-mobility/qt-mobility-opensource-src-${PV}.tar.gz/ea5db5a8d3dd4709c2926dceda646bd8/qt-mobility-opensource-src-${PV}.tar.gz \ | ||
17 | file://qt-mobility-configure.patch \ | ||
18 | file://0001-gstvideoconnector-fixed-buffers-allocation.patch \ | ||
19 | file://0002-Remove-unnecessary-rpaths-from-qml_device-example.patch \ | ||
20 | file://qt-mobility-no-opengl.patch \ | ||
21 | file://gcc-scope.patch \ | ||
22 | file://qt-mobility-no-xvideo.patch \ | ||
23 | file://fix_metaobjectbuilder_build_err.patch \ | ||
24 | file://0001-fix-embedded-usage-doesn-t-work-outside-of-Qt.patch \ | ||
25 | file://fix-compile-error-no-bluez.patch \ | ||
26 | " | ||
27 | |||
28 | SRC_URI[md5sum]="ea5db5a8d3dd4709c2926dceda646bd8" | ||
29 | SRC_URI[sha256sum]="ee3c88975e04139ac9589f76d4be646d44fcbc4c8c1cf2db621abc154cf0ba44" | ||
30 | |||
31 | PR = "r8" | ||
32 | |||
33 | S = "${WORKDIR}/qt-mobility-opensource-src-${PV}" | ||
34 | |||
35 | qtm_bin := "/usr/bin/${qtm_dir}" | ||
36 | qtm_lib := "/usr/lib" | ||
37 | qtm_include := "/usr/include/${qtm_dir}" | ||
38 | qtm_examples := "/usr/bin/${qtm_dir}/examples/QtMobility" | ||
39 | qtm_demos := "/usr/bin/${qtm_dir}/demos/QtMobility" | ||
40 | qtm_plugins := "/usr/lib/${qtm_dir}/plugins/QtMobility" | ||
41 | qtm_data := "/usr/share/${qtm_dir}" | ||
42 | qtm_imports := "/usr/lib/${qtm_dir}/imports" | ||
43 | |||
44 | QTM_MODULES_LIST ?= "bearer contacts gallery location publishsubscribe messaging multimedia \ | ||
45 | systeminfo serviceframework sensors versit organizer feedback connectivity" | ||
46 | |||
47 | do_configure_prepend() { | ||
48 | cp qtmobility.pro qtmobility.pro.old | ||
49 | sed -e 's@...QT_INSTALL_DATA.@${qtm_data}@' <qtmobility.pro.old >qtmobility.pro | ||
50 | for NAME in plugins/declarative/*/*.pro | ||
51 | do | ||
52 | cp $NAME $NAME.old | ||
53 | sed -e 's@...QT_INSTALL_IMPORTS.@${qtm_imports}@' <$NAME.old >$NAME | ||
54 | done | ||
55 | cp staticconfig.pri staticconfig.pri.old | ||
56 | echo "include(${STAGING_DATADIR}/${qtm_dir}/mkspecs/qconfig.pri)" >staticconfig.pri | ||
57 | cat staticconfig.pri.old >>staticconfig.pri | ||
58 | |||
59 | cat > features/platformconfig/oe.pri <<EOF | ||
60 | qmf_enabled = no | ||
61 | networkmanager_enabled = no | ||
62 | corewlan_enabled = no | ||
63 | immersion_enabled = no | ||
64 | meegotouchfeedback_enabled = no | ||
65 | maemo-icd_enabled = no | ||
66 | maemo-icd-network-wlan_enabled = no | ||
67 | maemo5-contacts_enabled = no | ||
68 | maemo5-calendar_enabled = no | ||
69 | maemo6-landmarks_enabled = no | ||
70 | bme_enabled = no | ||
71 | bluez_enabled = ${@bb.utils.contains('PACKAGECONFIG', 'bluez4', 'yes', 'no', d)} | ||
72 | proj_enabled = no | ||
73 | gstreamer-photography_enabled = no | ||
74 | gstreamer-appsrc_enabled = yes | ||
75 | blkid_enabled = yes | ||
76 | pulseaudio_enabled = ${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'yes', 'no', d)} | ||
77 | udev_enabled = yes | ||
78 | iphb_enabled = no | ||
79 | nfc_symbian_enabled = no | ||
80 | sensord_enabled = no | ||
81 | geoclue-master_enabled = no | ||
82 | gypsy_enabled = no | ||
83 | ${qtm_extra_config} | ||
84 | EOF | ||
85 | |||
86 | ./configure -qmake-exec qmake2 -prefix /usr -staticconfig oe -examples -demos -modules "${QTM_MODULES_LIST}" | ||
87 | echo QT_MOBILITY_BIN = ${qtm_bin} >>./config.pri | ||
88 | echo QT_MOBILITY_LIB = ${qtm_lib} >>./config.pri | ||
89 | echo QT_MOBILITY_INCLUDE = ${qtm_include} >>./config.pri | ||
90 | echo QT_MOBILITY_PLUGINS = ${qtm_plugins} >>./config.pri | ||
91 | echo QT_MOBILITY_EXAMPLES = ${qtm_examples} >>./config.pri | ||
92 | echo QT_MOBILITY_DEMOS = ${qtm_demos} >>./config.pri | ||
93 | echo QT_CONFIG ${qtm_glflags} >>./config.pri | ||
94 | echo CONFIG += ${qtm_embedded} >>./config.pri | ||
95 | } | ||
96 | |||
97 | do_install() { | ||
98 | for NAME in */*.prf | ||
99 | do | ||
100 | cp $NAME $NAME.old | ||
101 | sed -e 's@/usr@${STAGING_BINDIR}/..@' <$NAME.old >$NAME | ||
102 | done | ||
103 | oe_runmake install INSTALL_ROOT=${D} | ||
104 | } | ||
105 | |||
106 | PACKAGES = "${PN}-dbg ${PN} ${PN}-dev" | ||
107 | |||
108 | FILES_${PN}-dbg = "${qtm_bin}/.debug ${qtm_examples}/.debug ${qtm_demos}/.debug \ | ||
109 | ${qtm_lib}/.debug ${qtm_plugins}/*/.debug ${qtm_imports}/*/.debug \ | ||
110 | ${qtm_imports}/*/*/.debug ${bindir}/.debug /usr/src/debug" | ||
111 | FILES_${PN} = "${qtm_bin} ${qtm_examples} ${qtm_demos} ${qtm_lib}/*.so.1* ${qtm_plugins} ${qtm_imports}" | ||
112 | FILES_${PN}-dev = "${exec_prefix}" | ||