[hyprland] Add patch to fix cursor bounds
Some checks failed
Build hyprland-git / Build and push image (push) Failing after 2m59s

This commit is contained in:
2026-05-11 12:28:39 -04:00
parent 2a04c2cc09
commit e226033b6d
2 changed files with 29 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
%global hyprland_commit 5e441cae538c9396f2ee30338419bec12969608c
%global hyprland_shortcommit %(c=%{hyprland_commit}; echo ${c:0:7})
%global bumpver 1
%global bumpver 2
%global commits_count 7302
%global commit_date Mon May 11 01:09:43 2026
@@ -35,6 +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
%{lua:
hyprdeps = {
@@ -189,6 +190,8 @@ Requires: pkgconfig(xkbcommon)
%prep
%autosetup -n %{?bumpver:Hyprland-%{hyprland_commit}} %{!?bumpver:hyprland-source} -N
%patch 0
%if 0%{?bumpver}
tar -xf %{SOURCE2} -C subprojects/hyprland-protocols --strip=1
tar -xf %{SOURCE3} -C subprojects/udis86 --strip=1