Skip to contentSkip to conversation

qtwebkit-examples: enable building and packaging of examples by default

PATCH New Denys Dmytriyenko 1 participant 1 message Oct 8, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qtwebkit-examples: enable building and packaging of examples by default

From: Denys Dmytriyenko <[email protected]>

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

---
 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
recipes-qt/qt5/qtwebkit-examples.inc +4 -0
index e8fa3e7..38b2a7c 100644
@@ -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"
recipes-qt/qt5/qtwebkit-examples/0001-qtwebkit-examples-enable-building-examples-by-defaul.patch new file +29 -0
new file mode 100644
index 0000000..34d9622
@@ -0,0 +1,29 @@
+From 50ab1eaf41445459422ef1fd4070ee158ea55d1c Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko <[email protected]>
+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 <[email protected]>
+---
+ 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
+
Signature · 1 line
1.8.3.2