- Update to snapshot 2.5.1.5 SVN4532

OBS-URL: https://build.opensuse.org/package/show/games/prboom-plus?expand=0&rev=25
This commit is contained in:
Jan Engelhardt 2018-11-14 09:06:35 +00:00 committed by Git OBS Bridge
parent ae7b9e63a0
commit 0b4a93947f
7 changed files with 77 additions and 35 deletions

13
_service Normal file
View File

@ -0,0 +1,13 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">svn</param>
<param name="url">https://svn.prboom.org/repos/branches/prboom-plus-24/prboom2</param>
<param name="exclude">data/sounds/dsdg*</param>
<param name="versionformat">2.5.1.5+svn%r</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@ -1,4 +1,5 @@
#!/bin/sh -ex #!/bin/sh -ex
# To be used with normal tarballs; it's replicated in _service for service downloads.
# Remove Wolfenstein dogs from source; they belong to another game # Remove Wolfenstein dogs from source; they belong to another game
# with incompatible licensing. # with incompatible licensing.

View File

@ -2,16 +2,24 @@ From: Jan Engelhardt <jengelh@inai.de>
Date: 2012-02-19 07:16:45.000000000 +0100 Date: 2012-02-19 07:16:45.000000000 +0100
--- ---
src/version.c | 2 +- src/version.c | 4 ++--
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 2 insertions(+), 2 deletions(-)
Index: prboom-plus-2.5.1.1/src/version.c Index: prboom2-2.5.1.5+svn4532/src/version.c
=================================================================== ===================================================================
--- prboom-plus-2.5.1.1.orig/src/version.c --- prboom2-2.5.1.5+svn4532.orig/src/version.c
+++ prboom-plus-2.5.1.1/src/version.c +++ prboom2-2.5.1.5+svn4532/src/version.c
@@ -35,4 +35,4 @@ @@ -37,11 +37,11 @@
#include "version.h" #include "version.h"
-const char version_date[] = __DATE__ " " __TIME__; #ifndef BUILD_DATE
+const char version_date[] = ""; -#define BUILD_DATE __DATE__
+#define BUILD_DATE ""
#endif
#ifndef BUILD_TIME
-#define BUILD_TIME __TIME__
+#define BUILD_TIME ""
#endif
const char version_date[] = BUILD_DATE " " BUILD_TIME;

