aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-lsb4/libpng/libpng12_1.2.55.bb
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2015-12-14 16:34:11 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-16 12:11:24 +0000
commit1c632dfe121923eea13652afc147080a11f26a78 (patch)
treed590ef3025bf42ae4fb9b8bce4f96fc72630492c /meta/recipes-lsb4/libpng/libpng12_1.2.55.bb
parent8e6ab0617ab64ec93db5ca82f6c459be988e0287 (diff)
downloadopenembedded-core-contrib-1c632dfe121923eea13652afc147080a11f26a78.tar.gz
libpng12: Upgrade 1.2.54 -> 1.2.55
1.2.54 -> 1.2.55 No change in License.The license checksums changed because of update in Copyright date. Update SRC_URI to use GENTOO_MIRROR as SOURCEFORGE_MIRROR continue to move around the release files. [YOCTO #8739] Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-lsb4/libpng/libpng12_1.2.55.bb')
-rw-r--r--meta/recipes-lsb4/libpng/libpng12_1.2.55.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-lsb4/libpng/libpng12_1.2.55.bb b/meta/recipes-lsb4/libpng/libpng12_1.2.55.bb
new file mode 100644
index 0000000000..1afbeabd9f
--- /dev/null
+++ b/meta/recipes-lsb4/libpng/libpng12_1.2.55.bb
@@ -0,0 +1,36 @@
+SUMMARY = "PNG image format decoding library"
+HOMEPAGE = "http://www.libpng.org/"
+SECTION = "libs"
+LICENSE = "Libpng"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6150ae2da16b673fa759402d5fb7ef73 \
+ file://png.h;beginline=19;endline=109;md5=96ec141aee7c75a15d77dbe249a71f93"
+DEPENDS = "zlib"
+
+PN = "libpng12"
+S = "${WORKDIR}/libpng-${PV}"
+
+SRC_URI = "${GENTOO_MIRROR}/libpng-${PV}.tar.xz"
+
+SRC_URI[md5sum] = "68ac486976e73fd164d54740bece57a2"
+SRC_URI[sha256sum] = "5e5227345676fabbba28558f4396514bb06a239eaf69adba12f3669a1650797e"
+
+UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/libpng/files/libpng12/"
+UPSTREAM_CHECK_REGEX = "/libpng12/(?P<pver>(\d+[\.\-_]*)+)/"
+
+BINCONFIG_GLOB = "${PN}-config"
+
+inherit autotools binconfig pkgconfig
+
+do_install_append() {
+ # The follow link files link to corresponding png12*.h and libpng12* files
+ # They conflict with higher verison, so drop them
+ unlink ${D}/${includedir}/png.h
+ unlink ${D}/${includedir}/pngconf.h
+
+ unlink ${D}/${libdir}/libpng.la
+ unlink ${D}/${libdir}/libpng.so
+ unlink ${D}/${libdir}/libpng.a
+ unlink ${D}/${libdir}/pkgconfig/libpng.pc
+
+ unlink ${D}/${bindir}/libpng-config
+}