blob: cc288c7f980f9794b3a358f89161c638d13e286b [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "PNG image format decoding library"
2HOMEPAGE = "http://www.libpng.org/"
3SECTION = "libs"
4LICENSE = "Libpng"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=b9b75399b72e4a8656cf3a6ddfc86d9a \
6 file://png.h;endline=16;md5=cc9c2d1eafda17e1277a6f99a9fc29c4 \
7 file://png.h;beginline=242;endline=356;md5=599316819d525dde2bfdf28fe3f323af"
8DEPENDS = "zlib"
9LIBV = "16"
10
Patrick Williamsf1e5d692016-03-30 15:21:19 -050011SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng${LIBV}/older-releases/${PV}/libpng-${PV}.tar.xz \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012 "
Patrick Williamsf1e5d692016-03-30 15:21:19 -050013SRC_URI += "\
14 file://CVE-2015-8126_1.patch \
15 file://CVE-2015-8126_2.patch \
16 file://CVE-2015-8126_3.patch \
17 file://CVE-2015-8126_4.patch \
18 file://CVE-2015-8472.patch \
19 "
20
Patrick Williamsc124f4f2015-09-15 14:41:29 -050021SRC_URI[md5sum] = "430a9b76b78533235cd4b9b26ce75c7e"
22SRC_URI[sha256sum] = "98507b55fbe5cd43c51981f2924e4671fd81fe35d52dc53357e20f2c77fa5dfd"
23
24BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config"
25
26inherit autotools binconfig-disabled pkgconfig
27
28# Work around missing symbols
29EXTRA_OECONF_append_class-target = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off" ,d)}"
30
31PACKAGES =+ "${PN}-tools"
32
33FILES_${PN}-tools = "${bindir}/png-fix-itxt ${bindir}/pngfix"
34
35BBCLASSEXTEND = "native nativesdk"