meson: replace deprecated get_pkgconfig_variable and require Meson >= 0.51

This commit is contained in:
Alexander Epaneshnikov 2025-08-22 13:44:29 +03:00
commit 423b573d2e
No known key found for this signature in database
GPG key ID: 1736C918F59A5673
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ project('espeakup', 'c',
],
license : 'GPL-3.0-or-later',
version : '0.90',
meson_version : '>=0.47.0')
meson_version : '>=0.51.0')
cc = meson.get_compiler('c')
thread_dep = dependency('threads')

View file

@ -1,4 +1,4 @@
unitdir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
unitdir = systemd.get_variable(pkgconfig: 'systemdsystemunitdir')
prefixdir = get_option('prefix')
bindir = join_paths(prefixdir, get_option('bindir'))