1*4882a593SmuzhiyunSUMMARY = "PNG image format decoding library" 2*4882a593SmuzhiyunDESCRIPTION = "An open source project to develop and maintain the reference \ 3*4882a593Smuzhiyunlibrary for use in applications that read, create, and manipulate PNG \ 4*4882a593Smuzhiyun(Portable Network Graphics) raster image files. " 5*4882a593SmuzhiyunHOMEPAGE = "http://www.libpng.org/" 6*4882a593SmuzhiyunSECTION = "libs" 7*4882a593SmuzhiyunLICENSE = "Libpng" 8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=5c900cc124ba35a274073b5de7639b13" 9*4882a593SmuzhiyunDEPENDS = "zlib" 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunLIBV = "16" 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunSRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/${BP}.tar.xz" 14*4882a593SmuzhiyunSRC_URI[sha256sum] = "1f4696ce70b4ee5f85f1e1623dc1229b210029fa4b7aee573df3e2ba7b036937" 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunMIRRORS += "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/ ${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/older-releases/" 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "http://libpng.org/pub/png/libpng.html" 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunBINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config" 21*4882a593Smuzhiyun 22*4882a593Smuzhiyuninherit autotools binconfig-disabled pkgconfig 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun# Work around missing symbols 25*4882a593SmuzhiyunEXTRA_OECONF:append:class-target = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off", d)}" 26*4882a593Smuzhiyun 27*4882a593SmuzhiyunPACKAGES =+ "${PN}-tools" 28*4882a593Smuzhiyun 29*4882a593SmuzhiyunFILES:${PN}-tools = "${bindir}/png-fix-itxt ${bindir}/pngfix ${bindir}/pngcp" 30*4882a593Smuzhiyun 31*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk" 32*4882a593Smuzhiyun 33*4882a593Smuzhiyun# CVE-2019-17371 is actually a memory leak in gif2png 2.x 34*4882a593SmuzhiyunCVE_CHECK_IGNORE += "CVE-2019-17371" 35