summaryrefslogtreecommitdiffstats
path: root/package/qt5/qt5webkit-examples/qt5webkit-examples-0001-build.patch
diff options
context:
space:
mode:
authorMassimo Callegari <massimocallegari@yahoo.it>2014-07-11 14:46:52 +0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-15 22:40:13 +0200
commit762b14713e21214c4ed43af684888edb821f6a0b (patch)
tree4b851434a412ef349ea84bbd911ff5070a96c009 /package/qt5/qt5webkit-examples/qt5webkit-examples-0001-build.patch
parenta570dea84f2e1728b43348c166694a3246d1b49c (diff)
downloadbuildroot-762b14713e21214c4ed43af684888edb821f6a0b.tar.gz
buildroot-762b14713e21214c4ed43af684888edb821f6a0b.zip
qt5webkit-examples: new package
[Thomas: remove QT5WEBKIT_EXAMPLES_INSTALL_STAGING = YES.] Signed-off-by: Massimo Callegari <massimocallegari@yahoo.it> Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/qt5/qt5webkit-examples/qt5webkit-examples-0001-build.patch')
-rw-r--r--package/qt5/qt5webkit-examples/qt5webkit-examples-0001-build.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/qt5/qt5webkit-examples/qt5webkit-examples-0001-build.patch b/package/qt5/qt5webkit-examples/qt5webkit-examples-0001-build.patch
new file mode 100644
index 0000000000..68964f01ff
--- /dev/null
+++ b/package/qt5/qt5webkit-examples/qt5webkit-examples-0001-build.patch
@@ -0,0 +1,30 @@
+This patch improves the qt5webkit examples build for 2 aspects:
+
+# Allows to build even if qt5base examples are not enabled
+# Builds xmlpatterns example only if the qt5xmlpattern package has been built
+
+Signed-off-by: Massimo Callegari <massimocallegari@yahoo.it>
+
+Index: b/examples/webkitwidgets/webkitwidgets.pro
+===================================================================
+--- /dev/null
++++ b/examples/webkitwidgets/webkitwidgets.pro
+@@ -8,5 +8,6 @@
+ framecapture \
+ browser \
+ embedded \
+- scroller \
+- xmlpatterns
++ scroller
++
++qtHaveModule(xmlpatterns): SUBDIRS += xmlpatterns
+Index: b/qtwebkit-examples.pro
+===================================================================
+--- /dev/null
++++ b/qtwebkit-examples.pro
+@@ -3,3 +3,4 @@
+ load(qt_parts)
+
+ SUBDIRS += doc
++SUBDIRS += examples
+
OpenPOWER on IntegriCloud