blob: dc627203ef2a92821fdaa0b84599ade6741a1305 [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 Geissler87f5cff2022-09-30 13:13:31 -05008LIC_FILES_CHKSUM = "file://LICENSE;md5=5c900cc124ba35a274073b5de7639b13"
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"
Andrew Geissler87f5cff2022-09-30 13:13:31 -050014SRC_URI[sha256sum] = "b3683e8b8111ebf6f1ac004ebb6b0c975cd310ec469d98364388e9cedbfa68be"
Brad Bishopc342db32019-05-15 21:57:59 -040015
Andrew Geissler82c905d2020-04-13 13:39:40 -050016MIRRORS += "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/ ${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/older-releases/"
Brad Bishopc342db32019-05-15 21:57:59 -040017
18UPSTREAM_CHECK_URI = "http://libpng.org/pub/png/libpng.html"
19
20BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config"
21
22inherit autotools binconfig-disabled pkgconfig
23
24# Work around missing symbols
Patrick Williams213cb262021-08-07 19:21:33 -050025EXTRA_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 -040026
27PACKAGES =+ "${PN}-tools"
28
Patrick Williams213cb262021-08-07 19:21:33 -050029FILES:${PN}-tools = "${bindir}/png-fix-itxt ${bindir}/pngfix ${bindir}/pngcp"
Brad Bishopc342db32019-05-15 21:57:59 -040030
31BBCLASSEXTEND = "native nativesdk"
Brad Bishop1d80a2e2019-11-15 16:35:03 -050032
33# CVE-2019-17371 is actually a memory leak in gif2png 2.x
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000034CVE_CHECK_IGNORE += "CVE-2019-17371"