SHA256
1
0
forked from pool/vkquake

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:
Dirk Stoecker 2020-03-30 15:24:06 +00:00 committed by Git OBS Bridge
parent efeb2eb082
commit da1a8f7693
4 changed files with 51 additions and 23 deletions

View File

@ -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
View File

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

View File

@ -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>

View File

@ -1,7 +1,7 @@
#
# 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>
#
# All modifications and additions to the file contributed by third parties
@ -18,18 +18,17 @@
Name: vkquake
Version: 1.02.1
Version: 1.04.1
Release: 0
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
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
License: GPL-2.0-only
License: GPL-2.0-or-later
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
Source99: %{name}.changes
Source100: appdata.xml
Source101: %{name}.desktop
BuildRequires: pkgconfig
BuildRequires: vulkan-devel
BuildRequires: pkgconfig(flac)
BuildRequires: pkgconfig(libmikmod)
@ -37,7 +36,6 @@ BuildRequires: pkgconfig(opus)
BuildRequires: pkgconfig(opusfile)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(vorbis)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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.
@ -45,6 +43,14 @@ Game data must be placed in ~/.vkquake/id1 .
%prep
%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
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE99}")"
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
%build
make %{?_smp_mflags} -C Quake \
%make_build -C Quake \
STRIP=": do not strip:" \
DO_USERDIRS=1 \
USE_SDL2=1 \
@ -61,27 +67,23 @@ make %{?_smp_mflags} -C Quake \
USE_CODEC_MIKMOD=1 \
USE_CODEC_UMX=1 \
USE_CODEC_MP3=0
make -C Misc/vq_pak
%make_build -C Misc/vq_pak
%install
install -Dm755 Quake/vkquake %{buildroot}%{_bindir}/%{name}
install -Dm644 Misc/vq_pak/vkquake.pak %{buildroot}%{_datadir}/games/%{name}/%{name}.pak
install -D -p -m 644 Misc/vkQuake_512.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
install -D -p -m 644 %{SOURCE100} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
install -D -p -m 644 %{SOURCE101} %{buildroot}%{_datadir}/applications/%{name}.desktop
install -D -p -m 644 %{SOURCE100} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
install -D -p -m 644 %{SOURCE101} %{buildroot}%{_datadir}/applications/%{name}.desktop
%files
%defattr(-,root,root)
%doc readme.md LICENSE.txt Misc/fitzquake080.txt Misc/fitzquake080sdl.txt Misc/fitzquake085.txt
%{_bindir}/%{name}
%license LICENSE.txt
%doc readme.md Misc/fitzquake080.txt Misc/fitzquake080sdl.txt Misc/fitzquake085.txt
%dir %{_datadir}/games/%{name}/
%{_bindir}/%{name}
%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/games/%{name}/%{name}.pak
%{_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