diff --git a/recipes-qt/qt5/qtwebkit-examples.inc b/recipes-qt/qt5/qtwebkit-examples.inc index e8fa3e72c1..38b2a7cbf4 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 0000000000..34d9622e90 --- /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 +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 +--- + 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 +