summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qt5-native.inc
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-02-28 20:56:51 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2013-04-17 16:08:56 +0200
commit5d5ba83cc6eadbff6d60d5ae4947bc9b48d846f4 (patch)
tree6cbef8286c4d167c13bbdcabbf862b0945a71e17 /recipes-qt/qt5/qt5-native.inc
parenta376cc61ed00eccd0892936d101a1ecece0e6f3c (diff)
downloadmeta-qt5-5d5ba83cc6eadbff6d60d5ae4947bc9b48d846f4.tar.gz
qt5-native: rename to qtbase-native to avoid confusion
* we also had PROVIDES for qt5-tools-native, this makes it a bit easier to see what is what * drop FILESEXTRAPATHS, not needed after renaming to match BPN with qtbase patches Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qt5-native.inc')
-rw-r--r--recipes-qt/qt5/qt5-native.inc66
1 files changed, 0 insertions, 66 deletions
diff --git a/recipes-qt/qt5/qt5-native.inc b/recipes-qt/qt5/qt5-native.inc
deleted file mode 100644
index 1aa5c0ce..00000000
--- a/recipes-qt/qt5/qt5-native.inc
+++ /dev/null
@@ -1,66 +0,0 @@
1DESCRIPTION = "Native version of Qt/[X11|Mac|Embedded]"
2DEPENDS = "zlib-native dbus-native"
3SECTION = "libs"
4HOMEPAGE = "http://qt-project.org"
5PROVIDES = "qt5-tools-native"
6
7INC_PR = "r0"
8
9inherit native
10
11QT_MODULE = "qtbase"
12
13FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/qtbase:"
14
15SRC_URI += " \
16 file://0001-qlibraryinfo-Allow-the-specification-of-where-to-loa.patch \
17 file://0003-qtbase-Allow-qt.conf-override-when-bootstrapping.patch \
18 file://0001-Always-build-uic.patch \
19"
20
21EXTRA_OECONF = " \
22 -prefix ${prefix} \
23 -L ${STAGING_LIBDIR_NATIVE} \
24 -I ${STAGING_INCDIR_NATIVE} \
25 -system-zlib \
26 -no-libjpeg \
27 -no-libpng \
28 -no-gif \
29 -no-accessibility \
30 -no-cups \
31 -no-nis \
32 -no-gui \
33 -no-qml-debug \
34 -no-sql-mysql \
35 -no-sql-sqlite \
36 -no-opengl \
37 -no-openssl \
38 -no-xcb \
39 -verbose -release \
40 -headerdir ${includedir}/qt5 \
41 -datadir ${datadir}/qt5 \
42 -docdir ${docdir}/qt5 \
43 -no-glib \
44 -no-iconv \
45 -silent \
46 -nomake examples \
47 -nomake tests \
48 -nomake demos \
49 -no-rpath \
50"
51
52do_configure() {
53 # Avoid setting QMAKE_LINK from LD (since we want the linker to be g++)
54 unset LD
55
56 (echo o; echo yes) | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}"
57}
58
59do_install() {
60 install -d ${D}${bindir}/
61 for i in findtr fixqt4headers.pl moc qdoc qmake rcc qdbuscpp2xml qdbusxml2cpp syncqt uic; do
62 install -v -m 0755 bin/${i} ${D}${bindir}/${i}
63 done
64 install -d ${D}${datadir}/qt5/
65 cp -PfR mkspecs ${D}${datadir}/qt5/
66}