build-sys: meson: change daemon-only to client

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
This commit is contained in:
Igor V. Kovalenko 2021-11-04 16:35:19 +03:00 committed by PulseAudio Marge Bot
parent 4cf4a1fd5b
commit 6928714b64
7 changed files with 16 additions and 16 deletions

View file

@ -188,7 +188,7 @@ else
endif
# FIXME: Do SIMD things
if get_option('daemon-only')
if not get_option('client')
libpulsecommon_dep = cc.find_library('pulsecommon-' + pa_version_major_minor, dirs : privlibdir, required : true)
libpulse_dep = dependency('libpulse', required : true)
libpulse_simple_dep = dependency('libpulse-simple', required : true)

View file

@ -30,7 +30,7 @@ default_tests += [
[ check_dep, libm_dep, libpulse_dep, libpulsecommon_dep ] ],
]
if not get_option('daemon-only')
if get_option('client')
default_tests += [
[ 'mainloop-test', 'mainloop-test.c',
[ check_dep, libpulse_dep, libpulsecommon_dep ] ],

View file

@ -1,4 +1,4 @@
if not get_option('daemon-only')
if get_option('client')
pacat_sources = [
'pacat.c',
]
@ -74,7 +74,7 @@ if get_option('daemon')
endif
endif
if not get_option('daemon-only')
if get_option('client')
if x11_dep.found()
pax11publish_sources = [
'pax11publish.c',