Bump minimal meson version to 0.59.0, replace 'get_pkgconfig_variable' (#206)

Co-authored-by: Jonas Frei <8ec426b4-7173-428a-a6dc-3c520b45b0e2@wwsxrfc8.anonaddy.com>
This commit is contained in:
Jonas Frei
2023-01-31 22:51:09 +00:00
committed by GitHub
parent 7e21a29c6b
commit 68785053f2

View File

@@ -1,6 +1,6 @@
project('sway-notificaton-center', ['c', 'vala'],
version: '0.7.3',
meson_version: '>= 0.50.0',
meson_version: '>= 0.59.0',
default_options: [ 'warning_level=2' ],
)
@@ -30,7 +30,7 @@ configure_file(
systemd = dependency('systemd', required: false)
if get_option('systemd-service')
if systemd.found()
systemd_service_install_dir = systemd.get_pkgconfig_variable('systemduserunitdir')
systemd_service_install_dir = systemd.get_variable(pkgconfig :'systemduserunitdir')
else
systemd_service_install_dir = join_paths(libdir, 'systemd', 'user')
endif
@@ -98,7 +98,7 @@ endif
if get_option('man-pages')
scdoc = dependency('scdoc', version: '>=1.9.2', native: true, required: true)
if scdoc.found()
scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true)
scdoc_prog = find_program(scdoc.get_variable(pkgconfig :'scdoc'), native: true)
mandir = get_option('mandir')
man_files = [