mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-23 14:55:57 +01:00
21d216ed7f
* CMake: get rid of Makefile * Nix: build using CMake
34 lines
662 B
Markdown
34 lines
662 B
Markdown
# xdg-desktop-portal-hyprland
|
|
|
|
An [XDG Desktop Portal](https://github.com/flatpak/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:
|
|
|
|
```sh
|
|
git clone --recursive https://github.com/hyprwm/xdg-desktop-portal-hyprland
|
|
cd xdg-desktop-portal-hyprland/
|
|
cmake -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -B build
|
|
cmake --install /usr
|
|
```
|
|
|
|
## Running, FAQs, etc.
|
|
|
|
See
|
|
[the Hyprland wiki](https://wiki.hyprland.org/Useful-Utilities/Hyprland-desktop-portal)
|