Skip to content

Commit e05ce4d

Browse files
authored
Merge pull request #72 from WayfireWM/wayland-logout-option
build: Make wayland-logout installation optional
2 parents b7b3388 + 6a255f3 commit e05ce4d

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

meson.build

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ gtklayershell = dependency('gtk-layer-shell-0', version: '>= 0.1', fallback: ['
2222
libpulse = dependency('libpulse', required : get_option('pulse'))
2323
libgvc = subproject('gvc', default_options: ['static=true'], required : get_option('pulse'))
2424

25-
wayland_logout = subproject('wayland-logout')
25+
if get_option('wayland-logout') == true
26+
wayland_logout = subproject('wayland-logout')
27+
endif
2628

2729
if libpulse.found()
2830
libgvc = libgvc.get_variable('libgvc_dep')

meson_options.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
option('pulse', type: 'feature', value: 'auto', description: 'Build pulseaudio volume widget')
2+
option('wayland-logout', type: 'boolean', value: 'true', description: 'Install wayland-logout')

0 commit comments

Comments
 (0)