qtimageformats: add PACKAGECONFIGs for all imagetypes

Support for mng cannot be enabled, default to formats available from oe-core.

Change-Id: I9ed3e8b9e173f13a67fef4832aa6ef42681f7285
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
Samuli Piippo 2020-11-26 12:28:08 +02:00
parent 181b94d709
commit ecc126ed6e
2 changed files with 9 additions and 0 deletions

View File

@ -39,6 +39,9 @@ PACKAGECONFIG_append_pn-qtbase = "\
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \
"
# imageformats mng FIXME
PACKAGECONFIG_append_pn-qtimageformats = " jasper"
# Use latest uninative package
UNINATIVE_MAXGLIBCVERSION = "2.32"

View File

@ -20,4 +20,10 @@ include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
PACKAGECONFIG ?= "tiff webp"
PACKAGECONFIG[jasper] = "-DFEATURE_jasper=ON,-DFEATURE_jasper=OFF,jasper"
PACKAGECONFIG[mng] = "-DFEATURE_mng=ON,-DFEATURE_mng=OFF,libmng"
PACKAGECONFIG[tiff] = "-DFEATURE_tiff=ON,-DFEATURE_libtiff=OFF,tiff"
PACKAGECONFIG[webp] = "-DFEATURE_webp=ON,-DFEATURE_webp=OFF,libwebp"
SRCREV = "9b0b68488ac75668da339bdcd1ab358db03f2932"