diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2015-11-27 15:48:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-07 13:40:14 +0000 |
commit | 8b11ed8a75a15328bbd22d100a976cc669b84b58 (patch) | |
tree | 9b93d0fcd8fd973943ca61f126cae47066113922 /meta/recipes-qt/qt4/qt4-native.inc | |
parent | 0baadc8a98daa14090b04e728fb5a44af3f545c8 (diff) | |
download | poky-8b11ed8a75a15328bbd22d100a976cc669b84b58.tar.gz |
qt4: remove recipes and classes
Qt4 is no longer supportd upstream, but it is still needed for LSB compliancy.
Qt4 recipes have been moved to a separate meta-qt4 layer to be consistent with
meta-qt3 and meta-qt5.
(From OE-Core rev: cb89d2b25b4edb1241bc5426a69a6bc44df9be2c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt4-native.inc')
-rw-r--r-- | meta/recipes-qt/qt4/qt4-native.inc | 116 |
1 files changed, 0 insertions, 116 deletions
diff --git a/meta/recipes-qt/qt4/qt4-native.inc b/meta/recipes-qt/qt4/qt4-native.inc deleted file mode 100644 index 58acac87ed..0000000000 --- a/meta/recipes-qt/qt4/qt4-native.inc +++ /dev/null | |||
@@ -1,116 +0,0 @@ | |||
1 | SUMMARY = "Qt version 4 tools and support files for the build host" | ||
2 | DEPENDS = "zlib-native dbus-native" | ||
3 | SECTION = "libs" | ||
4 | HOMEPAGE = "http://qt-project.org/" | ||
5 | PROVIDES = "qt4-tools-native" | ||
6 | |||
7 | LICENSE = "LGPLv2.1 | GPLv3" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \ | ||
9 | file://LICENSE.GPL3;md5=6e1694ee338db410417517884918d4d2 \ | ||
10 | file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6" | ||
11 | |||
12 | inherit native | ||
13 | |||
14 | SRC_URI = "http://download.qt-project.org/official_releases/qt/4.8/${PV}/qt-everywhere-opensource-src-${PV}.tar.gz \ | ||
15 | file://0001-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ | ||
16 | file://0002-qkbdtty_qws-fix-build-with-old-kernel-headers.patch \ | ||
17 | file://0003-webkit2-set-OUTPUT_DIR-value-if-empty.patch \ | ||
18 | file://0021-configure-make-qt4-native-work-with-long-building-pa.patch \ | ||
19 | file://g++.conf \ | ||
20 | file://linux.conf \ | ||
21 | " | ||
22 | |||
23 | UPSTREAM_CHECK_URI = "http://download.qt.io/official_releases/qt/4.8/" | ||
24 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/" | ||
25 | |||
26 | S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}" | ||
27 | |||
28 | EXTRA_OECONF = "-prefix ${prefix} \ | ||
29 | -bindir ${bindir} \ | ||
30 | -libdir ${libdir} \ | ||
31 | -datadir ${datadir}/qt4 \ | ||
32 | -sysconfdir ${sysconfdir}/qt4 \ | ||
33 | -docdir ${docdir}/qt4 \ | ||
34 | -headerdir ${includedir}/qt4 \ | ||
35 | -plugindir ${libdir}/qt4/plugins \ | ||
36 | -importdir ${libdir}/qt4/imports \ | ||
37 | -translationdir ${datadir}/qt4/translations \ | ||
38 | -examplesdir ${bindir}/qt4/examples \ | ||
39 | -demosdir ${bindir}/qt4/demos \ | ||
40 | -L ${STAGING_LIBDIR_NATIVE} \ | ||
41 | -I ${STAGING_INCDIR_NATIVE} \ | ||
42 | -qt-libjpeg -system-zlib \ | ||
43 | -no-libjpeg -no-libpng -no-libmng -no-libtiff \ | ||
44 | -no-accessibility \ | ||
45 | -no-cups \ | ||
46 | -no-nas-sound \ | ||
47 | -no-nis -no-openssl \ | ||
48 | -verbose -release \ | ||
49 | -embedded -no-freetype -no-glib -no-iconv \ | ||
50 | -exceptions -xmlpatterns \ | ||
51 | -qt3support \ | ||
52 | -no-fast -silent -no-rpath" | ||
53 | |||
54 | # yank default -e, otherwise we get the following error: | ||
55 | # moc_qbuffer.cpp: No such file or directory | ||
56 | EXTRA_OEMAKE = " " | ||
57 | |||
58 | do_configure() { | ||
59 | # Avoid problems with Qt 4.8.0 configure setting QMAKE_LINK from LD (since we want the linker to be g++) | ||
60 | unset LD | ||
61 | |||
62 | (echo o; echo yes) | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}" | ||
63 | } | ||
64 | |||
65 | TOBUILD = "\ | ||
66 | src/tools/moc \ | ||
67 | src/corelib \ | ||
68 | src/sql \ | ||
69 | src/xml \ | ||
70 | src/network \ | ||
71 | src/tools/uic \ | ||
72 | src/tools/rcc \ | ||
73 | src/xmlpatterns \ | ||
74 | src/dbus \ | ||
75 | src/gui \ | ||
76 | src/testlib \ | ||
77 | src/qt3support \ | ||
78 | src/tools/uic3 \ | ||
79 | tools/linguist/lconvert \ | ||
80 | tools/linguist/lrelease \ | ||
81 | tools/linguist/lupdate \ | ||
82 | tools/qdbus/qdbuscpp2xml \ | ||
83 | tools/qdbus/qdbusxml2cpp \ | ||
84 | tools/xmlpatterns \ | ||
85 | " | ||
86 | |||
87 | do_compile() { | ||
88 | for i in ${TOBUILD}; do | ||
89 | cd ${S}/$i && oe_runmake CC="${CC}" CXX="${CXX}" | ||
90 | done | ||
91 | } | ||
92 | |||
93 | do_install() { | ||
94 | install -d ${D}${bindir}/ | ||
95 | install -m 0755 bin/qmake ${D}${bindir}/qmake2 | ||
96 | for i in moc uic uic3 rcc lconvert lrelease lupdate qdbuscpp2xml qdbusxml2cpp xmlpatterns; do | ||
97 | install -m 0755 bin/${i} ${D}${bindir}/${i}4 | ||
98 | done | ||
99 | |||
100 | install -d ${D}${datadir}/qt4/ | ||
101 | cp -PfR mkspecs ${D}${datadir}/qt4/ | ||
102 | ln -sf linux-g++ ${D}${datadir}/qt4/mkspecs/${BUILD_OS}-oe-g++ | ||
103 | if [ -f ${D}${datadir}/qt4/mkspecs/common/g++-unix.conf ] ; then | ||
104 | # mkspecs were refactored for 4.8.0 | ||
105 | cp -f ${WORKDIR}/g++.conf ${D}${datadir}/qt4/mkspecs/common/g++-unix.conf | ||
106 | else | ||
107 | cp -f ${WORKDIR}/g++.conf ${D}${datadir}/qt4/mkspecs/common/g++.conf | ||
108 | fi | ||
109 | cp -f ${WORKDIR}/linux.conf ${D}${datadir}/qt4/mkspecs/common/ | ||
110 | |||
111 | install -m 0644 tools/porting/src/q3porting.xml ${D}${datadir}/qt4/ | ||
112 | |||
113 | for i in ${TOBUILD}; do | ||
114 | cd ${S}/$i && oe_runmake install INSTALL_ROOT=${D} | ||
115 | done | ||
116 | } | ||