launcher-libseat: Don't depend on dbus
The libseat launcher doesn't directly use dbus functions. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
754562fb52
commit
501e3f193f
@ -40,7 +40,6 @@
|
||||
|
||||
#include <libseat.h>
|
||||
|
||||
#include <libweston/dbus.h>
|
||||
#include <libweston/libweston.h>
|
||||
#include <libweston/weston-log.h>
|
||||
#include "weston-log-internal.h"
|
||||
|
@ -198,17 +198,12 @@ if get_option('deprecated-launcher-logind')
|
||||
warning('deprecated-launcher-logind is enabled. This will go away, see https://gitlab.freedesktop.org/wayland/weston/-/issues/488')
|
||||
endif
|
||||
if get_option('launcher-libseat')
|
||||
if not get_option('dbus')
|
||||
error('dbus support is required for launcher-libseat')
|
||||
endif
|
||||
|
||||
libseat_dep = dependency('libseat', version: '>= 0.4')
|
||||
config_h.set('HAVE_LIBSEAT', '1')
|
||||
srcs_session_helper += [
|
||||
'launcher-libseat.c',
|
||||
]
|
||||
deps_session_helper += [
|
||||
dep_dbus,
|
||||
libseat_dep,
|
||||
]
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user