mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
meson: add option to enable/disable media-session
This commit is contained in:
parent
b7c6f70ae3
commit
3a7ce9660a
3 changed files with 8 additions and 2 deletions
|
|
@ -75,7 +75,9 @@ executable('pipewire-pulse',
|
|||
# )
|
||||
#endif
|
||||
|
||||
subdir('media-session.d')
|
||||
if get_option('media-session')
|
||||
subdir('media-session.d')
|
||||
endif
|
||||
if get_option('systemd') and systemd.found()
|
||||
subdir('systemd')
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ executable('export-spa-device',
|
|||
dependencies : [pipewire_dep, mathlib],
|
||||
)
|
||||
|
||||
if alsa_dep.found()
|
||||
if get_option('media-session') and alsa_dep.found()
|
||||
executable('pipewire-media-session',
|
||||
'media-session/access-flatpak.c',
|
||||
'media-session/access-portal.c',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue