[hyprland] use similar format for patch as qt-support package
Some checks failed
Build hyprland-git / Build and push image (push) Failing after 2m41s
Some checks failed
Build hyprland-git / Build and push image (push) Failing after 2m41s
This commit is contained in:
@@ -35,7 +35,7 @@ Source0: %{url}/releases/download/v%{version}/source-v%{version}.tar.gz
|
|||||||
%endif
|
%endif
|
||||||
Source4: macros.hyprland
|
Source4: macros.hyprland
|
||||||
Source5: https://github.com/xkbcommon/libxkbcommon/archive/xkbcommon-%{libxkbcommon_version}/libxkbcommon-%{libxkbcommon_version}.tar.gz
|
Source5: https://github.com/xkbcommon/libxkbcommon/archive/xkbcommon-%{libxkbcommon_version}/libxkbcommon-%{libxkbcommon_version}.tar.gz
|
||||||
Patch0: cursor-fix.patch
|
Patch: cursor-fix.patch
|
||||||
|
|
||||||
%{lua:
|
%{lua:
|
||||||
hyprdeps = {
|
hyprdeps = {
|
||||||
@@ -188,7 +188,7 @@ Requires: pkgconfig(xkbcommon)
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%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}
|
%if 0%{?bumpver}
|
||||||
tar -xf %{SOURCE2} -C subprojects/hyprland-protocols --strip=1
|
tar -xf %{SOURCE2} -C subprojects/hyprland-protocols --strip=1
|
||||||
|
|||||||
Reference in New Issue
Block a user