From 649fed949eb9ab6a74e090f2d8cab77cb57ebef7 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sat, 14 Mar 2026 13:00:06 -0700 Subject: [PATCH] fix(gamescope): If condition for patch (#10496) (#10508) --- anda/games/terra-gamescope/terra-gamescope.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/anda/games/terra-gamescope/terra-gamescope.spec b/anda/games/terra-gamescope/terra-gamescope.spec index 447cea6cce..ff25d8dd3c 100755 --- a/anda/games/terra-gamescope/terra-gamescope.spec +++ b/anda/games/terra-gamescope/terra-gamescope.spec @@ -23,8 +23,10 @@ Patch0: Use-system-stb-glm.patch Patch1: 0001-cstdint.patch +%if 0%{?fedora} >= 44 # Fix build with libinput >= 1.27 / GCC 16 (-Werror=switch) Patch2: 0002-wlroots-libinput-switch-keypad-slide.patch +%endif BuildRequires: cmake BuildRequires: gcc @@ -139,6 +141,7 @@ export PKG_CONFIG_PATH=pkgconfig %{_bindir}/gamescopectl %{_bindir}/gamescopestream %{_bindir}/gamescopereaper +%{_bindir}/gamescope-type %{_datadir}/gamescope/* %files libs