module-access: make new access module

Rename the flatpak module to access module. The access module should
either let the client connect or mask the client busy while the
permissions are being configured. It is then up to the session manager
to collect the right permissions of the objects and configure those
in the client.

Let the media session monitor the clients and configure the permissions.
This commit is contained in:
Wim Taymans 2018-10-27 17:33:21 +01:00
parent e026f55c97
commit 5088bcce60
5 changed files with 296 additions and 531 deletions

View file

@ -5,15 +5,15 @@ pipewire_module_c_args = [
'-D_GNU_SOURCE',
]
if dbus_dep.found()
pipewire_module_flatpak = shared_library('pipewire-module-flatpak', [ 'module-flatpak.c' ],
pipewire_module_access = shared_library('pipewire-module-access', [ 'module-access.c' ],
c_args : pipewire_module_c_args,
include_directories : [configinc, spa_inc],
install : true,
install_dir : modules_install_dir,
dependencies : [dbus_dep, mathlib, dl_lib, pipewire_dep],
dependencies : [mathlib, dl_lib, pipewire_dep],
)
if dbus_dep.found()
pipewire_module_rtkit = shared_library('pipewire-module-rtkit', [ 'module-rtkit.c' ],
c_args : pipewire_module_c_args,
include_directories : [configinc, spa_inc],