mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-09 18:35:32 +00:00
This addresses comments from Debian review of the package. Cherry-pick-of: #13904 Test-bot: skip
24 lines
666 B
Meson
24 lines
666 B
Meson
project('keyman-system-service', 'c', 'cpp',
|
|
version: run_command('cat', '../../VERSION.md', check: true).stdout().strip(),
|
|
license: 'MIT',
|
|
meson_version: '>=1.0')
|
|
|
|
conf = configuration_data()
|
|
|
|
evdev = dependency('libevdev', version: '>= 1.9')
|
|
|
|
systemd = dependency('libsystemd', 'libelogind', required: false)
|
|
if systemd.found()
|
|
conf.set('DBUS_IMPLEMENTATION', 'SYSTEMD')
|
|
else
|
|
# Gentoo can use libelogind or basu
|
|
systemd = dependency('basu', required: true)
|
|
conf.set('DBUS_IMPLEMENTATION', 'BASU')
|
|
endif
|
|
|
|
configure_file(output : 'config.h',
|
|
configuration : conf)
|
|
|
|
subdir('resources')
|
|
subdir('src')
|
|
subdir('tests')
|