mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-19 17:25:38 +02:00
modules/mpris: Moved code over to 'sd-bus'
- Ported d-bus specific code from 'libdbus' to 'sd-bus' - 'sd_bus' has been added to mesons dependencies. If systemd (>=221) is not installed, we fall back to [basu](https://git.sr.ht/~emersion/basu) v2.1 - Fixed a memory leak upon metadata change
This commit is contained in:
parent
8415d40988
commit
b55d5a6739
4 changed files with 412 additions and 359 deletions
|
@ -22,8 +22,8 @@ plugin_mem_enabled = get_option('plugin-mem').allowed()
|
|||
mpd = dependency('libmpdclient', required: get_option('plugin-mpd'))
|
||||
plugin_mpd_enabled = mpd.found()
|
||||
|
||||
mpris = dependency('dbus-1', required: get_option('plugin-mpris'))
|
||||
plugin_mpris_enabled = mpris.found()
|
||||
mpris = dbus
|
||||
plugin_mpris_enabled = dbus.found()
|
||||
|
||||
json_i3 = dependency('json-c', required: get_option('plugin-i3'))
|
||||
plugin_i3_enabled = json_i3.found()
|
||||
|
|
755
modules/mpris.c
755
modules/mpris.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue