glib: fix URLs (#33919)

This commit is contained in:
Erik Heeren 2022-11-17 21:58:07 +01:00 committed by GitHub
parent 4964633614
commit 13389f7eb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ class Glib(Package):
"""
homepage = "https://developer.gnome.org/glib/"
url = "https://ftp.gnome.org/pub/gnome/sources/glib/2.53/glib-2.53.1.tar.xz"
url = "https://download.gnome.org/sources/glib/2.53/glib-2.53.1.tar.xz"
maintainers = ["michaelkuhn"]
@ -147,7 +147,7 @@ class Glib(Package):
def url_for_version(self, version):
"""Handle glib's version-based custom URLs."""
url = "http://ftp.gnome.org/pub/gnome/sources/glib"
url = "https://download.gnome.org/sources/glib"
return url + "/%s/glib-%s.tar.xz" % (version.up_to(2), version)
def patch(self):