mirror of
https://github.com/labwc/labwc.git
synced 2026-05-02 06:47:03 -04:00
Make labnag a meson feature flag
Add a 'labnag' meson option (default: auto) to allow disabling the labnag notification daemon at build time. This is useful for embedded/headless deployments (e.g. Android) where labnag is not needed, and avoids building its wayland-client dependencies. Disable with: meson setup build -Dlabnag=disabled
This commit is contained in:
parent
3128f50a25
commit
862d230ff9
2 changed files with 55 additions and 52 deletions
|
|
@ -1,3 +1,4 @@
|
|||
if get_option('labnag').allowed()
|
||||
wayland_client = dependency('wayland-client')
|
||||
wayland_cursor = dependency('wayland-cursor')
|
||||
|
||||
|
|
@ -54,6 +55,7 @@ executable(
|
|||
include_directories: [labwc_inc],
|
||||
install: true,
|
||||
)
|
||||
endif
|
||||
|
||||
clients = files('lab-sensible-terminal')
|
||||
install_data(clients, install_dir: get_option('bindir'))
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ option('man-pages', type: 'feature', value: 'auto', description: 'Generate and i
|
|||
option('xwayland', type: 'feature', value: 'auto', description: 'Enable support for X11 applications')
|
||||
option('svg', type: 'feature', value: 'enabled', description: 'Enable svg window buttons')
|
||||
option('icon', type: 'feature', value: 'enabled', description: 'Enable window icons')
|
||||
option('labnag', type: 'feature', value: 'auto', description: 'Build labnag notification daemon')
|
||||
option('nls', type: 'feature', value: 'auto', description: 'Enable native language support')
|
||||
option('static_analyzer', type: 'feature', value: 'disabled', description: 'Run gcc static analyzer')
|
||||
option('test', type: 'feature', value: 'disabled', description: 'Run tests')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue