File hyprland.spec.patch of Package hyprland
diff --git hyprland.spec hyprland.spec.new
index b610077..dba143c 100644
--- hyprland.spec
+++ hyprland.spec.new
@@ -31,13 +31,9 @@ URL: https://hyprland.org/
Source0: %{name}-%{version}.tar.xz
Source99: %{name}.rpmlintrc
Patch1: meson-missing-wayland-include.patch
-Patch2: disable-donation-nag-popup.patch
-Patch3: pkg-config-with-deps.patch
BuildRequires: cmake
BuildRequires: gcc-c++ >= 14
BuildRequires: git
-BuildRequires: glaze-devel
-BuildRequires: glslang-devel
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(aquamarine) >= 0.9.3
@@ -59,27 +55,16 @@ BuildRequires: pkgconfig(pangocairo)
BuildRequires: pkgconfig(pixman-1) >= 0.42.0
BuildRequires: pkgconfig(re2)
BuildRequires: pkgconfig(systemd)
-BuildRequires: pkgconfig(tomlplusplus)
BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(vulkan) >= 1.2.182
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-protocols) >= 1.26
BuildRequires: pkgconfig(wayland-scanner)
BuildRequires: pkgconfig(wayland-server) >= 1.22
-BuildRequires: pkgconfig(xcb)
-BuildRequires: pkgconfig(xcb-icccm)
-BuildRequires: pkgconfig(xcb-renderutil)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xkbcommon)
-BuildRequires: pkgconfig(xwayland)
%if 0%{?suse_version}
BuildRequires: Mesa-libGLESv3-devel
-%bcond_without xcb_errors
-%else
-%bcond_with xcb_errors
-%endif
-%if %{with xcb_errors}
-BuildRequires: pkgconfig(xcb-errors)
%endif
Recommends: %{name}-wallpapers
%if %{with devel}
@@ -166,13 +151,13 @@ cat > src/version.h << EOF
#define GIT_TAG "%{version}"
#define GIT_COMMITS "-1"
EOF
-sed -i 's;REPLACE_ME_WITH_PREFIX;%{_prefix};' hyprpm/src/core/DataState.cpp
%build
%meson \
- -Dhyprpm=disabled \
- -Duwsm=disabled \
- -Dwlroots-hyprland:xcb-errors=%{?with_xcb_errors:enabled}%{!?with_xcb_errors:disabled}
+ -Dhyprpm=disabled \
+ -Duwsm=disabled \
+ -Dxwayland=disabled \
+ %{nil}
%meson_build
%install