Skip to content

Commit 831ed6d

Browse files
authored
Fix meson.build deprecations up to 0.56.0 (#234)
1 parent 3486cb0 commit 831ed6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

meson.build

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# https://github.com/linuxmint/cinnamon-desktop
44
project('cinnamon-desktop', 'c', version: '5.8.0',
5-
meson_version: '>=0.50.0'
5+
meson_version: '>=0.56.0'
66
)
77

88
# Before making a release, the LT_VERSION string should be modified.
@@ -57,7 +57,7 @@ cinnamon_deps = [
5757

5858
use_alsa = get_option('alsa')
5959

60-
xkb_base = xkbconf.get_pkgconfig_variable('xkb_base')
60+
xkb_base = xkbconf.get_variable(pkgconfig: 'xkb_base')
6161

6262
# Path to the pnp.ids file -- to know if we use one shipped with another
6363
# package, or an internal file
@@ -129,7 +129,7 @@ message('\n'.join([
129129
' sysconfdir: ' + get_option('sysconfdir'),
130130
' localstatedir: ' + get_option('localstatedir'),
131131
' datadir: ' + get_option('datadir'),
132-
' source code location: ' + meson.source_root(),
132+
' source code location: ' + meson.project_source_root(),
133133
' compiler: ' + cc.get_id(),
134134
' debugging support: ' + get_option('buildtype'),
135135
' Use *_DISABLE_DEPRECATED: @0@'.format(get_option('deprecation_warnings')),

0 commit comments

Comments
 (0)