From: Denys Dmytriyenko <de...@ti.com>

Note: binaries will go into ${PN}-examples, which is qtwebkit-examples-examples

Signed-off-by: Denys Dmytriyenko <de...@ti.com>
---
 recipes-qt/qt5/qtwebkit-examples.inc               |  4 +++
 ...amples-enable-building-examples-by-defaul.patch | 29 ++++++++++++++++++++++
 2 files changed, 33 insertions(+)
 create mode 100644 
recipes-qt/qt5/qtwebkit-examples/0001-qtwebkit-examples-enable-building-examples-by-defaul.patch

diff --git a/recipes-qt/qt5/qtwebkit-examples.inc 
b/recipes-qt/qt5/qtwebkit-examples.inc
index e8fa3e7..38b2a7c 100644
--- a/recipes-qt/qt5/qtwebkit-examples.inc
+++ b/recipes-qt/qt5/qtwebkit-examples.inc
@@ -4,4 +4,8 @@ LICENSE = "BSD & LGPLv2+"
 LIC_FILES_CHKSUM = 
"file://examples/webkitwidgets/scroller/wheel/main.cpp;endline=112;md5=6f92d041824c63426993c8ce3ae0eb77
 \
                     
file://examples/webkitwidgets/imageanalyzer/imageanalyzer.cpp;endline=223;md5=13ffb472fefe4bdf6464954a22251f35"
 
+SRC_URI += " \
+    file://0001-qtwebkit-examples-enable-building-examples-by-defaul.patch \
+"
+
 DEPENDS += "qtwebkit"
diff --git 
a/recipes-qt/qt5/qtwebkit-examples/0001-qtwebkit-examples-enable-building-examples-by-defaul.patch
 
b/recipes-qt/qt5/qtwebkit-examples/0001-qtwebkit-examples-enable-building-examples-by-defaul.patch
new file mode 100644
index 0000000..34d9622
--- /dev/null
+++ 
b/recipes-qt/qt5/qtwebkit-examples/0001-qtwebkit-examples-enable-building-examples-by-defaul.patch
@@ -0,0 +1,29 @@
+From 50ab1eaf41445459422ef1fd4070ee158ea55d1c Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko <de...@ti.com>
+Date: Tue, 8 Oct 2013 00:18:10 -0400
+Subject: [PATCH] qtwebkit-examples: enable building examples by default
+
+Examples are provided in sources, but the build for them is not enabled by
+default. Since example binaries are packaged separately to ${PN}-examples,
+having them built by default makes more sense.
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Denys Dmytriyenko <de...@ti.com>
+---
+ qtwebkit-examples.pro | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/qtwebkit-examples.pro b/qtwebkit-examples.pro
+index 3fcecf1..2da8a36 100644
+--- a/qtwebkit-examples.pro
++++ b/qtwebkit-examples.pro
+@@ -2,4 +2,4 @@ requires(qtHaveModule(webkit))
+ 
+ load(qt_parts)
+ 
+-SUBDIRS += doc
++SUBDIRS += doc examples
+-- 
+1.8.3.2
+
-- 
1.8.3.2

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to