Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -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=06a1b6fde6d93170bb72201c8000bf3d \ |
| 6 | file://png.h;endline=112;md5=9a8b5f83e1e8046df672deab87f235be" |
| 7 | DEPENDS = "zlib" |
| 8 | |
| 9 | SRC_URI = "${GENTOO_MIRROR}/libpng-${PV}.tar.xz \ |
| 10 | " |
| 11 | SRC_URI[md5sum] = "3bacb4728f6694a64ad9052769d6a4ce" |
| 12 | SRC_URI[sha256sum] = "6c8f1849eb9264219bf5d703601e5abe92a58651ecae927a03d1a1aa15ee2083" |
| 13 | |
| 14 | BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config" |
| 15 | |
| 16 | inherit autotools binconfig-disabled pkgconfig |
| 17 | |
| 18 | # Work around missing symbols |
| 19 | EXTRA_OECONF_append_class-target = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off" ,d)}" |
| 20 | |
| 21 | PACKAGES =+ "${PN}-tools" |
| 22 | |
| 23 | FILES_${PN}-tools = "${bindir}/png-fix-itxt ${bindir}/pngfix" |
| 24 | |
| 25 | BBCLASSEXTEND = "native nativesdk" |