View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Nov 14 08:55:03 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Update to snapshot 2.5.1.5 SVN4532
* Move to SDL2
* Added the "cap_fps" config variable
* The Del key can be used to clear key bindings in the setup menu.
* Added "Weapon Attack Alignment" option to align the weapon while
shooting. Possible values: "off" (doom behavior), "horizontal",
"centered" and "bobbing" for bobbing during fire.
* Removed the "Strafe 50 on Turns" and "Two-key strafe50:
StrafeOn + MoveLR = strafe50" feature.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 29 23:57:18 UTC 2016 - jengelh@inai.de Tue Mar 29 23:57:18 UTC 2016 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package prboom-plus # spec file for package prboom-plus
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,21 +12,21 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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: prboom-plus Name: prboom-plus
Version: 2.5.1.4 Version: 2.5.1.5+svn4532
Release: 0 Release: 0
Summary: Open source port of the DOOM game engine Summary: DOOM source port with demo compatibility
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Amusements/Games/3D/Shoot Group: Amusements/Games/3D/Shoot
Url: http://prboom-plus.sf.net/ Url: http://prboom-plus.sf.net/
#SVN-Clone: https://svn.prboom.org/repos/branches/prboom-plus-24/prboom2 #SVN-Clone: https://svn.prboom.org/repos/branches/prboom-plus-24/prboom2
#DL-URL: http://downloads.sf.net/prboom-plus/prboom-plus-2.5.1.4.tar.gz #DL-URL: http://downloads.sf.net/prboom-plus/prboom-plus-2.5.1.4.tar.gz
Source: %name-%version+.tar.xz Source: prboom2-%version.tar.xz
Source2: clean_source.sh Source2: clean_source.sh
Patch1: prboom-nodatetime.diff Patch1: prboom-nodatetime.diff
Patch2: prboom-types1.diff Patch2: prboom-types1.diff
@ -39,12 +39,13 @@ BuildRequires: Mesa-devel
BuildRequires: automake BuildRequires: automake
BuildRequires: fluidsynth-devel BuildRequires: fluidsynth-devel
BuildRequires: hicolor-icon-theme BuildRequires: hicolor-icon-theme
BuildRequires: libSDL_image-devel
BuildRequires: libSDL_mixer-devel
BuildRequires: libSDL_net-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
BuildRequires: pcre-devel BuildRequires: pcre-devel
BuildRequires: pkgconfig(SDL2_image)
BuildRequires: pkgconfig(SDL2_mixer)
BuildRequires: pkgconfig(SDL2_net)
BuildRequires: pkgconfig(sdl2)
%if 0%{?suse_version} >= 1320 %if 0%{?suse_version} >= 1320
BuildRequires: portmidi-devel BuildRequires: portmidi-devel
%endif %endif
@ -55,35 +56,41 @@ Obsoletes: prboom <= 2.5.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
PrBoom+ is a Doom source port developed from the original PrBoom PrBoom+ is a conservative Doom source port. It features:
project, an open-source port of Doom, the classic 3D first-person
shooter game which outclassed any 3D world games that preceded
it, with amazing speed, flexibility, and outstanding gameplay.
prboom(-plus) focuses heavily on retaining compatibility with the * The removal of engine limits and bugs, like the visplane limit,
original Doom engines, which plays a big role in demo recording and savegame size limit, the tutti-frutti and medusa visual effects,
playback. and others.
* BOOM editing extensions, e.g. configurable animated/switch
textures, deep water effect, scrolling walls/floors/ceilings,
conveyor belts, translucent walls and sprites, friction effects,
and generic linedef actions.
* Focus on retaining compatibility with the original Doom engines
for the purpose of demo recording and playback.
* High resolution rendering of map geometry, optionally in OpenGL
mode.
%prep %prep
%setup -q %setup -qn prboom2-%version
%patch -P 1 -P 2 -P 3 -P 5 -P 6 -P 7 -P 8 -p1 %patch -P 1 -P 2 -P 3 -P 5 -P 6 -P 7 -P 8 -p1
%build %build
cp -al data/sounds/free/*.wav data/sounds/
autoreconf -fi
# rpm has its own optimizations, so turn off shipped defaults # rpm has its own optimizations, so turn off shipped defaults
%configure --enable-gl --disable-cpu-opt --program-prefix="" \ %configure --enable-gl --disable-cpu-opt --program-prefix="" \
--with-waddir="%_datadir/doom" --disable-dogs --with-waddir="%_datadir/doom" --disable-dogs
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
b="%buildroot"
%make_install gamesdir="%_bindir" %make_install gamesdir="%_bindir"
# convenience symlink # convenience symlink
ln -s prboom-plus "%buildroot/%_bindir/prboom" ln -s prboom-plus "%buildroot/%_bindir/prboom"
install -Dm0644 ICONS/prboom-plus.svg "$b/%_datadir/icons/hicolor/scalable/apps/prboom-plus.svg"
install -Dm0644 ICONS/prboom-plus.svg "%buildroot/%_datadir/icons/hicolor/scalable/apps/prboom-plus.svg" install -Dm0644 ICONS/prboom-plus.desktop "$b/%_datadir/applications/prboom-plus.desktop"
install -Dm0644 ICONS/prboom-plus.desktop "%buildroot/%_datadir/applications/prboom-plus.desktop" install -Dm0644 ICONS/prboom-plus.bash "$b/%_datadir/bash-completion/completions/prboom-plus.bash"
install -Dm0644 ICONS/prboom-plus.bash "%buildroot/%_datadir/bash-completion/completions/prboom-plus.bash"
%post %post
%desktop_database_post %desktop_database_post
@ -97,7 +104,7 @@ install -Dm0644 ICONS/prboom-plus.bash "%buildroot/%_datadir/bash-completion/com
%defattr(-,root,root) %defattr(-,root,root)
%_bindir/* %_bindir/*
%_datadir/doom/ %_datadir/doom/
%_datadir/doc/%name-%version/ %_datadir/doc/*
%_mandir/*/* %_mandir/*/*
%_datadir/applications/prboom-plus.desktop %_datadir/applications/prboom-plus.desktop
%_datadir/icons/hicolor/scalable/apps/prboom-plus.svg %_datadir/icons/hicolor/scalable/apps/prboom-plus.svg

View File

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