Forgot to actually patch hyprland-git
Some checks failed
Build hyprland-git / Build and push image (push) Failing after 3m1s

This commit is contained in:
2025-12-09 13:10:37 -05:00
parent 5d0b78c319
commit 981c359cef

View File

@@ -28,6 +28,7 @@ License: BSD-3-Clause AND BSD-2-Clause AND HPND-sell-variant AND LGPL-2.1
URL: https://github.com/hyprwm/Hyprland
%if 0%{?bumpver}
Source0: %{url}/archive/%{hyprland_commit}/%{name}-%{hyprland_shortcommit}.tar.gz
Patch: dynamicPointerCast.patch
Source2: https://github.com/hyprwm/hyprland-protocols/archive/%{protocols_commit}/protocols-%{protocols_shortcommit}.tar.gz
Source3: https://github.com/canihavesomecoffee/udis86/archive/%{udis86_commit}/udis86-%{udis86_shortcommit}.tar.gz
%else
@@ -35,7 +36,6 @@ 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
Patch: dynamicPointerCast.patch
%{lua:
hyprdeps = {
@@ -201,7 +201,8 @@ Requires: pkgconfig(xkbcommon)
%prep
%autosetup -n %{?bumpver:Hyprland-%{hyprland_commit}} %{!?bumpver:hyprland-source} -N -p1
%autosetup -n %{?bumpver:Hyprland-%{hyprland_commit}} %{!?bumpver:hyprland-source} -N
%autopatch
%if 0%{?fedora} < 43
mkdir -p subprojects/libxkbcommon
tar -xf %{SOURCE5} -C subprojects/libxkbcommon --strip=1