SHA256
1
0
forked from pool/gzdoom

Accepting request 645682 from games

- Update to new upstream release 3.6.0

OBS-URL: https://build.opensuse.org/request/show/645682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gzdoom?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-11-10 15:58:18 +00:00 committed by Git OBS Bridge
commit 198deb2eb0
6 changed files with 57 additions and 9 deletions

View File

@ -2,8 +2,8 @@
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">git://github.com/coelckers/gzdoom</param>
<param name="revision">g3.5.0</param>
<param name="versionformat">3.5.0</param>
<param name="revision">g3.6.0</param>
<param name="versionformat">3.6.0</param>
<!-- non-OSI media -->
<param name="exclude">wadsrc_extra</param>
</service>

28
fl2.patch Normal file
View File

@ -0,0 +1,28 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2018-10-16 14:29:56.900427855 +0200
Make the build work with fluidsynth 2.x.
---
src/sound/mididevices/music_fluidsynth_mididevice.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Index: gzdoom-3.6.0/src/sound/mididevices/music_fluidsynth_mididevice.cpp
===================================================================
--- gzdoom-3.6.0.orig/src/sound/mididevices/music_fluidsynth_mididevice.cpp
+++ gzdoom-3.6.0/src/sound/mididevices/music_fluidsynth_mididevice.cpp
@@ -78,10 +78,13 @@ extern "C" unsigned __stdcall GetSystemD
#define FLUID_CHORUS_DEFAULT_LEVEL 2.0f
#define FLUID_CHORUS_DEFAULT_SPEED 0.3f
#define FLUID_CHORUS_DEFAULT_DEPTH 8.0f
-#define FLUID_CHORUS_DEFAULT_TYPE FLUID_CHORUS_MOD_SINE
#endif
+#ifndef FLUID_CHORUS_DEFAULT_TYPE
+#define FLUID_CHORUS_DEFAULT_TYPE FLUID_CHORUS_MOD_SINE
+#endif
+
// TYPES -------------------------------------------------------------------
// EXTERNAL FUNCTION PROTOTYPES --------------------------------------------

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a58c76511a7d5c4219bd430063c8431037b9cf02c4f28836d42a8dd72453cfb6
size 7991064

3
gzdoom-3.6.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:970536a12e1ae718911100e2152f26e73bd7a8505a32f911576b387f4fe78901
size 8032488

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Oct 16 11:52:51 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 3.6.0
* Add OBJ model support
* Add HITOWNER flag, when set, allows a projectile to collide
with its shooter.
* Enabled the linear shadowmap filter.
* Added 5x and 6x upscaling with xBRZ
* Exports various resurrection-related functions to ZScript.
- Update to new upstream release 3.5.1
* Added post processing support to the software renderer and
softpoly.
- Add fl2.patch
-------------------------------------------------------------------
Sun Aug 5 12:00:27 UTC 2018 - mardnh@gmx.de

View File

@ -12,12 +12,12 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: gzdoom
Version: 3.5.0
Version: 3.6.0
Release: 0
Summary: A DOOM source port with graphic and modding extensions
License: GPL-3.0-only
@ -29,6 +29,7 @@ Source: %name-%version.tar.xz
Patch1: gzdoom-waddir.patch
Patch2: gzdoom-wadsrc-extra.patch
Patch3: gzdoom-staticlibs.patch
Patch4: fl2.patch
Patch5: gzdoom-lzma.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake >= 2.8.7
@ -44,8 +45,10 @@ BuildRequires: pkgconfig(fluidsynth)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libgme)
BuildRequires: pkgconfig(libmpg123)
BuildRequires: pkgconfig(openal)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(zlib)
%if 0%{?suse_version} >= 1500
BuildRequires: pkgconfig(clzma) >= 17.01
@ -79,7 +82,7 @@ GZDoom is a port (a modification) of the original Doom source code, featuring:
%prep
%setup -q
%patch -P 1 -P 2 -P 3 -p1
%patch -P 1 -P 2 -P 3 -P 4 -p1
%if 0%{?suse_version} >= 1500
%patch -P 5 -p1
@ -98,7 +101,9 @@ perl -i -pe 's{<unknown version>}{%version}g' \
-DCMAKE_SHARED_LINKER_FLAGS="" \
-DCMAKE_EXE_LINKER_FLAGS="" -DCMAKE_MODULE_LINKER_FLAGS="" \
-DINSTALL_DOCS_PATH="%_defaultdocdir/%name" \
-DINSTALL_PK3_PATH="%_datadir/doom"
-DINSTALL_PK3_PATH="%_datadir/doom" \
-DDYN_FLUIDSYNTH=OFF -DDYN_OPENAL=OFF \
-DDYN_SNDFILE=OFF -DDYN_MPG123=OFF
make %{?_smp_mflags}
%install