[hyprland] use similar format for patch as qt-support package
Some checks failed
Build hyprland-git / Build and push image (push) Failing after 2m41s

This commit is contained in:
2026-05-11 12:46:25 -04:00
parent 4bddad4778
commit 049790d27e

View File

@@ -35,7 +35,7 @@ Source0: %{url}/releases/download/v%{version}/source-v%{version}.tar.gz
%endif
Source4: macros.hyprland
Source5: https://github.com/xkbcommon/libxkbcommon/archive/xkbcommon-%{libxkbcommon_version}/libxkbcommon-%{libxkbcommon_version}.tar.gz
Patch0: cursor-fix.patch
Patch: cursor-fix.patch
%{lua:
hyprdeps = {
@@ -188,7 +188,7 @@ Requires: pkgconfig(xkbcommon)
%prep
%autosetup -n %{?bumpver:Hyprland-%{hyprland_commit}} %{!?bumpver:hyprland-source} -N -p0
%autosetup -n %{?bumpver:Hyprland-%{hyprland_commit}} %{!?bumpver:hyprland-source} -p1
%if 0%{?bumpver}
tar -xf %{SOURCE2} -C subprojects/hyprland-protocols --strip=1