Use GNOME_MIRROR

http://ftp.gnome.org/pub/gnome --> https://download.gnome.org
https://download.gnome.org/sources --> ${GNOME_MIRROR}

Drop the SRC_URI[md5sum] while we are here.  SRC_URI[sha256sum] is
already in use.

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jason Schonberg 2025-06-17 10:04:17 -04:00 committed by Khem Raj
parent 79c61189da
commit 1dad6b12c7
No known key found for this signature in database
GPG Key ID: BB053355919D3314
3 changed files with 3 additions and 4 deletions

View File

@ -18,8 +18,7 @@ REQUIRED_DISTRO_FEATURES = "x11"
EXTRA_OECONF += "--disable-glade-catalog --disable-gtk-doc --disable-Werror"
CFLAGS += "-Wno-error=incompatible-pointer-types"
SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtksourceview/3.24/${PNAME}-${PV}.tar.xz"
SRC_URI[md5sum] = "b748da426a7d64e1304f0c532b0f2a67"
SRC_URI = "${GNOME_MIRROR}/gtksourceview/3.24/${PNAME}-${PV}.tar.xz"
SRC_URI[sha256sum] = "691b074a37b2a307f7f48edc5b8c7afa7301709be56378ccf9cc9735909077fd"
FILES:${PN} += " ${datadir}/gtksourceview-3.0"

View File

@ -14,7 +14,7 @@ inherit gnomebase lib_package gettext features_check gtk-doc gobject-introspecti
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
SRC_URI = "https://download.gnome.org/sources/gtksourceview/4.8/${PNAME}-${PV}.tar.xz \
SRC_URI = "${GNOME_MIRROR}/gtksourceview/4.8/${PNAME}-${PV}.tar.xz \
file://0001-remove-pointless-check.patch"
SRC_URI[sha256sum] = "7ec9d18fb283d1f84a3a3eff3b7a72b09a10c9c006597b3fbabbb5958420a87d"

View File

@ -23,7 +23,7 @@ inherit gnomebase lib_package gettext features_check gi-docgen gtk-icon-cache go
REQUIRED_DISTRO_FEATURES = "opengl"
SRC_URI = "https://download.gnome.org/sources/gtksourceview/5.16/${PNAME}-${PV}.tar.xz"
SRC_URI = "${GNOME_MIRROR}/gtksourceview/5.16/${PNAME}-${PV}.tar.xz"
SRC_URI[sha256sum] = "ab35d420102f3e8b055dd3b8642d3a48209f888189e6254d0ffb4b6a7e8c3566"
GIR_MESON_ENABLE_FLAG = 'enabled'