File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ xkbregistry = dependency('xkbregistry')
84
84
libnl = dependency (' libnl-3.0' , required : get_option (' libnl' ))
85
85
libnlgen = dependency (' libnl-genl-3.0' , required : get_option (' libnl' ))
86
86
libpulse = dependency (' libpulse' , required : get_option (' pulseaudio' ))
87
+ libjack = dependency (' jack' , required : get_option (' jack' ))
87
88
upower_glib = dependency (' upower-glib' , required : get_option (' upower_glib' ))
88
89
89
90
libsndio = compiler.find_library (' sndio' , required : get_option (' sndio' ))
@@ -316,8 +317,6 @@ if (upower_glib.found() and not get_option('logind').disabled())
316
317
add_project_arguments (' -DHAVE_UPOWER' , language : ' cpp' )
317
318
src_files += files (
318
319
' src/modules/upower.cpp'
319
- # 'src/modules/upower/upower.cpp',
320
- # 'src/modules/upower/upower_tooltip.cpp',
321
320
)
322
321
man_files += files (' man/waybar-upower.5.scd' )
323
322
endif
@@ -335,6 +334,12 @@ if libpulse.found()
335
334
)
336
335
endif
337
336
337
+ if libjack.found()
338
+ add_project_arguments (' -DHAVE_LIBJACK' , language : ' cpp' )
339
+ src_files += files (' src/modules/jack.cpp' )
340
+ man_files += files (' man/waybar-jack.5.scd' )
341
+ endif
342
+
338
343
subdir (' protocol' )
339
344
340
345
executable (
@@ -360,6 +365,7 @@ executable(
360
365
libnl,
361
366
libnlgen,
362
367
libpulse,
368
+ libjack,
363
369
libsndio,
364
370
upower_glib
365
371
],
You can’t perform that action at this time.
0 commit comments