diff options
author | Denis Carikli <denis@eukrea.com> | 2011-09-15 18:19:16 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-04 13:46:25 +0100 |
commit | 3af27a3686b8e8fd90714f7ffaeeb43768b89754 (patch) | |
tree | cdd490eec82dd4f24f8d22389b861aab8923850f /meta/recipes-qt/qt4 | |
parent | 14f65e46a4270d0074e2a749236904d589a879a5 (diff) | |
download | poky-3af27a3686b8e8fd90714f7ffaeeb43768b89754.tar.gz |
qt4.inc: package qtdemo's docs in a separate package
The documentation was 285M and doesn't fit on the NAND of many machines,
but in another had part of the documentation is needed for the
QT demos, so we split the documentation: so qt demo only RRECOMMAND
the documentation that it really needs.
Thanks to Eric BĂ©nard for explaining me how to split it.
(From OE-Core rev: 97446651cd5128ca7a549df677c920e2463c46f9)
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4')
-rw-r--r-- | meta/recipes-qt/qt4/qt4-x11-free.inc | 2 | ||||
-rw-r--r-- | meta/recipes-qt/qt4/qt4.inc | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/meta/recipes-qt/qt4/qt4-x11-free.inc b/meta/recipes-qt/qt4/qt4-x11-free.inc index a360ec3440..93feb0ed34 100644 --- a/meta/recipes-qt/qt4/qt4-x11-free.inc +++ b/meta/recipes-qt/qt4/qt4-x11-free.inc | |||
@@ -5,7 +5,7 @@ HOMEPAGE = "http://qt.nokia.com" | |||
5 | SECTION = "x11/libs" | 5 | SECTION = "x11/libs" |
6 | DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor" | 6 | DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor" |
7 | 7 | ||
8 | INC_PR = "r28" | 8 | INC_PR = "r30" |
9 | 9 | ||
10 | QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} " | 10 | QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} " |
11 | QT_GLFLAGS_qemux86 = "-opengl" | 11 | QT_GLFLAGS_qemux86 = "-opengl" |
diff --git a/meta/recipes-qt/qt4/qt4.inc b/meta/recipes-qt/qt4/qt4.inc index 23832db8a3..eb01a1b759 100644 --- a/meta/recipes-qt/qt4/qt4.inc +++ b/meta/recipes-qt/qt4/qt4.inc | |||
@@ -101,6 +101,8 @@ OTHER_PACKAGES = "\ | |||
101 | ${QT_BASE_NAME}-qt3to4 \ | 101 | ${QT_BASE_NAME}-qt3to4 \ |
102 | ${QT_BASE_NAME}-qml-plugins" | 102 | ${QT_BASE_NAME}-qml-plugins" |
103 | 103 | ||
104 | #We prepend so ${QT_BASE_NAME}-demos-doc comes before ${PN}-doc,so the packaging of FILES_ get done before. | ||
105 | PACKAGES =+ "${QT_BASE_NAME}-demos-doc" | ||
104 | PACKAGES += "${LIB_PACKAGES} ${DEV_PACKAGES} ${DBG_PACKAGES} ${OTHER_PACKAGES}" | 106 | PACKAGES += "${LIB_PACKAGES} ${DEV_PACKAGES} ${DBG_PACKAGES} ${OTHER_PACKAGES}" |
105 | PACKAGES_DYNAMIC = "${QT_BASE_NAME}-plugin-* ${QT_BASE_NAME}-translation-* ${QT_BASE_NAME}-fonts-*" | 107 | PACKAGES_DYNAMIC = "${QT_BASE_NAME}-plugin-* ${QT_BASE_NAME}-translation-* ${QT_BASE_NAME}-fonts-*" |
106 | 108 | ||
@@ -109,6 +111,7 @@ ALLOW_EMPTY_${QT_BASE_NAME}-fonts = "1" | |||
109 | FILES_${PN} = "" | 111 | FILES_${PN} = "" |
110 | FILES_${PN}-dev = "${includedir}/${QT_DIR_NAME}/Qt/*" | 112 | FILES_${PN}-dev = "${includedir}/${QT_DIR_NAME}/Qt/*" |
111 | FILES_${PN}-dbg = "${exec_prefix}/src/debug/" | 113 | FILES_${PN}-dbg = "${exec_prefix}/src/debug/" |
114 | FILES_${QT_BASE_NAME}-demos-doc = "${docdir}/qtopia/qch/qt.qch" | ||
112 | RRECOMMENDS_${PN} = "${LIB_PACKAGES} ${OTHER_PACKAGES}" | 115 | RRECOMMENDS_${PN} = "${LIB_PACKAGES} ${OTHER_PACKAGES}" |
113 | RRECOMMENDS_${PN}-dev = "${DEV_PACKAGES}" | 116 | RRECOMMENDS_${PN}-dev = "${DEV_PACKAGES}" |
114 | RRECOMMENDS_${PN}-dbg = "${DBG_PACKAGES}" | 117 | RRECOMMENDS_${PN}-dbg = "${DBG_PACKAGES}" |
@@ -124,13 +127,16 @@ RRECOMMENDS_${QT_BASE_NAME}-demos += " \ | |||
124 | ${QT_BASE_NAME}-plugin-sqldriver-sqlite \ | 127 | ${QT_BASE_NAME}-plugin-sqldriver-sqlite \ |
125 | ${QT_BASE_NAME}-plugin-imageformat-jpeg \ | 128 | ${QT_BASE_NAME}-plugin-imageformat-jpeg \ |
126 | ${QT_BASE_NAME}-qml-plugins \ | 129 | ${QT_BASE_NAME}-qml-plugins \ |
127 | ${QT_BASE_NAME}-assistant" | 130 | ${QT_BASE_NAME}-assistant \ |
131 | ${QT_BASE_NAME}-demos-doc" | ||
128 | RRECOMMENDS_${QT_BASE_NAME}-examples += " \ | 132 | RRECOMMENDS_${QT_BASE_NAME}-examples += " \ |
129 | ${QT_BASE_NAME}-plugin-sqldriver-sqlite \ | 133 | ${QT_BASE_NAME}-plugin-sqldriver-sqlite \ |
130 | ${QT_BASE_NAME}-plugin-imageformat-jpeg \ | 134 | ${QT_BASE_NAME}-plugin-imageformat-jpeg \ |
131 | ${QT_BASE_NAME}-qml-plugins" | 135 | ${QT_BASE_NAME}-qml-plugins" |
132 | RRECOMMENDS_${QT_BASE_NAME}-qmlviewer += " \ | 136 | RRECOMMENDS_${QT_BASE_NAME}-qmlviewer += " \ |
133 | ${QT_BASE_NAME}-qml-plugins" | 137 | ${QT_BASE_NAME}-qml-plugins" |
138 | RRECOMMENDS_${QT_BASE_NAME}-doc += " \ | ||
139 | ${QT_BASE_NAME}-demos-doc" | ||
134 | 140 | ||
135 | FILES_${QT_BASE_NAME}-tools = "${bindir}/qttracereplay ${bindir}/qdoc*" | 141 | FILES_${QT_BASE_NAME}-tools = "${bindir}/qttracereplay ${bindir}/qdoc*" |
136 | FILES_${QT_BASE_NAME}-tools-dbg = "${bindir}/.debug/qttracereplay ${bindir}/.debug/qdoc*" | 142 | FILES_${QT_BASE_NAME}-tools-dbg = "${bindir}/.debug/qttracereplay ${bindir}/.debug/qdoc*" |