mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
module-rt: allow building without RTKit
This commit is contained in:
parent
377bc16eb5
commit
6798b9a933
2 changed files with 246 additions and 138 deletions
|
|
@ -131,8 +131,8 @@ pipewire_module_profiler = shared_library('pipewire-module-profiler',
|
|||
dependencies : [spa_dep, mathlib, dl_lib, pipewire_dep],
|
||||
)
|
||||
|
||||
build_module_rt = dbus_dep.found()
|
||||
if build_module_rt
|
||||
|
||||
|
||||
pipewire_module_rt = shared_library('pipewire-module-rt', [ 'module-rt.c' ],
|
||||
include_directories : [configinc],
|
||||
install : true,
|
||||
|
|
@ -140,6 +140,9 @@ pipewire_module_rt = shared_library('pipewire-module-rt', [ 'module-rt.c' ],
|
|||
install_rpath: modules_install_dir,
|
||||
dependencies : [dbus_dep, mathlib, dl_lib, pipewire_dep],
|
||||
)
|
||||
|
||||
build_module_rtkit = dbus_dep.found()
|
||||
if build_module_rtkit
|
||||
# TODO: This serves as a temporary alias to prevent breaking existing setups
|
||||
# while `module-rtkit` is being migrated to `module-rt`
|
||||
pipewire_module_rtkit = shared_library('pipewire-module-rtkit', [ 'module-rt.c' ],
|
||||
|
|
@ -150,7 +153,7 @@ pipewire_module_rtkit = shared_library('pipewire-module-rtkit', [ 'module-rt.c'
|
|||
dependencies : [dbus_dep, mathlib, dl_lib, pipewire_dep],
|
||||
)
|
||||
endif
|
||||
summary({'rt': build_module_rt}, bool_yn: true, section: 'Optional Modules')
|
||||
summary({'rtkit': build_module_rtkit}, bool_yn: true, section: 'Optional Modules')
|
||||
|
||||
build_module_portal = dbus_dep.found()
|
||||
if build_module_portal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue