Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [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=2db717a05a20e36f2fa673265bd31568 \ |
| 6 | file://png.h;endline=144;md5=3ac9fd250a8786ae581e34254bf79429" |
| 7 | DEPENDS = "zlib" |
| 8 | |
| 9 | LIBV = "16" |
| 10 | |
Brad Bishop | bba38f3 | 2018-08-23 16:11:46 +0800 | [diff] [blame] | 11 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/${PV}/${BP}.tar.xz \ |
| 12 | file://CVE-2018-13785.patch \ |
| 13 | " |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 14 | SRC_URI[md5sum] = "c05b6ca7190a5e387b78657dbe5536b2" |
| 15 | SRC_URI[sha256sum] = "2f1e960d92ce3b3abd03d06dfec9637dfbd22febf107a536b44f7a47c60659f6" |
| 16 | |
| 17 | MIRRORS += "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/${PV}/ ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/older-releases/${PV}/" |
| 18 | |
| 19 | UPSTREAM_CHECK_URI = "http://libpng.org/pub/png/libpng.html" |
| 20 | |
| 21 | BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config" |
| 22 | |
| 23 | inherit autotools binconfig-disabled pkgconfig |
| 24 | |
| 25 | # Work around missing symbols |
| 26 | EXTRA_OECONF_append_class-target = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off" ,d)}" |
| 27 | |
| 28 | PACKAGES =+ "${PN}-tools" |
| 29 | |
| 30 | FILES_${PN}-tools = "${bindir}/png-fix-itxt ${bindir}/pngfix ${bindir}/pngcp" |
| 31 | |
| 32 | BBCLASSEXTEND = "native nativesdk" |