Making PipeWire required for xdp-kde

Aleix Pol aleixpol at kde.org
Tue Apr 7 12:36:33 BST 2020


On Tue, Apr 7, 2020 at 1:27 PM Jan Grulich <jgrulich at redhat.com> wrote:
>
> Hi,
>
> I recently pushed a background portal implementation, which also needs some
> KWayland stuff, while previously it was needed just for screen sharing purpose
> and compiled only when PipeWire and some other libraries are found. Now I need
> the Wayland part available all the time and I don't want to use idefs all over
> the place to disable most of the Wayland code in case of PipeWire is not
> found. Because of that, I'm thinking of making PipeWire and remaining libs
> (GBM, Epoxy) as required. What do you think? PipeWire is already available
> basically everywhere and this way users won't miss screen sharing support in
> case packagers forget to add PipeWire as dependency.
>
> Optional dependencies are mentioned here:
> https://cgit.kde.org/xdg-desktop-portal-kde.git/tree/CMakeLists.txt#n23
>
> Here you can see that Wayland integration part is built only when screen
> sharing is enabled:
> https://cgit.kde.org/xdg-desktop-portal-kde.git/tree/src/CMakeLists.txt#n37
>
> Thank you for your opinions.
>
> Regards,
> Jan

+1 I'd say it makes a lot of sense.
We are also considering using Pipewire for other things like
thumbnails. Seems like it will be an important system in the future.

GBM and Epoxy are already used in KWin extensively.

Aleix


More information about the Plasma-devel mailing list