diff mbox series

libproxy: use stable download URL

Message ID 20170915115854.4990-1-ross.burton@intel.com
State Accepted
Commit 1a159da61a8a3d06918f838b1dcec45eed2815a7
Headers show
Series libproxy: use stable download URL | expand

Commit Message

Ross Burton Sept. 15, 2017, 11:58 a.m. UTC
GitHub automatically-generated tarballs from tags can and do change over time,
so change libproxy to use the uploaded tarball.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-support/libproxy/libproxy_0.4.14.bb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/recipes-support/libproxy/libproxy_0.4.14.bb b/meta/recipes-support/libproxy/libproxy_0.4.14.bb
index f91bd67f7b1..4c39f52ff2c 100644
--- a/meta/recipes-support/libproxy/libproxy_0.4.14.bb
+++ b/meta/recipes-support/libproxy/libproxy_0.4.14.bb
@@ -8,14 +8,13 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
 DEPENDS = "glib-2.0"
 
-SRC_URI = "https://github.com/${BPN}/${BPN}/archive/${PV}.tar.gz"
+SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz"
+SRC_URI[md5sum] = "e7514f78f5432210e17a01b6b618dde2"
+SRC_URI[sha256sum] = "e25d046850346a505c0617646f1e68b660092efadf665548a89c280900262ea6"
 
 UPSTREAM_CHECK_URI = "https://github.com/libproxy/libproxy/releases"
 UPSTREAM_CHECK_REGEX = "libproxy-(?P<pver>.*)\.tar"
 
-SRC_URI[md5sum] = "272dc378efcc3335154cef30d171e84a"
-SRC_URI[sha256sum] = "6220a6cab837a8996116a0568324cadfd09a07ec16b930d2a330e16d5c2e1eb6"
-
 inherit cmake pkgconfig
 
 PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gnome', '', d)} gnome3"