The xdg-desktop-portal-hyprland package provides a portal backend for Hyprland.
CMake, Hypr Libraries, libdrm, OpenGL (libglvnd or Mesa; Mesa's GL is not supported), Pipewire, Qt-6, sdbus-cpp-2.1.0, Wayland, Wayland-Protocols, and xdg-desktop-portal
Install xdg-desktop-portal-hyprland by running the following commands:
rm -rf subprojects/sdbus-cpp &&
mkdir build &&
cd build &&
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-G Ninja .. &&
ninja
Now, as the root user:
ninja install && rm -rvf /usr/lib/systemd
rm -rf subprojects/sdbus-cpp: This command removes vendored source code that FTBFS.
rm -rvf /usr/lib/systemd: This command removes unnecessary Systemd files.