meson: Print deprecation warning for weston-launch

weston-launch will be removed in a future release as this feature has
been offloaded to libseat and seatd-launch. Print an early deprecation
warning to give existing users time to migrate.

Signed-off-by: Kenny Levinsen <kl@kl.wtf>
This commit is contained in:
Kenny Levinsen 2022-01-24 13:03:42 +01:00 committed by Simon Ser
parent dfab60c6ee
commit e1491a7236

View file

@ -229,6 +229,7 @@ dep_vertex_clipping = declare_dependency(
)
if get_option('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')
if not cc.has_function('pam_open_session', dependencies: dep_pam)