mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-02-25 01:41:06 -05:00
Merge a500d11f0f into dcd64ae48b
This commit is contained in:
commit
0ca2f6a92f
7 changed files with 86 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ wlroots = dependency('wlroots-0.19', fallback: ['wlroots', 'wlroots'])
|
|||
wayland_protos = dependency('wayland-protocols', version: '>=1.14')
|
||||
wayland_server = dependency('wayland-server')
|
||||
xkbcommon = dependency('xkbcommon')
|
||||
systemd = dependency('libsystemd', required: get_option('systemd'))
|
||||
math = cc.find_library('m')
|
||||
|
||||
wl_protocol_dir = wayland_protos.get_variable('pkgdatadir')
|
||||
|
|
@ -82,6 +83,7 @@ endif
|
|||
|
||||
conf_data = configuration_data()
|
||||
conf_data.set10('CAGE_HAS_XWAYLAND', have_xwayland)
|
||||
conf_data.set10('CAGE_HAS_SYSTEMD', systemd.found())
|
||||
conf_data.set_quoted('CAGE_VERSION', version)
|
||||
|
||||
scdoc = dependency('scdoc', version: '>=1.9.2', native: true, required: get_option('man-pages'))
|
||||
|
|
@ -136,6 +138,10 @@ if conf_data.get('CAGE_HAS_XWAYLAND', 0) == 1
|
|||
cage_headers += 'xwayland.h'
|
||||
endif
|
||||
|
||||
if conf_data.get('CAGE_HAS_SYSTEMD', 0) == 1
|
||||
cage_sources += 'notify_systemd.c'
|
||||
endif
|
||||
|
||||
executable(
|
||||
meson.project_name(),
|
||||
cage_sources + cage_headers,
|
||||
|
|
@ -144,6 +150,7 @@ executable(
|
|||
wayland_server,
|
||||
wlroots,
|
||||
xkbcommon,
|
||||
systemd,
|
||||
math,
|
||||
],
|
||||
install: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue