Commit efde4fd2 authored by x06174's avatar x06174

2019-11-08 10:16:51

parent 8affd051
This diff is collapsed.
# linux-rpm-gzdoom
# Information / Информация
ZDoom is a family of enhanced ports (modifications) of the Doom engine for running on modern operating systems. It runs on Windows, Linux, and OS X, and adds new features not found in the games as originally published by id Software.
ZDoom features the following that is not found in the original Doom:
- Runs on all modern versions of Windows, Mac, and Linux distributions.
- Can play all Doom engine games, including Ultimate Doom, Doom II, Heretic, Hexen, Strife, and more.
- Supports all editing features of Hexen.
- Supports most of the Boom editing features.
- Supports new features such as colored lighting, 3D floors, and much more.
- All Doom limits are gone.
- Several softsynths for MUS and MIDI playback, including OPL softsynth for an authentitc "oldschool" flavor.
- High resolutions.
- Quake-style console and key bindings.
- Crosshairs.
- Free look.
- Jumping, crouching, swimming, and flying.
- Up to 8 player network games using UDP/IP, including team-based gameplay.
- Support for the Bloodbath announcer from the classic Monolith game Blood.
- Walk over/under monsters and other things.
GZDoom provides an OpenGL renderer and HQnX rescaling.
## Donation / Пожертвование
- [Donating](https://donating.gitlab.io/)
\ No newline at end of file
File added
--- gzdoom/src/sound/mididevices/music_fluidsynth_mididevice.cpp 2019-02-25 15:40:17.377764751 -0700
+++ gzdoomnew/src/sound/mididevices/music_fluidsynth_mididevice.cpp 2019-02-25 15:49:01.734838899 -0700
@@ -79,10 +79,13 @@
#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 --------------------------------------------
--- gzdoom-g4.1.2-orig/glslang/spirv/CMakeLists.txt 2019-05-14 12:08:00.000000000 -0700
+++ gzdoom-g4.1.2/glslang/spirv/CMakeLists.txt 2019-05-22 12:12:19.940469685 -0700
@@ -47,6 +47,8 @@
SPVRemapper.h
doc.h)
+set(LIB_TYPE STATIC)
+
if(ENABLE_AMD_EXTENSIONS)
list(APPEND
HEADERS
--- gzdoom-g4.0.0-orig/src/posix/i_system.h 2019-04-07 00:11:51.000000000 -0700
+++ gzdoom-g4.0.0/src/posix/i_system.h 2019-04-16 11:40:09.796301919 -0700
@@ -42,7 +42,7 @@
struct WadStuff;
#ifndef SHARE_DIR
-#define SHARE_DIR "/usr/local/share/"
+#define SHARE_DIR "/usr/share/doom/"
#endif
Name: gzdoom
Version: 4.2.4
Release: 100%{?dist}
Summary: An OpenGL DOOM source port with graphic and modding extensions
License: GPLv3
URL: https://zdoom.org
Source0: https://github.com/coelckers/gzdoom/archive/g%{version}.tar.gz
Patch1: %{name}-waddir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: cmake
BuildRequires: tar
BuildRequires: git
BuildRequires: nasm
BuildRequires: glew-devel
# pkgconfig
BuildRequires: pkgconfig(flac)
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(fluidsynth)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(sdl)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(libgme)
BuildRequires: pkgconfig(openal)
BuildRequires: pkgconfig(libmpg123)
BuildRequires: timidity++
BuildRequires: libjpeg-turbo-devel
BuildRequires: wildmidi-devel
Requires: wildmidi
Requires: openal-soft
Requires: fluidsynth
Requires: SDL2
Recommends: freedoom
%description
ZDoom is a family of enhanced ports (modifications) of the Doom engine for
running on modern operating systems. It runs on Windows, Linux, and OS X, and
adds new features not found in the games as originally published by id Software.
ZDoom features the following that is not found in the original Doom:
* Runs on all modern versions of Windows, Mac, and Linux distributions.
* Can play all Doom engine games, including Ultimate Doom, Doom II, Heretic, Hexen, Strife, and more.
* Supports all editing features of Hexen.
* Supports most of the Boom editing features.
* Supports new features such as colored lighting, 3D floors, and much more.
* All Doom limits are gone.
* Several softsynths for MUS and MIDI playback, including OPL softsynth for an authentitc "oldschool" flavor.
* High resolutions.
* Quake-style console and key bindings.
* Crosshairs.
* Free look.
* Jumping, crouching, swimming, and flying.
* Up to 8 player network games using UDP/IP, including team-based gameplay.
* Support for the Bloodbath announcer from the classic Monolith game Blood.
* Walk over/under monsters and other things.
GZDoom provides an OpenGL renderer and HQnX rescaling.
# -------------------------------------------------------------------------------------------------------------------- #
# -----------------------------------------------------< SCRIPT >----------------------------------------------------- #
# -------------------------------------------------------------------------------------------------------------------- #
%prep
%setup -qn %{name}-g%{version}
%patch -P 1 -p1
%{__perl} -i -pe 's{__DATE__}{""}g' src/posix/sdl/i_main.cpp
%{__perl} -i -pe 's{<unknown version>}{%version}g' \
tools/updaterevision/updaterevision.c
%build
%cmake -DNO_STRIP=1 \
-DCMAKE_SHARED_LINKER_FLAGS="" \
-DCMAKE_EXE_LINKER_FLAGS="" \
-DCMAKE_MODULE_LINKER_FLAGS="" \
-DBUILD_SHARED_LIBS="OFF" \
-DINSTALL_DOCS_PATH="%{_docdir}/%{name}" \
-DINSTALL_PK3_PATH="%{_datadir}/doom"
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%make_install
# Don't know why but the XPM isn't put anywhere
%{__mkdir_p} %{buildroot}%{_datadir}/icons/hicolor/256x256/apps
%{__cp} %{_builddir}/%{name}-g%{version}/src/posix/zdoom.xpm \
%{buildroot}%{_datadir}/icons/hicolor/256x256/apps/gzdoom.xpm
# Fallback soundfont
%{__mkdir_p} %{buildroot}%{_datadir}/doom/soundfonts
%{__cp} %{_builddir}/%{name}-g%{version}/soundfont/gzdoom.sf2 \
%{buildroot}%{_datadir}/doom/soundfonts/gzdoom.sf2
%post
echo "INFO: %{name}: The global IWAD directory is %{_datadir}/doom."
%files
%defattr(-, root, root, -)
%doc docs/console.css docs/console.html docs/rh-log.txt docs/licenses/*
%{_bindir}/%{name}
%{_datadir}/doom/*
%{_docdir}/%{name}/*
%{_datadir}/icons/hicolor/256x256/apps/gzdoom.xpm
%changelog
* Thu Oct 03 2019 MARKETPLACE <uid.marketplace@gmail.com> - 4.2.1-100
- NEW: v4.2.1.
* Mon Jul 08 2019 MARKETPLACE <uid.marketplace@gmail.com> - 4.1.3-101
- UPD: SPEC-file.
* Mon Jul 08 2019 MARKETPLACE <uid.marketplace@gmail.com> - 4.1.3-100
- UPD: MARKETPLACE.
* Mon Jun 10 2019 Louis Abel <tucklesepk@gmail.com> - 4.1.3-1
- Update to 4.1.3
- Removed static patches
* Fri May 31 2019 Louis Abel <tucklesepk@gmail.com> - 4.1.2-6
- Added AARCH64 to builds
- Added i386 back to builds
* Wed May 22 2019 Louis Abel <tucklesepk@gmail.com> - 4.1.2-5
- Update to 4.1.2
- Modified patches
* Wed May 15 2019 Louis Abel <tucklesepk@gmail.com> - 4.1.1-5
- Update to 4.1.1
* Sun Apr 28 2019 Louis Abel <tucklesepk@gmail.com> - 4.0.0-5
- Added more static libraries in patches
* Tue Apr 16 2019 Louis Abel <tucklesepk@gmail.com> - 4.0.0-4
- Rebase to 4.0.0
- Fixed, removed, redid patches as needed
- 32 bit builds are no longer supported
* Tue Apr 09 2019 Louis Abel <tucklesepk@gmail.com> - 3.7.2-4
- Adding Fedora 30 to build
- Added OpenSUSE Tumbleweed as a distribution
- Some BuildRequires converted to pkgconfig based on fedora spec
* Mon Feb 25 2019 Louis Abel <tucklesepk@gmail.com> - 3.7.2-3
- Added application file for games menu
- Updated description
- Removed timidity++ as a weak dependency
- Removed Group section as it is not required
- Added fallback soundfont from the sources
* Mon Feb 25 2019 Louis Abel <tucklesepk@gmail.com> - 3.7.2-2
- Added back qzdoom provides
- Added patch to allow build to work with fluidsynth 2
for when Fedora decides to rebase
* Mon Feb 25 2019 Tommy Nguyen <remyabel@gmail.com> - 3.7.2-2
- Added patch for libasmjit.so
* Mon Feb 25 2019 Louis Abel <tucklesepk@gmail.com> - 3.7.2-1
- Rebased to 3.7.2
- Removed provides of qzdoom
- Automated webhook build from git
* Fri Oct 12 2018 Louis Abel <tucklesepk@gmail.com> - 3.6.0-1
- Rebuild spec according to Fedora guidelines
- Removed timidity dependency as timidity is built-in to gzdoom
- Rebased to 3.6.0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment