Accepting request 789246 from home:cgiboudeaux:branches:games
- Update to 1.04.1. Changes since 1.02.0: * Lots of Vulkan fixes * Frame rates over 72 Hz don't break physics anymore * Default maximum frame rate raised to 200 Hz. * Fix crashes with some Intel drivers and anti aliasing * Fix crash "out of dynamic vertex buffer space" in some very large custom maps * Fix gun position being different than in QuakeSpasm when status bar alpha is 0 * Fixed alpha tested alias models * Fixed too large dynamic buffer allocations * Lightmaps are now dynamically allocated (from QuakeSpasm) * Particles are now rendered as quads instead of triangles by default (r_quadparticles) like in QuakeSpasm. * Fix alpha tested geo not testing depth * Fix issue where wrong push constants were being set if render size is smaller than window * Fixed certain UI elementes being rendered with alpha blending instead of alpha testing like in QS * Fix issue with Intel GPUs crashing when leaving full screen * Updated to latest QuakeSpasm code * Fix particle alpha being affected by fog OBS-URL: https://build.opensuse.org/request/show/789246 OBS-URL: https://build.opensuse.org/package/show/games/vkquake?expand=0&rev=9
This commit is contained in:
parent
efeb2eb082
commit
da1a8f7693
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e69373146114f399854a43bce3c33cd757e053cb49721c2afe17f42ec1292026
|
|
||||||
size 3468997
|
|
3
vkQuake-1.04.1.tar.gz
Normal file
3
vkQuake-1.04.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:aa318b7c543834ac907f6d0657c6560e8974445274083a95131d7350fb871624
|
||||||
|
size 3870270
|
@ -1,3 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 27 23:05:55 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 1.04.1. Changes since 1.02.0:
|
||||||
|
* Lots of Vulkan fixes
|
||||||
|
* Frame rates over 72 Hz don't break physics anymore
|
||||||
|
* Default maximum frame rate raised to 200 Hz.
|
||||||
|
* Fix crashes with some Intel drivers and anti aliasing
|
||||||
|
* Fix crash "out of dynamic vertex buffer space"
|
||||||
|
in some very large custom maps
|
||||||
|
* Fix gun position being different than in QuakeSpasm
|
||||||
|
when status bar alpha is 0
|
||||||
|
* Fixed alpha tested alias models
|
||||||
|
* Fixed too large dynamic buffer allocations
|
||||||
|
* Lightmaps are now dynamically allocated (from QuakeSpasm)
|
||||||
|
* Particles are now rendered as quads instead of triangles
|
||||||
|
by default (r_quadparticles) like in QuakeSpasm.
|
||||||
|
* Fix alpha tested geo not testing depth
|
||||||
|
* Fix issue where wrong push constants were being
|
||||||
|
set if render size is smaller than window
|
||||||
|
* Fixed certain UI elementes being rendered with alpha
|
||||||
|
blending instead of alpha testing like in QS
|
||||||
|
* Fix issue with Intel GPUs crashing when leaving full screen
|
||||||
|
* Updated to latest QuakeSpasm code
|
||||||
|
* Fix particle alpha being affected by fog
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 17 19:34:23 UTC 2019 - Martin Hauke <mardnh@gmx.de>
|
Mon Jun 17 19:34:23 UTC 2019 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
38
vkquake.spec
38
vkquake.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package vkquake
|
# spec file for package vkquake
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
# Copyright (c) 2017 Luke Jones <luke.nukem.jones@gmail.com>
|
# Copyright (c) 2017 Luke Jones <luke.nukem.jones@gmail.com>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -18,18 +18,17 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: vkquake
|
Name: vkquake
|
||||||
Version: 1.02.1
|
Version: 1.04.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Quake 1 port using Vulkan instead of OpenGL for rendering
|
Summary: Quake 1 port using Vulkan instead of OpenGL for rendering
|
||||||
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
|
License: GPL-2.0-or-later
|
||||||
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
|
|
||||||
License: GPL-2.0-only
|
|
||||||
Group: Amusements/Games/3D/Shoot
|
Group: Amusements/Games/3D/Shoot
|
||||||
Url: https://github.com/Novum/vkQuake
|
URL: https://github.com/Novum/vkQuake
|
||||||
Source: https://github.com/Novum/vkQuake/archive/%{version}/vkQuake-%{version}.tar.gz
|
Source: https://github.com/Novum/vkQuake/archive/%{version}/vkQuake-%{version}.tar.gz
|
||||||
Source99: %{name}.changes
|
Source99: %{name}.changes
|
||||||
Source100: appdata.xml
|
Source100: appdata.xml
|
||||||
Source101: %{name}.desktop
|
Source101: %{name}.desktop
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: vulkan-devel
|
BuildRequires: vulkan-devel
|
||||||
BuildRequires: pkgconfig(flac)
|
BuildRequires: pkgconfig(flac)
|
||||||
BuildRequires: pkgconfig(libmikmod)
|
BuildRequires: pkgconfig(libmikmod)
|
||||||
@ -37,7 +36,6 @@ BuildRequires: pkgconfig(opus)
|
|||||||
BuildRequires: pkgconfig(opusfile)
|
BuildRequires: pkgconfig(opusfile)
|
||||||
BuildRequires: pkgconfig(sdl2)
|
BuildRequires: pkgconfig(sdl2)
|
||||||
BuildRequires: pkgconfig(vorbis)
|
BuildRequires: pkgconfig(vorbis)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
vkQuake is a Quake 1 port using Vulkan instead of OpenGL for rendering. It is based on the popular QuakeSpasm port and runs all mods compatible with it like Arcane Dimensions or In The Shadows.
|
vkQuake is a Quake 1 port using Vulkan instead of OpenGL for rendering. It is based on the popular QuakeSpasm port and runs all mods compatible with it like Arcane Dimensions or In The Shadows.
|
||||||
@ -45,6 +43,14 @@ Game data must be placed in ~/.vkquake/id1 .
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n vkQuake-%{version}
|
%setup -q -n vkQuake-%{version}
|
||||||
|
|
||||||
|
%if 0%{?sle_version} < 150200
|
||||||
|
sed -i 's#vulkan_core.h#vulkan.h#' Quake/quakedef.h
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# Drop pre-compiled Windows stuff
|
||||||
|
rm Windows -fr
|
||||||
|
|
||||||
# Fix usage of __DATE__ and __TIME__ macros to prevent build in excess
|
# Fix usage of __DATE__ and __TIME__ macros to prevent build in excess
|
||||||
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE99}")"
|
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE99}")"
|
||||||
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
|
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
|
||||||
@ -52,7 +58,7 @@ TIME="\"$(date -d "${modified}" "+%%R")\""
|
|||||||
sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" Quake/host.c
|
sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" Quake/host.c
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} -C Quake \
|
%make_build -C Quake \
|
||||||
STRIP=": do not strip:" \
|
STRIP=": do not strip:" \
|
||||||
DO_USERDIRS=1 \
|
DO_USERDIRS=1 \
|
||||||
USE_SDL2=1 \
|
USE_SDL2=1 \
|
||||||
@ -61,7 +67,7 @@ make %{?_smp_mflags} -C Quake \
|
|||||||
USE_CODEC_MIKMOD=1 \
|
USE_CODEC_MIKMOD=1 \
|
||||||
USE_CODEC_UMX=1 \
|
USE_CODEC_UMX=1 \
|
||||||
USE_CODEC_MP3=0
|
USE_CODEC_MP3=0
|
||||||
make -C Misc/vq_pak
|
%make_build -C Misc/vq_pak
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -Dm755 Quake/vkquake %{buildroot}%{_bindir}/%{name}
|
install -Dm755 Quake/vkquake %{buildroot}%{_bindir}/%{name}
|
||||||
@ -71,17 +77,13 @@ install -D -p -m 644 %{SOURCE100} %{buildroot}%{_datadir}/appdata/%{name}.appda
|
|||||||
install -D -p -m 644 %{SOURCE101} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
install -D -p -m 644 %{SOURCE101} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%license LICENSE.txt
|
||||||
%doc readme.md LICENSE.txt Misc/fitzquake080.txt Misc/fitzquake080sdl.txt Misc/fitzquake085.txt
|
%doc readme.md Misc/fitzquake080.txt Misc/fitzquake080sdl.txt Misc/fitzquake085.txt
|
||||||
%{_bindir}/%{name}
|
|
||||||
%dir %{_datadir}/games/%{name}/
|
%dir %{_datadir}/games/%{name}/
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_datadir}/appdata/%{name}.appdata.xml
|
||||||
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_datadir}/games/%{name}/%{name}.pak
|
%{_datadir}/games/%{name}/%{name}.pak
|
||||||
%{_datadir}/pixmaps/%{name}.png
|
%{_datadir}/pixmaps/%{name}.png
|
||||||
%{_datadir}/applications/%{name}.desktop
|
|
||||||
%if ( 0%{?suse_version} == 1315 && 0%{?sle_version} == 120100 ) || ! 0%{?is_opensuse}
|
|
||||||
# Leap 42.1 or SLE
|
|
||||||
%dir %{_datadir}/appdata
|
|
||||||
%endif
|
|
||||||
%{_datadir}/appdata/%{name}.appdata.xml
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user