summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/libpng
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-07-24 21:34:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-25 15:56:59 +0100
commit791a3493c88c9c249f21f6d893b2061e1d8a0af6 (patch)
treefb5c8f10249049a7ff7e07a19316ca2255310543 /meta/recipes-multimedia/libpng
parent6a9e38be6e9dcbeff033944f9a3a18e3838af10d (diff)
downloadopenembedded-core-contrib-791a3493c88c9c249f21f6d893b2061e1d8a0af6.tar.gz
openembedded-core-contrib-791a3493c88c9c249f21f6d893b2061e1d8a0af6.tar.bz2
openembedded-core-contrib-791a3493c88c9c249f21f6d893b2061e1d8a0af6.zip
libpng: use SourceForge mirror
The Gentoo mirror also deletes old versions when they're not used, so revert back to the canonical SourceForge site, adding /older-releases/ to MIRRORS to handle new releases moving the version we want. Original idea by Maxin B. John <maxin.john@intel.com>. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/libpng')
-rw-r--r--meta/recipes-multimedia/libpng/libpng_1.6.29.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.29.bb b/meta/recipes-multimedia/libpng/libpng_1.6.29.bb
index 8a3056e1a3..be327caaff 100644
--- a/meta/recipes-multimedia/libpng/libpng_1.6.29.bb
+++ b/meta/recipes-multimedia/libpng/libpng_1.6.29.bb
@@ -6,11 +6,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f9acafc1325f8f8da80aeee94dbc1bda \
file://png.h;endline=144;md5=0b2aa20c7ff55d9411108317df8ff0c9"
DEPENDS = "zlib"
-SRC_URI = "${GENTOO_MIRROR}/libpng-${PV}.tar.xz \
- "
+LIBV = "16"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/${PV}/${BP}.tar.xz"
SRC_URI[md5sum] = "3245dbd76ea91e1437507357b858ec97"
SRC_URI[sha256sum] = "4245b684e8fe829ebb76186327bb37ce5a639938b219882b53d64bd3cfc5f239"
+MIRRORS += "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/older-releases/${PV}"
+
BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config"
inherit autotools binconfig-disabled pkgconfig