Open ANRY17 opened 4 months ago
I encountered the same problem. From what I see, xdg-portal-hyprland-git is out-of-date. I haven't tested xdg-desktop-portal-hyprland; I directly downloaded the mentioned package from GitHub, but the problem persisted. Helped this here: https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/230#issuecomment-2198611963.
I found a temporal workaround for this:
1: Use git clone instead of curl script since you will be able to modify local files in your home folder
2: Run script 'till the package building error part, ignore that error and the script will try to install the portal package but since you couldn't build the "xdg-desktop-portal-hyprland-git" package it will give you another error, keep the script open and DON'T exit just leave it like that and proceed to step 3
3: Modify the PKGBUILD inside the ~/dots-hyprland/arch-packages/illogical-impulse-portal directory and delete the -git part from the "xdg-desktop-portal-hyprland-git" line. So it should just say this: 'xdg-desktop-portal-hyprland" Save and exit.
4: Run pacman and install "xdg-desktop-portal-hyprland" directly from the extra repo.
5: Retry the step in your install.sh script and it should proceed as normal...
I had the same issue. Managed to solve it by opening another terminal and: yay -S xdg-desktop-portal-hyprland...and so on. Then repeated the command.
Error installing xdg-portal-hyprland-git