summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/libpng/libpng_1.2.46.bb
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-09-21 16:12:45 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-21 13:42:53 +0100
commitd380bb126a1e79d181437cb76f048579432394da (patch)
treef27cc2bfefc525412a1417623ea9cd89a8bbe056 /meta/recipes-multimedia/libpng/libpng_1.2.46.bb
parentc81cd242dffdf0bd779fe524f72a2d4785c9456d (diff)
downloadpoky-d380bb126a1e79d181437cb76f048579432394da.tar.gz
libpng: avoid dangling link in libpng package
As for libpng recipe, the libpng.pc is a symbol link to libpng12.pc, if packaging them into two different packages, we will get a dangling link for libpng.pc, and when calculating rpm dependency with that file, we will get nothing. Only keep one version of dev package to fix the issue. (From OE-Core rev: 50232671951e0b69d52a685b82a10be335458292) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/libpng/libpng_1.2.46.bb')
-rw-r--r--meta/recipes-multimedia/libpng/libpng_1.2.46.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-multimedia/libpng/libpng_1.2.46.bb b/meta/recipes-multimedia/libpng/libpng_1.2.46.bb
index 57d9037949..0a28709ae7 100644
--- a/meta/recipes-multimedia/libpng/libpng_1.2.46.bb
+++ b/meta/recipes-multimedia/libpng/libpng_1.2.46.bb
@@ -6,7 +6,7 @@ LICENSE = "Libpng"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=21b4b6e3523afa9f03f00b43b991dad0 \ 6LIC_FILES_CHKSUM = "file://LICENSE;md5=21b4b6e3523afa9f03f00b43b991dad0 \
7 file://png.h;startline=172;endline=261;md5=996460063a9bf2de35b2d61d2776dabc" 7 file://png.h;startline=172;endline=261;md5=996460063a9bf2de35b2d61d2776dabc"
8DEPENDS = "zlib" 8DEPENDS = "zlib"
9PR = "r0" 9PR = "r1"
10 10
11SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng12/${PV}/libpng-${PV}.tar.bz2" 11SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng12/${PV}/libpng-${PV}.tar.bz2"
12 12
@@ -15,11 +15,9 @@ SRC_URI[sha256sum] = "a5e796e1802b2e221498bda09ff9850bc7ec9068b6788948cc2c42af21
15 15
16inherit autotools binconfig pkgconfig 16inherit autotools binconfig pkgconfig
17 17
18PACKAGES =+ "${PN}12-dbg ${PN}12 ${PN}12-dev" 18PACKAGES =+ "${PN}12"
19 19
20FILES_${PN}12-dbg = "${libdir}/.debug/libpng12*"
21FILES_${PN}12 = "${libdir}/libpng12${SOLIBS}" 20FILES_${PN}12 = "${libdir}/libpng12${SOLIBS}"
22FILES_${PN}12-dev = "${libdir}/libpng12.* ${includedir}/libpng12 ${libdir}/pkgconfig/libpng12.pc"
23FILES_${PN} = "${libdir}/lib*${SOLIBS}" 21FILES_${PN} = "${libdir}/lib*${SOLIBS}"
24FILES_${PN}-dev += " ${bindir} ${sbindir}" 22FILES_${PN}-dev += " ${bindir} ${sbindir}"
25 23