forked from pool/gzdoom
This commit is contained in:
20
gzdoom.spec
20
gzdoom.spec
@@ -28,15 +28,13 @@ URL: https://zdoom.org/
|
||||
Source: https://github.com/coelckers/gzdoom/archive/g%version.tar.gz
|
||||
Patch1: gzdoom-waddir.patch
|
||||
Patch2: gzdoom-lzma.patch
|
||||
Patch3: gzdoom-vulkan.patch
|
||||
Patch4: gzdoom-asmjit.patch
|
||||
Patch3: gzdoom-asmjit.patch
|
||||
Patch4: gzdoom-vulkan.patch
|
||||
BuildRequires: cmake >= 2.8.7
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: glslang-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: nasm
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: spirv-tools-devel
|
||||
BuildRequires: unzip
|
||||
BuildRequires: zmusic-devel
|
||||
BuildRequires: pkgconfig(bzip2)
|
||||
@@ -48,6 +46,11 @@ BuildRequires: pkgconfig(openal)
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
BuildRequires: pkgconfig(vulkan)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
%if 0%{?sle_version} >= 150200
|
||||
BuildRequires: glslang-devel >= 6.3
|
||||
%else
|
||||
Provides: bundled(glslang) = 8.13.3559
|
||||
%endif
|
||||
Recommends: freedoom
|
||||
Recommends: timidity
|
||||
Recommends: timidity-eawpats
|
||||
@@ -71,8 +74,13 @@ GZDoom is a port (a modification) of the original Doom source code, featuring:
|
||||
* Demo record/playback of classic and Boom demos is not supported.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %name-g%version
|
||||
rm -Rfv glslang src/rendering/vulkan/thirdparty/vulkan
|
||||
%setup -qn %name-g%version
|
||||
%patch -P 1 -P 2 -P 3 -p1
|
||||
%if 1 || 0%{?sle_version} >= 150200
|
||||
%patch -P 4 -p1
|
||||
rm -Rf glslang
|
||||
%endif
|
||||
rm -Rf src/common/rendering/vulkan/thirdparty/vulkan
|
||||
perl -i -pe 's{__DATE__}{""}g' src/posix/sdl/i_main.cpp
|
||||
|
||||
%build
|
||||
|
Reference in New Issue
Block a user