mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
modules: support getting app_id in pw_check_flatpak
Support getting the Flatpak application ID from the .flatpak-info file, similarly as what xdg-desktop-portal does.
This commit is contained in:
parent
5e5339ce6c
commit
3730e54484
6 changed files with 89 additions and 5 deletions
|
|
@ -33,12 +33,17 @@ module_sources = [
|
|||
'module-x11-bell.c',
|
||||
]
|
||||
|
||||
pipewire_module_access_deps = [spa_dep, mathlib, dl_lib, pipewire_dep]
|
||||
if flatpak_support
|
||||
pipewire_module_access_deps += glib2_dep
|
||||
endif
|
||||
|
||||
pipewire_module_access = shared_library('pipewire-module-access', [ 'module-access.c' ],
|
||||
include_directories : [configinc],
|
||||
install : true,
|
||||
install_dir : modules_install_dir,
|
||||
install_rpath: modules_install_dir,
|
||||
dependencies : [spa_dep, mathlib, dl_lib, pipewire_dep],
|
||||
dependencies : pipewire_module_access_deps
|
||||
)
|
||||
|
||||
pipewire_module_loopback = shared_library('pipewire-module-loopback',
|
||||
|
|
@ -277,6 +282,10 @@ if avahi_dep.found()
|
|||
cdata.set('HAVE_AVAHI', true)
|
||||
endif
|
||||
|
||||
if flatpak_support
|
||||
pipewire_module_protocol_pulse_deps += glib2_dep
|
||||
endif
|
||||
|
||||
pipewire_module_protocol_pulse = shared_library('pipewire-module-protocol-pulse',
|
||||
pipewire_module_protocol_pulse_sources,
|
||||
include_directories : [configinc],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue