create partial wwan module

This commit is contained in:
Lena
2026-07-04 01:36:23 +02:00
committed by Alex
parent 46e96dfbaa
commit 949da4e829
7 changed files with 713 additions and 1 deletions
+9 -1
View File
@@ -94,6 +94,7 @@ xkbregistry = dependency('xkbregistry')
libjack = dependency('jack', required: get_option('jack'))
libwireplumber = dependency('wireplumber-0.5', required: get_option('wireplumber'))
libgps = dependency('libgps', required: get_option('gps'))
libmm_glib = dependency('libmm-glib', required: get_option('wwan'))
libsndio = compiler.find_library('sndio', required: get_option('sndio'))
if libsndio.found()
@@ -557,6 +558,12 @@ if libgps.found()
man_files += files('man/waybar-gps.5.scd')
endif
if libmm_glib.found()
add_project_arguments('-DHAVE_LIBMM_GLIB', language: 'cpp')
src_files += files('src/modules/wwan.cpp')
#man_files += files('man/waybar-wwan.5.scd')
endif
subdir('protocol')
app_resources = []
@@ -598,7 +605,8 @@ executable(
xkbregistry,
cava,
eproxy,
libgps
libgps,
libmm_glib
],
include_directories: inc_dirs,
install: true,