Version: 5

Source: https://download.gnome.org/sources/glib/cache.json
Matching-Pattern: [\d.]+/glib-@ANY_VERSION@@ARCHIVE_EXT@
Download-Url-Mangle: s|cache.json||
Search-Mode: plain
Uversion-Mangle: s/\.(alpha|beta|rc)/~$1/

# Update the version as needed to correspond to the version of Unicode
# data used to generate glib/gunichartables.h etc.
# Update and run the maintainer-update-unicode-data target in d/rules
# to verify
Component: unicode-data
Source: https://www.unicode.org/Public/
Matching-Pattern: (17\.0\.0)/?
Dversion-Mangle: s/@ANY_VERSION@/17\.0\.0/
Compression: xz
Download-Url-Mangle: s#/?$#/ucd/UCD.zip#
Filename-Mangle: s#.*/([^/]+)/?$#UCD-$1.zip#
