]> code.ossystems Code Review - openembedded-core.git/commitdiff
libpng: use SourceForge mirror
authorRoss Burton <ross.burton@intel.com>
Mon, 24 Jul 2017 20:34:49 +0000 (21:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Oct 2017 16:27:00 +0000 (17:27 +0100)
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>.

(From OE-Core rev: 791a3493c88c9c249f21f6d893b2061e1d8a0af6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hand applied to work with morty version

Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-multimedia/libpng/libpng_1.6.24.bb

index f91ab7ffc48d0e0efa76afc2b3d4cbf208795fab..b1a1b8a4c0aa003e2fd0de54f1e559fece58533f 100644 (file)
@@ -6,8 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5089214833586ba444048fd1dbbc76a4 \
                     file://png.h;endline=149;md5=376d8ff7f69b7c4ad3a09f4672cec696"
 DEPENDS = "zlib"
 
-SRC_URI = "${GENTOO_MIRROR}/libpng-${PV}.tar.xz \
-          "
+LIBV = "16"
+
+SRC_URI = "https://sourceforge.net/projects/${BPN}/files/${BPN}${LIBV}/older-releases/${PV}/${BP}.tar.xz"
+
 SRC_URI[md5sum] = "ffcdbd549814787fa8010c372e35ff25"
 SRC_URI[sha256sum] = "7932dc9e5e45d55ece9d204e90196bbb5f2c82741ccb0f7e10d07d364a6fd6dd"