From 8ced3de463f97930404fe83a9f30d5d6536ffc9b Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 24 Jul 2017 21:34:49 +0100 Subject: 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 . (From OE-Core rev: 791a3493c88c9c249f21f6d893b2061e1d8a0af6) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie [Updated for Pyro context] Signed-off-by: Armin Kuster --- meta/recipes-multimedia/libpng/libpng_1.6.28.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.28.bb b/meta/recipes-multimedia/libpng/libpng_1.6.28.bb index 9cb2967fe6..ce95d8c3d3 100644 --- a/meta/recipes-multimedia/libpng/libpng_1.6.28.bb +++ b/meta/recipes-multimedia/libpng/libpng_1.6.28.bb @@ -6,11 +6,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=67d8837410863f9821bbd606536f0329 \ file://png.h;endline=144;md5=abfa0497feb393b5842d3d82c1009520" 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] = "425354f86c392318d31aedca71019372" SRC_URI[sha256sum] = "d8d3ec9de6b5db740fefac702c37ffcf96ae46cb17c18c1544635a3852f78f7a" +MIRRORS += "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/older-releases/${PV}" + BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config" inherit autotools binconfig-disabled pkgconfig -- cgit 1.2.3-korg