Merge pull request #2926 from alebastr/meson-cleanup

build: refactorings and deprecation fixes
This commit is contained in:
Alexis Rouillard
2024-02-19 23:44:52 +01:00
committed by GitHub
8 changed files with 195 additions and 169 deletions

View File

@ -1,4 +1,4 @@
wl_protocol_dir = wayland_protos.get_pkgconfig_variable('pkgdatadir')
wl_protocol_dir = wayland_protos.get_variable(pkgconfig: 'pkgdatadir')
wayland_scanner = find_program('wayland-scanner')
@ -43,7 +43,7 @@ endforeach
gdbus_codegen = find_program('gdbus-codegen')
r = run_command(gdbus_codegen, '--body', '--output', '/dev/null')
r = run_command(gdbus_codegen, '--body', '--output', '/dev/null', check: false)
if r.returncode() != 0
gdbus_code_dsnw = custom_target(
'dbus-status-notifier-watcher.[ch]',