diff options
Diffstat (limited to 'meta/recipes-lsb4/libpng')
-rw-r--r-- | meta/recipes-lsb4/libpng/libpng12_1.2.50.bb (renamed from meta/recipes-lsb4/libpng/libpng_1.2.50.bb) | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/meta/recipes-lsb4/libpng/libpng_1.2.50.bb b/meta/recipes-lsb4/libpng/libpng12_1.2.50.bb index 8fdc41ba19..cfefd41beb 100644 --- a/meta/recipes-lsb4/libpng/libpng_1.2.50.bb +++ b/meta/recipes-lsb4/libpng/libpng12_1.2.50.bb | |||
@@ -8,14 +8,28 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c3d807a85c09ebdff087f18b4969ff96 \ | |||
8 | DEPENDS = "zlib" | 8 | DEPENDS = "zlib" |
9 | PR = "r0" | 9 | PR = "r0" |
10 | 10 | ||
11 | PN = "libpng12" | ||
12 | S = "${WORKDIR}/libpng-${PV}" | ||
13 | |||
11 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng12/${PV}/libpng-${PV}.tar.xz" | 14 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng12/${PV}/libpng-${PV}.tar.xz" |
12 | 15 | ||
13 | SRC_URI[md5sum] = "a3e00fccbfe356174ab515b5c00641c7" | 16 | SRC_URI[md5sum] = "a3e00fccbfe356174ab515b5c00641c7" |
14 | SRC_URI[sha256sum] = "4724f81f8c92ac7f360ad1fbf173396ea7c535923424db9fbaff07bfd9d8e8e7" | 17 | SRC_URI[sha256sum] = "4724f81f8c92ac7f360ad1fbf173396ea7c535923424db9fbaff07bfd9d8e8e7" |
15 | 18 | ||
19 | BINCONFIG_GLOB = "${PN}-config" | ||
20 | |||
16 | inherit autotools binconfig pkgconfig | 21 | inherit autotools binconfig pkgconfig |
17 | 22 | ||
18 | PACKAGES =+ "${PN}12" | 23 | do_install_append() { |
24 | # The follow link files link to corresponding png12*.h and libpng12* files | ||
25 | # They conflict with higher verison, so drop them | ||
26 | unlink ${D}/${includedir}/png.h | ||
27 | unlink ${D}/${includedir}/pngconf.h | ||
28 | |||
29 | unlink ${D}/${libdir}/libpng.la | ||
30 | unlink ${D}/${libdir}/libpng.so | ||
31 | unlink ${D}/${libdir}/libpng.a | ||
32 | unlink ${D}/${libdir}/pkgconfig/libpng.pc | ||
19 | 33 | ||
20 | FILES_${PN}12 = "${libdir}/libpng12${SOLIBS}" | 34 | unlink ${D}/${bindir}/libpng-config |
21 | RPROVIDES_${PN}-dev += "${PN}12-dev" | 35 | } |