Skip to content

Commit

Permalink
GTK4: MIgration Jack
Browse files Browse the repository at this point in the history
Signed-off-by: Viktar Lukashonak <[email protected]>
  • Loading branch information
LukashonakV committed Apr 20, 2024
1 parent 5c85d0d commit a7ef5cc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ xkbregistry = dependency('xkbregistry')
libnl = dependency('libnl-3.0', required: get_option('libnl'))
libnlgen = dependency('libnl-genl-3.0', required: get_option('libnl'))
libpulse = dependency('libpulse', required: get_option('pulseaudio'))
libjack = dependency('jack', required: get_option('jack'))
upower_glib = dependency('upower-glib', required: get_option('upower_glib'))

libsndio = compiler.find_library('sndio', required: get_option('sndio'))
Expand Down Expand Up @@ -316,8 +317,6 @@ if (upower_glib.found() and not get_option('logind').disabled())
add_project_arguments('-DHAVE_UPOWER', language: 'cpp')
src_files += files(
'src/modules/upower.cpp'
# 'src/modules/upower/upower.cpp',
# 'src/modules/upower/upower_tooltip.cpp',
)
man_files += files('man/waybar-upower.5.scd')
endif
Expand All @@ -335,6 +334,12 @@ if libpulse.found()
)
endif

if libjack.found()
add_project_arguments('-DHAVE_LIBJACK', language: 'cpp')
src_files += files('src/modules/jack.cpp')
man_files += files('man/waybar-jack.5.scd')
endif

subdir('protocol')

executable(
Expand All @@ -360,6 +365,7 @@ executable(
libnl,
libnlgen,
libpulse,
libjack,
libsndio,
upower_glib
],
Expand Down

0 comments on commit a7ef5cc

Please sign in to comment.