Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "PNG image format decoding library" |
| 2 | HOMEPAGE = "http://www.libpng.org/" |
| 3 | SECTION = "libs" |
| 4 | LICENSE = "Libpng" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b9b75399b72e4a8656cf3a6ddfc86d9a \ |
| 6 | file://png.h;endline=16;md5=cc9c2d1eafda17e1277a6f99a9fc29c4 \ |
| 7 | file://png.h;beginline=242;endline=356;md5=599316819d525dde2bfdf28fe3f323af" |
| 8 | DEPENDS = "zlib" |
| 9 | LIBV = "16" |
| 10 | |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame^] | 11 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng${LIBV}/older-releases/${PV}/libpng-${PV}.tar.xz \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 12 | " |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame^] | 13 | SRC_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 Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 21 | SRC_URI[md5sum] = "430a9b76b78533235cd4b9b26ce75c7e" |
| 22 | SRC_URI[sha256sum] = "98507b55fbe5cd43c51981f2924e4671fd81fe35d52dc53357e20f2c77fa5dfd" |
| 23 | |
| 24 | BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config" |
| 25 | |
| 26 | inherit autotools binconfig-disabled pkgconfig |
| 27 | |
| 28 | # Work around missing symbols |
| 29 | EXTRA_OECONF_append_class-target = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off" ,d)}" |
| 30 | |
| 31 | PACKAGES =+ "${PN}-tools" |
| 32 | |
| 33 | FILES_${PN}-tools = "${bindir}/png-fix-itxt ${bindir}/pngfix" |
| 34 | |
| 35 | BBCLASSEXTEND = "native nativesdk" |