summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2015-05-18 16:58:37 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-20 21:41:08 +0100
commitb2365c4e186bc57155edd68eed06e468b3aabdf4 (patch)
treef72813d9419d5cdf53f1154562d1c081ca1712bf /meta/recipes-qt/qt4/qt-mobility_1.2.0.inc
parent50ce68aa27e6620d76f71b8c20495d3db4e9f546 (diff)
downloadpoky-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.inc112
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 @@
1HOMEPAGE = "http://qt-project.org/"
2DEPENDS = "gstreamer util-linux"
3
4inherit bluetooth
5
6PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \
7 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', '${BLUEZ}', '', d)}"
8PACKAGECONFIG[bluez4] = ",,bluez4"
9PACKAGECONFIG[pulseaudio] = ",,pulseaudio"
10
11LICENSE = "LGPLv2.1"
12LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \
13 file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354"
14
15FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt-mobility-${PV}:"
16SRC_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
28SRC_URI[md5sum]="ea5db5a8d3dd4709c2926dceda646bd8"
29SRC_URI[sha256sum]="ee3c88975e04139ac9589f76d4be646d44fcbc4c8c1cf2db621abc154cf0ba44"
30
31PR = "r8"
32
33S = "${WORKDIR}/qt-mobility-opensource-src-${PV}"
34
35qtm_bin := "/usr/bin/${qtm_dir}"
36qtm_lib := "/usr/lib"
37qtm_include := "/usr/include/${qtm_dir}"
38qtm_examples := "/usr/bin/${qtm_dir}/examples/QtMobility"
39qtm_demos := "/usr/bin/${qtm_dir}/demos/QtMobility"
40qtm_plugins := "/usr/lib/${qtm_dir}/plugins/QtMobility"
41qtm_data := "/usr/share/${qtm_dir}"
42qtm_imports := "/usr/lib/${qtm_dir}/imports"
43
44QTM_MODULES_LIST ?= "bearer contacts gallery location publishsubscribe messaging multimedia \
45systeminfo serviceframework sensors versit organizer feedback connectivity"
46
47do_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
60qmf_enabled = no
61networkmanager_enabled = no
62corewlan_enabled = no
63immersion_enabled = no
64meegotouchfeedback_enabled = no
65maemo-icd_enabled = no
66maemo-icd-network-wlan_enabled = no
67maemo5-contacts_enabled = no
68maemo5-calendar_enabled = no
69maemo6-landmarks_enabled = no
70bme_enabled = no
71bluez_enabled = ${@bb.utils.contains('PACKAGECONFIG', 'bluez4', 'yes', 'no', d)}
72proj_enabled = no
73gstreamer-photography_enabled = no
74gstreamer-appsrc_enabled = yes
75blkid_enabled = yes
76pulseaudio_enabled = ${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'yes', 'no', d)}
77udev_enabled = yes
78iphb_enabled = no
79nfc_symbian_enabled = no
80sensord_enabled = no
81geoclue-master_enabled = no
82gypsy_enabled = no
83${qtm_extra_config}
84EOF
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
97do_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
106PACKAGES = "${PN}-dbg ${PN} ${PN}-dev"
107
108FILES_${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"
111FILES_${PN} = "${qtm_bin} ${qtm_examples} ${qtm_demos} ${qtm_lib}/*.so.1* ${qtm_plugins} ${qtm_imports}"
112FILES_${PN}-dev = "${exec_prefix}"