blob: 58cef1ff3be4441440321450e1a83d039a93a221 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001SUMMARY = "PNG image format decoding library"
2HOMEPAGE = "http://www.libpng.org/"
3SECTION = "libs"
4LICENSE = "Libpng"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=06a1b6fde6d93170bb72201c8000bf3d \
6 file://png.h;endline=112;md5=9a8b5f83e1e8046df672deab87f235be"
7DEPENDS = "zlib"
8
9SRC_URI = "${GENTOO_MIRROR}/libpng-${PV}.tar.xz \
10 "
11SRC_URI[md5sum] = "3bacb4728f6694a64ad9052769d6a4ce"
12SRC_URI[sha256sum] = "6c8f1849eb9264219bf5d703601e5abe92a58651ecae927a03d1a1aa15ee2083"
13
14BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config"
15
16inherit autotools binconfig-disabled pkgconfig
17
18# Work around missing symbols
19EXTRA_OECONF_append_class-target = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off" ,d)}"
20
21PACKAGES =+ "${PN}-tools"
22
23FILES_${PN}-tools = "${bindir}/png-fix-itxt ${bindir}/pngfix"
24
25BBCLASSEXTEND = "native nativesdk"