| Summary: | pausemusic plugin has hard dependency on KF5PulseAudioQt, rendering it unusable on systems without PulseAudio | ||
|---|---|---|---|
| Product: | [Applications] kdeconnect | Reporter: | tmp6154 |
| Component: | common | Assignee: | Albert Vaca Cintora <albertvaka> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | tmp6154 |
| Priority: | NOR | ||
| Version First Reported In: | 22.04.2 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Patch to workaround this on Gentoo | ||
|
Description
tmp6154
2022-06-22 13:28:58 UTC
Created attachment 150055 [details]
Patch to workaround this on Gentoo
I've managed to remove muting support (together with PulseAudioQT dependency) pretty easily from plugin's code as a workaround and compile a working pausemusic plugin. I've attached a patch in case anyone will find it useful. So it should be pretty easy to make muting support optional by adding a couple of ifdefs here and there. Although I'm not sure how to deal with conditional stuff in UI code (QML), etc.
We could make the pausemusic plugin still build without pulseaudio by disabling only the muting feature and not the whole plugin, but I don't think there's enough demand for this. If you want to submit a patch for that, it's welcome though ;) |