diff options
Diffstat (limited to 'recipes-qt/qt5/qtimageformats.inc')
-rw-r--r-- | recipes-qt/qt5/qtimageformats.inc | 16 |
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 @@ | |||
1 | require qt5.inc | 1 | require qt5.inc |
2 | 2 | ||
3 | DEPENDS += "qtbase tiff" | 3 | DEPENDS += "qtbase" |
4 | ALLOW_EMPTY_${PN} = "1" | 4 | ALLOW_EMPTY_${PN} = "1" |
5 | 5 | ||
6 | SRC_URI += "file://0001-qtimageformats.pro-Make-the-dependencies-determinist.patch" | ||
7 | |||
8 | PACKAGECONFIG ?= "libtiff" | ||
9 | # Currently we don't have recipe for libmng, but lock it anyway so qtimageformats stay deterministic even when libmng is introduced | ||
10 | PACKAGECONFIG[jasper] = ",,jasper" | ||
11 | PACKAGECONFIG[libmng] = ",,libmng" | ||
12 | PACKAGECONFIG[libtiff] = ",,tiff" | ||
13 | PACKAGECONFIG[libwebp] = ",,libwebp" | ||
14 | |||
15 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'libmng', 'CONFIG+=OE_LIBMNG_ENABLED', '', d)}" | ||
16 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'jasper', 'CONFIG+=OE_JASPER_ENABLED', '', d)}" | ||
17 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'libtiff', 'CONFIG+=OE_LIBTIFF_ENABLED', '', d)}" | ||
18 | EXTRA_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 |
7 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \ | 21 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \ |
8 | file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \ | 22 | file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \ |