summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase-native.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qtbase-native.inc')
-rw-r--r--recipes-qt/qt5/qtbase-native.inc31
1 files changed, 21 insertions, 10 deletions
diff --git a/recipes-qt/qt5/qtbase-native.inc b/recipes-qt/qt5/qtbase-native.inc
index db1292cd..c401c7bd 100644
--- a/recipes-qt/qt5/qtbase-native.inc
+++ b/recipes-qt/qt5/qtbase-native.inc
@@ -3,18 +3,24 @@ DEPENDS = "zlib-native dbus-native"
3SECTION = "libs" 3SECTION = "libs"
4HOMEPAGE = "http://qt-project.org" 4HOMEPAGE = "http://qt-project.org"
5 5
6INC_PR = "r0" 6INC_PR = "r1"
7 7
8inherit native 8inherit native
9 9
10QT_MODULE = "qtbase" 10QT_MODULE = "qtbase"
11 11
12SSTATE_SCAN_FILES += "*.pri *.prl"
13QT_DIR_NAME ?= "qt5"
14
12SRC_URI += " \ 15SRC_URI += " \
13 file://0001-qlibraryinfo-Allow-the-specification-of-where-to-loa.patch \ 16 file://0001-qlibraryinfo-Allow-the-specification-of-where-to-loa.patch \
14 file://0003-qtbase-Allow-qt.conf-override-when-bootstrapping.patch \ 17 file://0003-qtbase-Allow-qt.conf-override-when-bootstrapping.patch \
15 file://0001-Always-build-uic.patch \ 18 file://0001-Always-build-uic.patch \
16" 19"
17 20
21EXTRA_ENV = 'MAKE="make -e ${PARALLEL_MAKE}"'
22EXTRA_OEMAKE = ' MAKEFLAGS=${PARALLEL_MAKE} '
23
18EXTRA_OECONF = " \ 24EXTRA_OECONF = " \
19 -prefix ${prefix} \ 25 -prefix ${prefix} \
20 -L ${STAGING_LIBDIR_NATIVE} \ 26 -L ${STAGING_LIBDIR_NATIVE} \
@@ -34,9 +40,14 @@ EXTRA_OECONF = " \
34 -no-openssl \ 40 -no-openssl \
35 -no-xcb \ 41 -no-xcb \
36 -verbose -release \ 42 -verbose -release \
37 -headerdir ${includedir}/qt5 \ 43 -prefix ${prefix} \
38 -datadir ${datadir}/qt5 \ 44 -bindir ${bindir}/${QT_DIR_NAME} \
39 -docdir ${docdir}/qt5 \ 45 -headerdir ${includedir}/${QT_DIR_NAME} \
46 -archdatadir ${libdir}/${QT_DIR_NAME} \
47 -datadir ${datadir}/${QT_DIR_NAME} \
48 -docdir ${docdir}/${QT_DIR_NAME} \
49 -hostdatadir ${datadir}/${QT_DIR_NAME} \
50 -hostbindir ${bindir}/${QT_DIR_NAME} \
40 -no-glib \ 51 -no-glib \
41 -no-iconv \ 52 -no-iconv \
42 -silent \ 53 -silent \
@@ -54,10 +65,10 @@ do_configure() {
54} 65}
55 66
56do_install() { 67do_install() {
57 install -d ${D}${bindir}/ 68 oe_runmake install INSTALL_ROOT=${D}
58 for i in findtr fixqt4headers.pl moc qdoc qmake rcc qdbuscpp2xml qdbusxml2cpp syncqt uic; do 69 ln -sf linux-g++ ${D}${datadir}/${QT_DIR_NAME}/mkspecs/${BUILD_OS}-oe-g++
59 install -v -m 0755 bin/${i} ${D}${bindir}/${i} 70
60 done 71 # replace common files with our version
61 install -d ${D}${datadir}/qt5/ 72 cp -f ${WORKDIR}/g++.conf ${D}${datadir}/${QT_DIR_NAME}/mkspecs/common/g++-unix.conf
62 cp -PfR mkspecs ${D}${datadir}/qt5/ 73 cp -f ${WORKDIR}/linux.conf ${D}${datadir}/${QT_DIR_NAME}/mkspecs/common/linux.conf
63} 74}