mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-22 12:39:49 +00:00
Revert "feat: Build gamescope with clang"
This reverts commit ed3f4276b712b91f7c58be03218f39916b0d508f.
This commit is contained in:
parent
5d31fa02a3
commit
aa3f8b9477
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
%global _default_patch_fuzz 2
|
%global _default_patch_fuzz 2
|
||||||
%global build_timestamp %(date +"%Y%m%d")
|
%global build_timestamp %(date +"%Y%m%d")
|
||||||
%global toolchain clang
|
|
||||||
%global gamescope_tag 3.15.1
|
%global gamescope_tag 3.15.1
|
||||||
|
|
||||||
Name: gamescope
|
Name: gamescope
|
||||||
@ -27,7 +26,8 @@ Patch3: v2-0001-always-send-ctrl-1-2-to-steam-s-wayland-session.patch
|
|||||||
BuildRequires: meson >= 0.54.0
|
BuildRequires: meson >= 0.54.0
|
||||||
BuildRequires: ninja-build
|
BuildRequires: ninja-build
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: clang
|
BuildRequires: gcc
|
||||||
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: glm-devel
|
BuildRequires: glm-devel
|
||||||
BuildRequires: google-benchmark-devel
|
BuildRequires: google-benchmark-devel
|
||||||
BuildRequires: libXmu-devel
|
BuildRequires: libXmu-devel
|
||||||
@ -108,11 +108,7 @@ sed -i 's^../thirdparty/SPIRV-Headers/include/spirv/^/usr/include/spirv/^' src/m
|
|||||||
%build
|
%build
|
||||||
cd gamescope
|
cd gamescope
|
||||||
export PKG_CONFIG_PATH=pkgconfig
|
export PKG_CONFIG_PATH=pkgconfig
|
||||||
%if %{__isa_bits} == 64
|
|
||||||
%meson --auto-features=enabled -Dforce_fallback_for=vkroots,wlroots,libliftoff
|
%meson --auto-features=enabled -Dforce_fallback_for=vkroots,wlroots,libliftoff
|
||||||
%else
|
|
||||||
%meson -Denable_gamescope=false -Denable_gamescope_wsi_layer=true
|
|
||||||
%endif
|
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -122,12 +118,10 @@ cd gamescope
|
|||||||
%files
|
%files
|
||||||
%license gamescope/LICENSE
|
%license gamescope/LICENSE
|
||||||
%doc gamescope/README.md
|
%doc gamescope/README.md
|
||||||
%if %{__isa_bits} == 64
|
|
||||||
%caps(cap_sys_nice=eip) %{_bindir}/gamescope
|
%caps(cap_sys_nice=eip) %{_bindir}/gamescope
|
||||||
%{_bindir}/gamescopectl
|
%{_bindir}/gamescopectl
|
||||||
%{_bindir}/gamescopestream
|
%{_bindir}/gamescopestream
|
||||||
%{_bindir}/gamescopereaper
|
%{_bindir}/gamescopereaper
|
||||||
%endif
|
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%{_libdir}/libVkLayer_FROG_gamescope_wsi_*.so
|
%{_libdir}/libVkLayer_FROG_gamescope_wsi_*.so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user