forked from pool/gzdoom
This commit is contained in:
10
gzdoom.spec
10
gzdoom.spec
@@ -30,7 +30,8 @@ Patch1: gzdoom-waddir.patch
|
||||
Patch2: gzdoom-wadsrc-extra.patch
|
||||
Patch3: gzdoom-staticlibs.patch
|
||||
Patch4: fl2.patch
|
||||
Patch5: gzdoom-systemlibs.patch
|
||||
Patch5: gzdoom-lzma.patch
|
||||
Patch6: gzdoom-vulkan.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: cmake >= 2.8.7
|
||||
BuildRequires: gcc-c++
|
||||
@@ -38,9 +39,9 @@ BuildRequires: glslang-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: nasm
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: spirv-tools-devel
|
||||
BuildRequires: unzip
|
||||
BuildRequires: xz
|
||||
BuildRequires: pkgconfig(SPIRV-Tools)
|
||||
BuildRequires: pkgconfig(bzip2)
|
||||
BuildRequires: pkgconfig(flac)
|
||||
BuildRequires: pkgconfig(fluidsynth)
|
||||
@@ -90,10 +91,13 @@ GZDoom is a port (a modification) of the original Doom source code, featuring:
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%patch -P 5 -p1
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1550
|
||||
%patch -P 6 -p1
|
||||
rm -Rfv glslang src/rendering/vulkan/thirdparty/vulkan
|
||||
%endif
|
||||
perl -i -pe 's{__DATE__}{""}g' src/posix/sdl/i_main.cpp
|
||||
perl -i -pe 's{<unknown version>}{%version}g' \
|
||||
tools/updaterevision/updaterevision.c
|
||||
rm -Rfv glslang src/rendering/vulkan/thirdparty/vulkan
|
||||
|
||||
%build
|
||||
# We must not strip - %%debug_package will take care of it
|
||||
|
Reference in New Issue
Block a user