glib: add 2.72.1 and 2.70.5 (#30274)

This commit is contained in:
Michael Kuhn 2022-04-26 11:10:34 +02:00 committed by GitHub
parent 16e926d374
commit a10d262f5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,8 @@ class Glib(Package):
maintainers = ['michaelkuhn']
version('2.72.1', sha256='c07e57147b254cef92ce80a0378dc0c02a4358e7de4702e9f403069781095fe2')
version('2.70.5', sha256='f70bf76ebcc84e0705722f038be8e2f9a58d17e1a700810c635fcc18b8974b7e')
version('2.70.4', sha256='ab3d176f3115dcc4e5d02db795984e04e4f4b48d836252e23e8c468e9d423c33')
version('2.70.2', sha256='0551459c85cd3da3d58ddc9016fd28be5af503f5e1615a71ba5b512ac945806f')
version('2.70.0', sha256='200d7df811c5ba634afbf109f14bb40ba7fde670e89389885da14e27c0840742')
@ -88,8 +90,8 @@ class Glib(Package):
# glib prefers the libc version of gettext, which breaks the build if the
# external version is also found.
patch('meson-gettext.patch', when='@2.58:2.64')
patch('meson-gettext-2.66.patch', when='@2.66:2.68')
patch('meson-gettext-2.70.patch', when='@2.70:')
patch('meson-gettext-2.66.patch', when='@2.66:2.68,2.72:')
patch('meson-gettext-2.70.patch', when='@2.70')
def url_for_version(self, version):
"""Handle glib's version-based custom URLs."""