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>
dev
Kenny Levinsen 3 years ago committed by Simon Ser
parent dfab60c6ee
commit e1491a7236
  1. 1
      libweston/meson.build

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

Loading…
Cancel
Save