diff options
author | Valentin Popa <valentin.popa@intel.com> | 2014-05-06 16:44:24 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-11 12:27:22 +0100 |
commit | 5b17c5d0319a9562ec524c044fdd283d52615c6c (patch) | |
tree | b294305b8c1dd07c730a4f9cc4a61c5040b4ca9e /meta/recipes-lsb4/libpng/libpng12_1.2.51.bb | |
parent | a36f0b9bf745f311a4b62037a073a96a8c091853 (diff) | |
download | poky-5b17c5d0319a9562ec524c044fdd283d52615c6c.tar.gz |
libpng12: upgrade to 1.2.51
License is the same.
(From OE-Core rev: 303a152ddd38fbb11c7d296a6fbacb33b2749695)
Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-lsb4/libpng/libpng12_1.2.51.bb')
-rw-r--r-- | meta/recipes-lsb4/libpng/libpng12_1.2.51.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-lsb4/libpng/libpng12_1.2.51.bb b/meta/recipes-lsb4/libpng/libpng12_1.2.51.bb new file mode 100644 index 0000000000..6b2dcba1f1 --- /dev/null +++ b/meta/recipes-lsb4/libpng/libpng12_1.2.51.bb | |||
@@ -0,0 +1,33 @@ | |||
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=ec135c8490e3b3d4ba2cc21f84c3a294 \ | ||
6 | file://png.h;beginline=314;endline=428;md5=151cf86c4efc2a7400f8a9a61d743d8e" | ||
7 | DEPENDS = "zlib" | ||
8 | |||
9 | PN = "libpng12" | ||
10 | S = "${WORKDIR}/libpng-${PV}" | ||
11 | |||
12 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng12/${PV}/libpng-${PV}.tar.xz" | ||
13 | |||
14 | SRC_URI[md5sum] = "4efba67fa5aa2b785c6fcec2cc3e90c9" | ||
15 | SRC_URI[sha256sum] = "c7d7b813b022afd70474f78bcc3655c7bb54edbf28dd4652e5521cbb6da56d4a" | ||
16 | |||
17 | BINCONFIG_GLOB = "${PN}-config" | ||
18 | |||
19 | inherit autotools binconfig pkgconfig | ||
20 | |||
21 | do_install_append() { | ||
22 | # The follow link files link to corresponding png12*.h and libpng12* files | ||
23 | # They conflict with higher verison, so drop them | ||
24 | unlink ${D}/${includedir}/png.h | ||
25 | unlink ${D}/${includedir}/pngconf.h | ||
26 | |||
27 | unlink ${D}/${libdir}/libpng.la | ||
28 | unlink ${D}/${libdir}/libpng.so | ||
29 | unlink ${D}/${libdir}/libpng.a | ||
30 | unlink ${D}/${libdir}/pkgconfig/libpng.pc | ||
31 | |||
32 | unlink ${D}/${bindir}/libpng-config | ||
33 | } | ||