Skip to content

Commit a3f4407

Browse files
authored
[Meson] Fix some deprecations warnings (#750)
1 parent 5b1f842 commit a3f4407

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Build-Depends:
6060
libxrandr-dev,
6161
libxrender-dev,
6262
libxt-dev,
63-
meson (>= 0.50),
63+
meson (>= 1.0.0),
6464
pkg-config (>= 0.22),
6565
udev [linux-any],
6666
wayland-protocols (>= 1.23) [linux-any],

meson.build

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
project('muffin', 'c', version : '6.4.1', meson_version : '>=0.56.0', license : 'GPLv2+')
1+
project('muffin', 'c', version : '6.4.1', meson_version : '>=1.0.0', license : 'GPLv2+')
22

33
muffin_plugin_api_version = '3'
44

@@ -385,7 +385,7 @@ if have_wayland
385385
xwayland_path = get_option('xwayland_path')
386386
if xwayland_path == ''
387387
if xwayland_dep.found()
388-
xwayland_path = xwayland_dep.get_pkgconfig_variable('xwayland')
388+
xwayland_path = xwayland_dep.get_variable('xwayland')
389389
else
390390
xwayland_path = find_program('Xwayland').full_path()
391391
endif
@@ -404,7 +404,7 @@ if have_wayland
404404
# For Xwayland -initfd usage
405405
use_initfd = get_option('xwayland_initfd')
406406
if xwayland_dep.found()
407-
xwayland_supports_initfd = xwayland_dep.get_pkgconfig_variable('have_initfd') == 'true'
407+
xwayland_supports_initfd = xwayland_dep.get_variable('have_initfd') == 'true'
408408
else
409409
xwayland_options = run_command(xwayland_path, '-help')
410410
xwayland_supports_initfd = xwayland_options.stderr().contains('-initfd')
@@ -422,7 +422,7 @@ if have_wayland
422422

423423
# For Xwayland -listenfd usage
424424
if xwayland_dep.found()
425-
have_xwayland_listenfd = xwayland_dep.get_pkgconfig_variable('have_listenfd') == 'true'
425+
have_xwayland_listenfd = xwayland_dep.get_variable('have_listenfd') == 'true'
426426
endif
427427

428428
if (have_xwayland_listenfd)

0 commit comments

Comments
 (0)