The xdg-desktop-portal-wlr package provides the screenshot and screencast portal interfaces for wlroots compositors. Most of the other portal interfaces are provided by xdg-desktop-portal-gtk-1.15.3, but isn't strictly required unless you need those interfaces.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
MD5 校验和:4a02f0350b69df8168b235994df0e43c
大小:44 KB
预计所需磁盘空间:4 MB
预计构建时间:小于 0.1 SBU
Mesa-26.1.3, inih-62, libdrm-2.4.134, Systemd-261.1, pipewire-1.6.7, Wayland-1.25.0, wayland-protocols-1.49, and xdg-desktop-portal-1.22.1
xdg-desktop-portal-gtk-1.15.3 (for providing most portals interfaces like getting the preferred file manager)
Install xdg-desktop-portal-wlr by running the following commands:
mkdir build &&
cd build &&
meson setup --prefix=/usr \
--buildtype=release \
.. &&
ninja
This package doesn't come with a test suite.
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