meson: switch from deprecated functions (#49)

This commit is contained in:
Alexander Epaneshnikov 2022-03-11 16:51:28 +03:00 committed by GitHub
commit d7c06a6f9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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'))