Jan Engelhardt 2024-05-01 09:14:52 +00:00 committed by Git OBS Bridge
parent 3c99f6b085
commit 02935075ec

View File

@ -46,7 +46,6 @@ BuildRequires: pkg-config
BuildRequires: unzip
BuildRequires: zmusic-devel
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(clzma)
BuildRequires: pkgconfig(flac)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(gtk+-3.0)
@ -55,14 +54,19 @@ BuildRequires: pkgconfig(openal)
BuildRequires: pkgconfig(sdl2) >= 2.0.6
BuildRequires: pkgconfig(vpx)
BuildRequires: pkgconfig(zlib)
Provides: bundled(glslang) = 11.10.0
Provides: bundled(vulkan) = 1.2.189.1
Suggests: freedoom
%if 0%{?suse_version} >= 1599
BuildRequires: pkgconfig(clzma) >= 23.01
%else
Provides: bundled(clzma) = 23.01
%endif
Provides: qzdoom = 1.3.0
Provides: zdoom = 2.8.1
Provides: bundled(gdtoa)
Provides: bundled(glslang) = 11.10.0
Provides: bundled(re2c) = 0.16.0
Provides: bundled(vulkan) = 1.2.189.1
Provides: bundled(xbrz) = 1.8
Suggests: freedoom
%description
GZDoom is a port (a modification) of the original Doom source code, featuring:
@ -74,11 +78,13 @@ GZDoom is a port (a modification) of the original Doom source code, featuring:
ZScript, and various modding features regarding actors and scenery.
* Demo record/playback of classic and Boom demos is not supported.
The executables hard-require SSE2 on i686 currently.
%ifarch %ix86
SSE2 is a hard requirement even on 32-bit x86.
%endif
%prep
%autosetup -n %name-g%version -p1
%if !(0%{?suse_version} >= 1599)
%if 0%{?suse_version} < 1599
%patch -P 5 -R -p1
%endif
perl -i -pe 's{__DATE__}{"does not matter when"}g' src/common/platform/posix/sdl/i_main.cpp