mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-26 01:40:25 -05:00
build-sys: meson: Allow building the daemon only
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
This commit is contained in:
parent
a67f894775
commit
4cf4a1fd5b
10 changed files with 54 additions and 16 deletions
|
|
@ -188,6 +188,15 @@ else
|
|||
endif
|
||||
# FIXME: Do SIMD things
|
||||
|
||||
if get_option('daemon-only')
|
||||
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)
|
||||
if glib_dep.found()
|
||||
libpulse_mainloop_glib_dep = dependency('libpulse-mainloop-glib', required : true)
|
||||
endif
|
||||
else
|
||||
|
||||
libpulsecommon = shared_library('pulsecommon-' + pa_version_major_minor,
|
||||
libpulsecommon_sources,
|
||||
libpulsecommon_headers,
|
||||
|
|
@ -207,6 +216,8 @@ libpulsecommon = shared_library('pulsecommon-' + pa_version_major_minor,
|
|||
libpulsecommon_dep = declare_dependency(link_with: libpulsecommon)
|
||||
|
||||
subdir('pulse')
|
||||
endif
|
||||
|
||||
if get_option('daemon')
|
||||
subdir('pulsecore')
|
||||
subdir('daemon')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue