The xdg-desktop-portal-wlr package provides a portal backend for Wlroots compositors.
GBM (GBM from Mesa or Mesa; only the normal installation is required for either), libdrm, elogind, OpenGL (libglvnd or Mesa; only the normal installation is required for either), Pipewire, Wayland, Wayland-Protocols, and xdg-desktop-portal
inih and scdoc-1.11.3
Install xdg-desktop-portal-wlr by running the following commands:
mkdir build &&
cd build &&
meson setup --prefix=/usr \
--buildtype=release \
-D sd-bus-provider=libelogind \
.. &&
ninja
Now, as the root
user:
ninja install
Ensure the portal can be detected as the root
user:
cat > /usr/share/xdg-desktop-portal/wlr-portals.conf << "EOF"
[preferred]
default=wlr
EOF