diff options
-rw-r--r-- | recipes-qt/qt5/qt5-5.0.0+git.inc | 2 | ||||
-rw-r--r-- | recipes-qt/qt5/qt5.inc | 45 | ||||
-rw-r--r-- | recipes-qt/qt5/qt5_arch.inc | 14 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase-native.inc | 80 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase.inc | 11 | ||||
-rw-r--r-- | recipes-qt/qt5/qtdeclarative.inc | 2 | ||||
-rw-r--r-- | recipes-qt/qt5/qtjsbackend.inc | 6 |
7 files changed, 79 insertions, 81 deletions
diff --git a/recipes-qt/qt5/qt5-5.0.0+git.inc b/recipes-qt/qt5/qt5-5.0.0+git.inc index a1ac0e76..d44eeecf 100644 --- a/recipes-qt/qt5/qt5-5.0.0+git.inc +++ b/recipes-qt/qt5/qt5-5.0.0+git.inc | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | # each module needs to define valid SRCREV | 3 | # each module needs to define valid SRCREV |
4 | SRC_URI += " \ | 4 | SRC_URI += " \ |
5 | git://qt.gitorious.org/qt/${QT_MODULE}.git;protocol=git;branch=stable \ | 5 | git://qt.gitorious.org/qt/${QT_MODULE}.git;protocol=git;branch=stable \ |
6 | " | 6 | " |
7 | 7 | ||
8 | S = "${WORKDIR}/git" | 8 | S = "${WORKDIR}/git" |
diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc index b8d09fe3..b3ab2103 100644 --- a/recipes-qt/qt5/qt5.inc +++ b/recipes-qt/qt5/qt5.inc | |||
@@ -35,24 +35,24 @@ QT_EXAMPLES ?= "-nomake examples" | |||
35 | QT_DEMOS ?= "-nomake demos" | 35 | QT_DEMOS ?= "-nomake demos" |
36 | 36 | ||
37 | QT_CONFIG_FLAGS += " \ | 37 | QT_CONFIG_FLAGS += " \ |
38 | -release \ | 38 | -release \ |
39 | -reduce-relocations \ | 39 | -reduce-relocations \ |
40 | -shared \ | 40 | -shared \ |
41 | -silent \ | 41 | -silent \ |
42 | -glib \ | 42 | -glib \ |
43 | -no-pch \ | 43 | -no-pch \ |
44 | -no-rpath \ | 44 | -no-rpath \ |
45 | -pkg-config \ | 45 | -pkg-config \ |
46 | ${QT_SYSTEM_LIBS} \ | 46 | ${QT_SYSTEM_LIBS} \ |
47 | ${QT_NIS} \ | 47 | ${QT_NIS} \ |
48 | ${QT_CUPS} \ | 48 | ${QT_CUPS} \ |
49 | ${QT_SQL_DRIVER_FLAGS} \ | 49 | ${QT_SQL_DRIVER_FLAGS} \ |
50 | ${QT_DISTRO_FLAGS} \ | 50 | ${QT_DISTRO_FLAGS} \ |
51 | ${QT_MODULE_FLAGS} \ | 51 | ${QT_MODULE_FLAGS} \ |
52 | ${QT_GLFLAGS} \ | 52 | ${QT_GLFLAGS} \ |
53 | ${QT_TESTS} \ | 53 | ${QT_TESTS} \ |
54 | ${QT_EXAMPLES} \ | 54 | ${QT_EXAMPLES} \ |
55 | ${QT_DEMOS} \ | 55 | ${QT_DEMOS} \ |
56 | " | 56 | " |
57 | 57 | ||
58 | do_configure() { | 58 | do_configure() { |
@@ -64,7 +64,6 @@ do_configure() { | |||
64 | } | 64 | } |
65 | 65 | ||
66 | do_compile() { | 66 | do_compile() { |
67 | |||
68 | unset CFLAGS CXXFLAGS AR | 67 | unset CFLAGS CXXFLAGS AR |
69 | 68 | ||
70 | oe_runmake ${EXTRA_ENV} | 69 | oe_runmake ${EXTRA_ENV} |
@@ -80,8 +79,8 @@ FILES_${PN}-plugins = "${libdir}/${QT_DIR_NAME}/plugins/*/*${SOLIBSDEV}" | |||
80 | FILES_${PN}-plugins-dbg = "${libdir}/${QT_DIR_NAME}/plugins/*/.debug/*" | 79 | FILES_${PN}-plugins-dbg = "${libdir}/${QT_DIR_NAME}/plugins/*/.debug/*" |
81 | 80 | ||
82 | FILES_${PN}-dev += " \ | 81 | FILES_${PN}-dev += " \ |
83 | ${libdir}/cmake/* \ | 82 | ${libdir}/cmake/* \ |
84 | ${libdir}/*.prl \ | 83 | ${libdir}/*.prl \ |
85 | ${includedir}/qt5/* \ | 84 | ${includedir}/qt5/* \ |
86 | ${datadir}/qt5/* \ | 85 | ${datadir}/qt5/* \ |
87 | " | 86 | " |
diff --git a/recipes-qt/qt5/qt5_arch.inc b/recipes-qt/qt5/qt5_arch.inc index 7048d7a3..25fbf904 100644 --- a/recipes-qt/qt5/qt5_arch.inc +++ b/recipes-qt/qt5/qt5_arch.inc | |||
@@ -1,13 +1,13 @@ | |||
1 | inherit siteinfo | 1 | inherit siteinfo |
2 | 2 | ||
3 | set_arch() { | 3 | set_arch() { |
4 | case ${TARGET_ARCH} in | 4 | case ${TARGET_ARCH} in |
5 | arm*) QT_ARCH=arm ;; | 5 | arm*) QT_ARCH=arm ;; |
6 | i*86*) QT_ARCH=i386 ;; | 6 | i*86*) QT_ARCH=i386 ;; |
7 | mips*) QT_ARCH=mips ;; | 7 | mips*) QT_ARCH=mips ;; |
8 | powerpc*) QT_ARCH=powerpc ;; | 8 | powerpc*) QT_ARCH=powerpc ;; |
9 | x86_64*) QT_ARCH=x86_64 ;; | 9 | x86_64*) QT_ARCH=x86_64 ;; |
10 | esac | 10 | esac |
11 | } | 11 | } |
12 | 12 | ||
13 | set_endian() { | 13 | set_endian() { |
diff --git a/recipes-qt/qt5/qtbase-native.inc b/recipes-qt/qt5/qtbase-native.inc index 0f196e4e..d601d2ce 100644 --- a/recipes-qt/qt5/qtbase-native.inc +++ b/recipes-qt/qt5/qtbase-native.inc | |||
@@ -13,48 +13,48 @@ SSTATE_SCAN_FILES += "*.pri *.prl" | |||
13 | QT_DIR_NAME ?= "qt5" | 13 | QT_DIR_NAME ?= "qt5" |
14 | 14 | ||
15 | SRC_URI += " \ | 15 | SRC_URI += " \ |
16 | file://0001-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ | 16 | file://0001-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ |
17 | file://0001-Always-build-uic.patch \ | 17 | file://0001-Always-build-uic.patch \ |
18 | file://qmake.conf \ | 18 | file://qmake.conf \ |
19 | " | 19 | " |
20 | 20 | ||
21 | EXTRA_ENV = 'MAKE="make -e ${PARALLEL_MAKE}"' | 21 | EXTRA_ENV = 'MAKE="make -e ${PARALLEL_MAKE}"' |
22 | EXTRA_OEMAKE = " MAKEFLAGS='${PARALLEL_MAKE}'" | 22 | EXTRA_OEMAKE = " MAKEFLAGS='${PARALLEL_MAKE}'" |
23 | 23 | ||
24 | EXTRA_OECONF = " \ | 24 | EXTRA_OECONF = " \ |
25 | -prefix ${prefix} \ | 25 | -prefix ${prefix} \ |
26 | -L ${STAGING_LIBDIR_NATIVE} \ | 26 | -L ${STAGING_LIBDIR_NATIVE} \ |
27 | -I ${STAGING_INCDIR_NATIVE} \ | 27 | -I ${STAGING_INCDIR_NATIVE} \ |
28 | -system-zlib \ | 28 | -system-zlib \ |
29 | -no-libjpeg \ | 29 | -no-libjpeg \ |
30 | -no-libpng \ | 30 | -no-libpng \ |
31 | -no-gif \ | 31 | -no-gif \ |
32 | -no-accessibility \ | 32 | -no-accessibility \ |
33 | -no-cups \ | 33 | -no-cups \ |
34 | -no-nis \ | 34 | -no-nis \ |
35 | -no-gui \ | 35 | -no-gui \ |
36 | -no-qml-debug \ | 36 | -no-qml-debug \ |
37 | -no-sql-mysql \ | 37 | -no-sql-mysql \ |
38 | -no-sql-sqlite \ | 38 | -no-sql-sqlite \ |
39 | -no-opengl \ | 39 | -no-opengl \ |
40 | -no-openssl \ | 40 | -no-openssl \ |
41 | -no-xcb \ | 41 | -no-xcb \ |
42 | -verbose -release \ | 42 | -verbose -release \ |
43 | -prefix ${prefix} \ | 43 | -prefix ${prefix} \ |
44 | -bindir ${bindir}/${QT_DIR_NAME} \ | 44 | -bindir ${bindir}/${QT_DIR_NAME} \ |
45 | -headerdir ${includedir}/${QT_DIR_NAME} \ | 45 | -headerdir ${includedir}/${QT_DIR_NAME} \ |
46 | -archdatadir ${libdir}/${QT_DIR_NAME} \ | 46 | -archdatadir ${libdir}/${QT_DIR_NAME} \ |
47 | -datadir ${datadir}/${QT_DIR_NAME} \ | 47 | -datadir ${datadir}/${QT_DIR_NAME} \ |
48 | -docdir ${docdir}/${QT_DIR_NAME} \ | 48 | -docdir ${docdir}/${QT_DIR_NAME} \ |
49 | -hostdatadir ${datadir}/${QT_DIR_NAME} \ | 49 | -hostdatadir ${datadir}/${QT_DIR_NAME} \ |
50 | -hostbindir ${bindir}/${QT_DIR_NAME} \ | 50 | -hostbindir ${bindir}/${QT_DIR_NAME} \ |
51 | -no-glib \ | 51 | -no-glib \ |
52 | -no-iconv \ | 52 | -no-iconv \ |
53 | -silent \ | 53 | -silent \ |
54 | -nomake examples \ | 54 | -nomake examples \ |
55 | -nomake tests \ | 55 | -nomake tests \ |
56 | -nomake demos \ | 56 | -nomake demos \ |
57 | -no-rpath \ | 57 | -no-rpath \ |
58 | " | 58 | " |
59 | 59 | ||
60 | # qtbase is exception, we need to use mkspecs from ${S} | 60 | # qtbase is exception, we need to use mkspecs from ${S} |
@@ -72,12 +72,12 @@ do_configure_prepend() { | |||
72 | } | 72 | } |
73 | 73 | ||
74 | do_configure() { | 74 | do_configure() { |
75 | # Avoid setting QMAKE_LINK from LD (since we want the linker to be g++) | 75 | # Avoid setting QMAKE_LINK from LD (since we want the linker to be g++) |
76 | unset LD | 76 | unset LD |
77 | 77 | ||
78 | (echo o; echo yes) | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}" | 78 | (echo o; echo yes) | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}" |
79 | } | 79 | } |
80 | 80 | ||
81 | do_install() { | 81 | do_install() { |
82 | oe_runmake install INSTALL_ROOT=${D} | 82 | oe_runmake install INSTALL_ROOT=${D} |
83 | } | 83 | } |
diff --git a/recipes-qt/qt5/qtbase.inc b/recipes-qt/qt5/qtbase.inc index 7a1c9452..ad559962 100644 --- a/recipes-qt/qt5/qtbase.inc +++ b/recipes-qt/qt5/qtbase.inc | |||
@@ -1,11 +1,11 @@ | |||
1 | require qt5.inc | 1 | require qt5.inc |
2 | 2 | ||
3 | SRC_URI += " \ | 3 | SRC_URI += " \ |
4 | file://0001-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ | 4 | file://0001-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \ |
5 | file://0002-qmake-is-already-built-in-qt5-tools-native.patch \ | 5 | file://0002-qmake-is-already-built-in-qt5-tools-native.patch \ |
6 | file://0003-Allow-building-a-separate-qmake-for-the-target.patch \ | 6 | file://0003-Allow-building-a-separate-qmake-for-the-target.patch \ |
7 | file://0004-configure-eval-QMAKE_CXX.patch \ | 7 | file://0004-configure-eval-QMAKE_CXX.patch \ |
8 | file://qmake.conf \ | 8 | file://qmake.conf \ |
9 | " | 9 | " |
10 | 10 | ||
11 | DEPENDS += "qtbase-native virtual/libgl freetype jpeg libpng zlib openssl glib-2.0 ${ICU} udev" | 11 | DEPENDS += "qtbase-native virtual/libgl freetype jpeg libpng zlib openssl glib-2.0 ${ICU} udev" |
@@ -20,7 +20,6 @@ XCB_DEPENDS += "xcb-util-wm xcb-util-image xcb-util-keysyms dbus" | |||
20 | 20 | ||
21 | QT_MODULE_FLAGS = "-no-xcb" | 21 | QT_MODULE_FLAGS = "-no-xcb" |
22 | 22 | ||
23 | |||
24 | INC_PR = "r0" | 23 | INC_PR = "r0" |
25 | 24 | ||
26 | QT_BASE_NAME = "qt5" | 25 | QT_BASE_NAME = "qt5" |
diff --git a/recipes-qt/qt5/qtdeclarative.inc b/recipes-qt/qt5/qtdeclarative.inc index db944be6..57464134 100644 --- a/recipes-qt/qt5/qtdeclarative.inc +++ b/recipes-qt/qt5/qtdeclarative.inc | |||
@@ -12,7 +12,7 @@ inherit qmake5 | |||
12 | 12 | ||
13 | SRC_URI += " \ | 13 | SRC_URI += " \ |
14 | file://module_qmake.conf \ | 14 | file://module_qmake.conf \ |
15 | " | 15 | " |
16 | 16 | ||
17 | export QT_CONF_PATH="${WORKDIR}/qt.conf" | 17 | export QT_CONF_PATH="${WORKDIR}/qt.conf" |
18 | 18 | ||
diff --git a/recipes-qt/qt5/qtjsbackend.inc b/recipes-qt/qt5/qtjsbackend.inc index 3da6cc76..3ee10178 100644 --- a/recipes-qt/qt5/qtjsbackend.inc +++ b/recipes-qt/qt5/qtjsbackend.inc | |||
@@ -22,10 +22,10 @@ PARALLEL_MAKE = "" | |||
22 | export QT_CONF_PATH="${WORKDIR}/qt.conf" | 22 | export QT_CONF_PATH="${WORKDIR}/qt.conf" |
23 | 23 | ||
24 | do_configure () { | 24 | do_configure () { |
25 | # Avoid setting QMAKE_LINK from LD (since we want the linker to be g++) | 25 | # Avoid setting QMAKE_LINK from LD (since we want the linker to be g++) |
26 | unset LD | 26 | unset LD |
27 | 27 | ||
28 | # This should not be needed. Perhaps the lack of this file is an indication | 28 | # This should not be needed. Perhaps the lack of this file is an indication |
29 | # of an error on the native recipe... | 29 | # of an error on the native recipe... |
30 | cp ${WORKDIR}/module_qmake.conf ${S}/.qmake.conf | 30 | cp ${WORKDIR}/module_qmake.conf ${S}/.qmake.conf |
31 | 31 | ||