build: Bump Meson dependency to 0.57.0
This means we can depend on fix 42ba8efaf2 in Meson, which fixes use of `volatile` in the default templates used by `gnome.mkenums_simple()`. This fixes compiler warnings with recent compilers, which are promoted to errors due to `-Werror`. Meson 0.57.0 is available in bullseye-backports in Debian, which means it’s available basically everywhere now. Bumping the dependency required fixing a few deprecations in the `meson.build` files. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
a732fd418d
commit
0bbdb242a0
4 changed files with 8 additions and 8 deletions
|
@ -85,7 +85,7 @@ libmalcontent_ui_gir = gnome.generate_gir(libmalcontent_ui,
|
|||
|
||||
xmllint = find_program('xmllint', required: false)
|
||||
if xmllint.found()
|
||||
gtk_prefix = dependency('gtk+-3.0').get_pkgconfig_variable('prefix')
|
||||
gtk_prefix = dependency('gtk+-3.0').get_variable(pkgconfig: 'prefix')
|
||||
test(
|
||||
'validate-ui', xmllint,
|
||||
args: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue