chore: Restore split gamescope

This commit is contained in:
Kyle Gospodnetich 2024-04-29 23:35:34 -07:00
parent b5e1823782
commit 91c8dd80f5

View File

@ -75,15 +75,18 @@ BuildRequires: git
# libliftoff hasn't bumped soname, but API/ABI has changed for 0.2.0 release
Requires: libliftoff%{?_isa} >= %{libliftoff_minver}
Requires: xorg-x11-server-Xwayland
Requires: gamescope-libs = %{version}
Recommends: mesa-dri-drivers
Recommends: mesa-vulkan-drivers
Provides: gamescope-libs
Obsoletes: gamescope-libs
%description
%{name} is the micro-compositor optimized for running video games on Wayland.
%package libs
Summary: libs for %{name}
%description libs
%summary
%prep
git clone --depth 1 --branch %{gamescope_tag} https://github.com/ValveSoftware/gamescope
cd gamescope
@ -109,9 +112,11 @@ cd gamescope
%files
%license gamescope/LICENSE
%doc gamescope/README.md
%{_bindir}/gamescope
%attr(0755, root, root) %caps(cap_sys_nice=eip) %{_bindir}/gamescope
%files libs
%{_libdir}/libVkLayer_FROG_gamescope_wsi_*.so
%{_datadir}/vulkan/implicit_layer.d/VkLayer_FROG_gamescope_wsi.*.json
%changelog
{{{ git_dir_changelog }}}