-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: get rid of Makefile and Ninja (#154)
* CMake: get rid of Makefile * Nix: build using CMake
- Loading branch information
Showing
6 changed files
with
65 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,34 @@ | ||
# xdg-desktop-portal-hyprland | ||
An [XDG Desktop Portal](https://github.com/flatpak/xdg-desktop-portal) backend for 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/ | ||
make all | ||
sudo make install | ||
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/) | ||
|
||
See | ||
[the Hyprland wiki](https://wiki.hyprland.org/Useful-Utilities/Hyprland-desktop-portal) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[D-BUS Service] | ||
Name=org.freedesktop.impl.portal.desktop.hyprland | ||
Exec=@libexecdir@/xdg-desktop-portal-hyprland | ||
Exec=@LIBEXECDIR@/xdg-desktop-portal-hyprland | ||
SystemdService=xdg-desktop-portal-hyprland.service |