Skip to content

Commit a7ef5cc

Browse files
committed
GTK4: MIgration Jack
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
1 parent 5c85d0d commit a7ef5cc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Diff for: meson.build

+8-2
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ xkbregistry = dependency('xkbregistry')
8484
libnl = dependency('libnl-3.0', required: get_option('libnl'))
8585
libnlgen = dependency('libnl-genl-3.0', required: get_option('libnl'))
8686
libpulse = dependency('libpulse', required: get_option('pulseaudio'))
87+
libjack = dependency('jack', required: get_option('jack'))
8788
upower_glib = dependency('upower-glib', required: get_option('upower_glib'))
8889

8990
libsndio = compiler.find_library('sndio', required: get_option('sndio'))
@@ -316,8 +317,6 @@ if (upower_glib.found() and not get_option('logind').disabled())
316317
add_project_arguments('-DHAVE_UPOWER', language: 'cpp')
317318
src_files += files(
318319
'src/modules/upower.cpp'
319-
# 'src/modules/upower/upower.cpp',
320-
# 'src/modules/upower/upower_tooltip.cpp',
321320
)
322321
man_files += files('man/waybar-upower.5.scd')
323322
endif
@@ -335,6 +334,12 @@ if libpulse.found()
335334
)
336335
endif
337336

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+
338343
subdir('protocol')
339344

340345
executable(
@@ -360,6 +365,7 @@ executable(
360365
libnl,
361366
libnlgen,
362367
libpulse,
368+
libjack,
363369
libsndio,
364370
upower_glib
365371
],

0 commit comments

Comments
 (0)