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

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>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Denys Dmytriyenko 2013-10-08 04:35:14 +00:00 committed by Martin Jansa
parent 35a7c923cc
commit 0cf24787ef
2 changed files with 33 additions and 0 deletions

View File

@ -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"

View File

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