libpng_1.6.48.bb 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. SUMMARY = "PNG image format decoding library"
  2. DESCRIPTION = "An open source project to develop and maintain the reference \
  3. library for use in applications that read, create, and manipulate PNG \
  4. (Portable Network Graphics) raster image files. "
  5. HOMEPAGE = "http://www.libpng.org/"
  6. SECTION = "libs"
  7. LICENSE = "Libpng"
  8. LIC_FILES_CHKSUM = "file://LICENSE;md5=5516d77a3cf75f55a0d37254e3e65a20"
  9. DEPENDS = "zlib"
  10. LIBV = "16"
  11. SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/${BP}.tar.xz"
  12. SRC_URI[sha256sum] = "46fd06ff37db1db64c0dc288d78a3f5efd23ad9ac41561193f983e20937ece03"
  13. MIRRORS += "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/ ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/older-releases/"
  14. UPSTREAM_CHECK_URI = "http://libpng.org/pub/png/libpng.html"
  15. BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config"
  16. inherit autotools binconfig-disabled pkgconfig
  17. # Work around missing symbols
  18. ARMNEON = "${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off", d)}"
  19. ARMNEON:aarch64 = "--enable-hardware-optimizations=on"
  20. EXTRA_OECONF += "${ARMNEON}"
  21. PACKAGES =+ "${PN}-tools"
  22. FILES:${PN}-tools = "${bindir}/png-fix-itxt ${bindir}/pngfix ${bindir}/pngcp"
  23. BBCLASSEXTEND = "native nativesdk"