summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2022-01-26 22:33:19 +0100
committerSimon Ser <contact@emersion.fr>2022-01-27 15:38:38 +0000
commit834df18ac24bbef09ca2b8fda1bcd4ab076d0795 (patch)
tree35b81adac7da65c99b727c99ab2ba29e36c1f62f
parentf17c3a4971c5fae60ae899ed09784fd33396e706 (diff)
downloadweston-834df18ac24bbef09ca2b8fda1bcd4ab076d0795.tar.gz
meson: Rename to deprecated-weston-launch
This ensures that users that previously set the option explicitly will also have a chance to notice the deprecation. Signed-off-by: Kenny Levinsen <kl@kl.wtf>
-rw-r--r--libweston/meson.build2
-rw-r--r--meson_options.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/libweston/meson.build b/libweston/meson.build
index c8ffe9ad..257d6950 100644
--- a/libweston/meson.build
+++ b/libweston/meson.build
@@ -228,7 +228,7 @@ dep_vertex_clipping = declare_dependency(
include_directories: include_directories('.')
)
-if get_option('weston-launch')
+if get_option('deprecated-weston-launch')
warning('weston-launch is deprecated and will be removed in a future release. Please migrate to libseat and seatd-launch.')
dep_pam = cc.find_library('pam')
diff --git a/meson_options.txt b/meson_options.txt
index 2d467874..8a527d74 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -66,7 +66,7 @@ option(
)
option(
- 'weston-launch',
+ 'deprecated-weston-launch',
type: 'boolean',
value: false,
description: 'Deprecated weston launcher for systems without logind'