mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-12-22 09:49:49 +01:00
A read-only mirror of https://github.com/hyprwm/xdg-desktop-portal-hyprland
15fd76cb6e
src/portals/Screencopy.cpp:956:9: error: use of undeclared identifier 'close' close(PBUFFER->fd[plane]); ^ src/portals/Screencopy.cpp:1293:21: error: use of undeclared identifier 'close' close(pBuffer->fd[plane_tmp]); ^ src/portals/Screencopy.cpp:1308:17: error: use of undeclared identifier 'close' close(pBuffer->fd[plane]); ^ |
||
---|---|---|
.builds | ||
.github/workflows | ||
contrib | ||
hyprland-share-picker | ||
nix | ||
protocols | ||
src | ||
subprojects | ||
.clang-format | ||
.editorconfig | ||
.gitignore | ||
.gitmodules | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
flake.lock | ||
flake.nix | ||
hyprland.portal | ||
LICENSE | ||
meson.build | ||
meson_options.txt | ||
org.freedesktop.impl.portal.desktop.hyprland.service.in | ||
README.md | ||
VERSION |
xdg-desktop-portal-hyprland
An XDG Desktop Portal backend for Hyprland.
Installing
First, make sure to install the required dependencies:
gbm
hyprland-protocols
hyprlang
libdrm
libpipewire-0.3
libspa-0.2
sdbus-cpp
wayland-client
wayland-protocols
Then run the build and install command:
git clone --recursive https://github.com/hyprwm/xdg-desktop-portal-hyprland
cd xdg-desktop-portal-hyprland/
cmake -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr -B build
cmake --build build
sudo cmake --install build