Patchwork [meta-qt5,v2,21/21] qtwebkit-examples: enable building and packaging of examples by default

login
register
mail settings
Submitter Eric BENARD
Date Oct. 8, 2013, 8:47 a.m.
Message ID <1381222066-2737-21-git-send-email-eric@eukrea.com>
Download mbox | patch
Permalink /patch/59473/
State Accepted, archived
Headers show

Comments

Eric BENARD - Oct. 8, 2013, 8:47 a.m.
From: Denys Dmytriyenko <denys@ti.com>

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

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Eric BĂ©nard <eric@eukrea.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

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 <denys@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 <denys@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
+