support: add a journald logger implementation

Closes https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/358

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
This commit is contained in:
Sergey Bugaev 2020-11-05 14:22:15 +03:00 committed by Wim Taymans
parent 28af82e6d9
commit c101ff2057
2 changed files with 288 additions and 0 deletions

View file

@ -40,3 +40,15 @@ spa_dbus_lib = shared_library('spa-dbus',
dependencies : [dbus_dep, ],
install : true,
install_dir : join_paths(spa_plugindir, 'support'))
if get_option('systemd') and systemd_dep.found()
spa_journal_sources = ['journal.c']
spa_journal_lib = shared_library('spa-journal',
spa_journal_sources,
include_directories : spa_inc,
dependencies : systemd_dep,
install : true,
install_dir : join_paths(spa_plugindir, 'support'))
endif