blob: edb2ac614614d6f77e3f083af0d1660bda53928a [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001SUMMARY = "PNG image format decoding library"
2HOMEPAGE = "http://www.libpng.org/"
3SECTION = "libs"
4LICENSE = "Libpng"
Andrew Geissler82c905d2020-04-13 13:39:40 -05005LIC_FILES_CHKSUM = "file://LICENSE;md5=b0085051bf265bac2bfc38bc89f50000"
Brad Bishopc342db32019-05-15 21:57:59 -04006DEPENDS = "zlib"
7
8LIBV = "16"
9
Andrew Geissler82c905d2020-04-13 13:39:40 -050010SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/${BP}.tar.xz"
Brad Bishopc342db32019-05-15 21:57:59 -040011SRC_URI[md5sum] = "015e8e15db1eecde5f2eb9eb5b6e59e9"
12SRC_URI[sha256sum] = "505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca"
13
Andrew Geissler82c905d2020-04-13 13:39:40 -050014MIRRORS += "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/ ${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/older-releases/"
Brad Bishopc342db32019-05-15 21:57:59 -040015
16UPSTREAM_CHECK_URI = "http://libpng.org/pub/png/libpng.html"
17
18BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config"
19
20inherit autotools binconfig-disabled pkgconfig
21
22# Work around missing symbols
Andrew Geisslerc3d88e42020-10-02 09:45:00 -050023EXTRA_OECONF_append_class-target = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off", d)}"
Brad Bishopc342db32019-05-15 21:57:59 -040024
25PACKAGES =+ "${PN}-tools"
26
27FILES_${PN}-tools = "${bindir}/png-fix-itxt ${bindir}/pngfix ${bindir}/pngcp"
28
29BBCLASSEXTEND = "native nativesdk"
Brad Bishop1d80a2e2019-11-15 16:35:03 -050030
31# CVE-2019-17371 is actually a memory leak in gif2png 2.x
32CVE_CHECK_WHITELIST += "CVE-2019-17371"