Skip to content

Commit

Permalink
Revert "feat: Build gamescope with clang"
Browse files Browse the repository at this point in the history
This reverts commit ed3f427.
  • Loading branch information
KyleGospo committed Aug 24, 2024
1 parent 5d31fa0 commit aa3f8b9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions spec_files/gamescope/gamescope.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

%global _default_patch_fuzz 2
%global build_timestamp %(date +"%Y%m%d")
%global toolchain clang
%global gamescope_tag 3.15.1

Name: gamescope
Expand All @@ -27,7 +26,8 @@ Patch3: v2-0001-always-send-ctrl-1-2-to-steam-s-wayland-session.patch
BuildRequires: meson >= 0.54.0
BuildRequires: ninja-build
BuildRequires: cmake
BuildRequires: clang
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: glm-devel
BuildRequires: google-benchmark-devel
BuildRequires: libXmu-devel
Expand Down Expand Up @@ -108,11 +108,7 @@ sed -i 's^../thirdparty/SPIRV-Headers/include/spirv/^/usr/include/spirv/^' src/m
%build
cd gamescope
export PKG_CONFIG_PATH=pkgconfig
%if %{__isa_bits} == 64
%meson --auto-features=enabled -Dforce_fallback_for=vkroots,wlroots,libliftoff
%else
%meson -Denable_gamescope=false -Denable_gamescope_wsi_layer=true
%endif
%meson_build

%install
Expand All @@ -122,12 +118,10 @@ cd gamescope
%files
%license gamescope/LICENSE
%doc gamescope/README.md
%if %{__isa_bits} == 64
%caps(cap_sys_nice=eip) %{_bindir}/gamescope
%{_bindir}/gamescopectl
%{_bindir}/gamescopestream
%{_bindir}/gamescopereaper
%endif

%files libs
%{_libdir}/libVkLayer_FROG_gamescope_wsi_*.so
Expand Down

0 comments on commit aa3f8b9

Please sign in to comment.