summaryrefslogtreecommitdiff
path: root/meta-qt5/recipes-qt
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2014-08-06 23:46:46 +0200
committerPatrick Ohly <patrick.ohly@intel.com>2015-01-09 08:46:11 -0800
commitb7838be359df332aad88498e909ce081dac6eb29 (patch)
tree517d3a134695a843f157267d3bd4284c34596e41 /meta-qt5/recipes-qt
parent1cc857cc644662b41a0eeb1573279d4da9c6119e (diff)
downloadtizen-distro-b7838be359df332aad88498e909ce081dac6eb29.tar.gz
tizen-distro-b7838be359df332aad88498e909ce081dac6eb29.tar.bz2
tizen-distro-b7838be359df332aad88498e909ce081dac6eb29.zip
qtwebkit.inc: add PACKAGECONFIG for libwebp
(From meta-qt5 rev: 5d28f842570b3546eb5b34ffd57fa94ad2a542ba) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Diffstat (limited to 'meta-qt5/recipes-qt')
-rw-r--r--meta-qt5/recipes-qt/qt5/qtwebkit.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-qt5/recipes-qt/qt5/qtwebkit.inc b/meta-qt5/recipes-qt/qt5/qtwebkit.inc
index 8054e931e6..cb652aa14e 100644
--- a/meta-qt5/recipes-qt/qt5/qtwebkit.inc
+++ b/meta-qt5/recipes-qt/qt5/qtwebkit.inc
@@ -13,6 +13,7 @@ PACKAGECONFIG[gstreamer010] = "OE_GSTREAMER010_ENABLED,,gstreamer gst-plugins-ba
PACKAGECONFIG[qtlocation] = "OE_QTLOCATION_ENABLED,,qtlocation"
PACKAGECONFIG[qtmultimedia] = "OE_QTMULTIMEDIA_ENABLED,,qtmultimedia"
PACKAGECONFIG[qtsensors] = "OE_QTSENSORS_ENABLED,,qtsensors"
+PACKAGECONFIG[libwebp] = "OE_LIBWEBP_ENABLED,,libwebp"
do_configure_prepend() {
export QMAKE_CACHE_EVAL="CONFIG+=${EXTRA_OECONF}"
@@ -26,6 +27,8 @@ do_configure_prepend() {
sed -e 's/(video):\(qtHaveModule(multimediawidgets)\)/(video):OE_QTMULTIMEDIA_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf
# disable qtsensors test if it isn't enabled by PACKAGECONFIG
sed -e 's/\s\(qtHaveModule(sensors)\)/ OE_QTSENSORS_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf
+ # disable libwebp test if it isn't enabled by PACKAGECONFIG
+ sed -e 's/\s\(config_libwebp: \)/ OE_LIBWEBP_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf
}
# qtwebkit gets terribly big when linking with all debug info, disable by default