blob: 61e3d92e95d7411ef56583211091419e0b412917 [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001SUMMARY = "PNG image format decoding library"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06002DESCRIPTION = "An open source project to develop and maintain the reference \
3library for use in applications that read, create, and manipulate PNG \
4(Portable Network Graphics) raster image files. "
Brad Bishopc342db32019-05-15 21:57:59 -04005HOMEPAGE = "http://www.libpng.org/"
6SECTION = "libs"
7LICENSE = "Libpng"
Andrew Geissler82c905d2020-04-13 13:39:40 -05008LIC_FILES_CHKSUM = "file://LICENSE;md5=b0085051bf265bac2bfc38bc89f50000"
Brad Bishopc342db32019-05-15 21:57:59 -04009DEPENDS = "zlib"
10
11LIBV = "16"
12
Andrew Geissler82c905d2020-04-13 13:39:40 -050013SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/${BP}.tar.xz"
Brad Bishopc342db32019-05-15 21:57:59 -040014SRC_URI[md5sum] = "015e8e15db1eecde5f2eb9eb5b6e59e9"
15SRC_URI[sha256sum] = "505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca"
16
Andrew Geissler82c905d2020-04-13 13:39:40 -050017MIRRORS += "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/ ${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/older-releases/"
Brad Bishopc342db32019-05-15 21:57:59 -040018
19UPSTREAM_CHECK_URI = "http://libpng.org/pub/png/libpng.html"
20
21BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config"
22
23inherit autotools binconfig-disabled pkgconfig
24
25# Work around missing symbols
Patrick Williams213cb262021-08-07 19:21:33 -050026EXTRA_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 -040027
28PACKAGES =+ "${PN}-tools"
29
Patrick Williams213cb262021-08-07 19:21:33 -050030FILES:${PN}-tools = "${bindir}/png-fix-itxt ${bindir}/pngfix ${bindir}/pngcp"
Brad Bishopc342db32019-05-15 21:57:59 -040031
32BBCLASSEXTEND = "native nativesdk"
Brad Bishop1d80a2e2019-11-15 16:35:03 -050033
34# CVE-2019-17371 is actually a memory leak in gif2png 2.x
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000035CVE_CHECK_IGNORE += "CVE-2019-17371"