blob: 3877d6cbf0e1a2997998ade33280e9f6e45b5ce6 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "PNG image format decoding library"
2HOMEPAGE = "http://www.libpng.org/"
3SECTION = "libs"
4LICENSE = "Libpng"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=2db717a05a20e36f2fa673265bd31568 \
6 file://png.h;endline=144;md5=3ac9fd250a8786ae581e34254bf79429"
7DEPENDS = "zlib"
8
9LIBV = "16"
10
Brad Bishopbba38f32018-08-23 16:11:46 +080011SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/${PV}/${BP}.tar.xz \
12 file://CVE-2018-13785.patch \
13"
Brad Bishop316dfdd2018-06-25 12:45:53 -040014SRC_URI[md5sum] = "c05b6ca7190a5e387b78657dbe5536b2"
15SRC_URI[sha256sum] = "2f1e960d92ce3b3abd03d06dfec9637dfbd22febf107a536b44f7a47c60659f6"
16
17MIRRORS += "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/${PV}/ ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/older-releases/${PV}/"
18
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
26EXTRA_OECONF_append_class-target = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off" ,d)}"
27
28PACKAGES =+ "${PN}-tools"
29
30FILES_${PN}-tools = "${bindir}/png-fix-itxt ${bindir}/pngfix ${bindir}/pngcp"
31
32BBCLASSEXTEND = "native nativesdk"