The official releases of libxml2 have been migrated to gitlab where
they are published for download via HTTP instead of FTP. Besides
adapting to the new location we now also get the benefit that the
tarball can be downloaded in restricted networks where FTP might be
blocked.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2020>
[wrap-file]
directory = libxml2-2.9.7
-source_url = ftp://xmlsoft.org/libxml2/libxml2-2.9.7.tar.gz
-source_filename = libxml2-2.9.7.tar.gz
-source_hash = f63c5e7d30362ed28b38bfa1ac6313f9a80230720b7fb6c80575eeab3ff5900c
+source_url = https://download.gnome.org/sources/libxml2/2.9/libxml2-2.9.7.tar.xz
+source_filename = libxml2-2.9.7.tar.xz
+source_hash = 6437855f3332fcc0fc25323c5f06901e02277e1232a662b621dc88fde37259ac
patch_filename = libxml2_2.9.7-8_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/libxml2_2.9.7-8/get_patch
patch_hash = 84da01091c2e39cf345ced801855b43442bfdfafd59e4d16376b23015222cfad