summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtimageformats.inc
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2014-08-04 19:20:39 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2014-08-04 19:20:39 +0200
commitb0a32232e702970b7bce8b0ff1973f8e689cdff9 (patch)
tree568af382d3b11cf3dd543bbdb49a10525b3271ae /recipes-qt/qt5/qtimageformats.inc
parent6ce50bf97b3f3409c1dddb8d5e106e599d18e69a (diff)
downloadmeta-qt5-b0a32232e702970b7bce8b0ff1973f8e689cdff9.tar.gz
qtimageformats: Make the dependencies deterministic
* jasper and libwebp were autodetected from sysroot Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtimageformats.inc')
-rw-r--r--recipes-qt/qt5/qtimageformats.inc16
1 files changed, 15 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtimageformats.inc b/recipes-qt/qt5/qtimageformats.inc
index b5edf1ba..93060703 100644
--- a/recipes-qt/qt5/qtimageformats.inc
+++ b/recipes-qt/qt5/qtimageformats.inc
@@ -1,8 +1,22 @@
1require qt5.inc 1require qt5.inc
2 2
3DEPENDS += "qtbase tiff" 3DEPENDS += "qtbase"
4ALLOW_EMPTY_${PN} = "1" 4ALLOW_EMPTY_${PN} = "1"
5 5
6SRC_URI += "file://0001-qtimageformats.pro-Make-the-dependencies-determinist.patch"
7
8PACKAGECONFIG ?= "libtiff"
9# Currently we don't have recipe for libmng, but lock it anyway so qtimageformats stay deterministic even when libmng is introduced
10PACKAGECONFIG[jasper] = ",,jasper"
11PACKAGECONFIG[libmng] = ",,libmng"
12PACKAGECONFIG[libtiff] = ",,tiff"
13PACKAGECONFIG[libwebp] = ",,libwebp"
14
15EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'libmng', 'CONFIG+=OE_LIBMNG_ENABLED', '', d)}"
16EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'jasper', 'CONFIG+=OE_JASPER_ENABLED', '', d)}"
17EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'libtiff', 'CONFIG+=OE_LIBTIFF_ENABLED', '', d)}"
18EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'libwebp', 'CONFIG+=OE_LIBWEBP_ENABLED', '', d)}"
19
6# older copyright year than what e.g. qtbase is using now 20# older copyright year than what e.g. qtbase is using now
7LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \ 21LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
8 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \ 22 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \