Package Details: vkquake 1.33.1-1

Git Clone URL: https://aur.archlinux.org/vkquake.git (read-only, click to copy)
Package Base: vkquake
Description: A modern Quake 1 engine. Forked from Fitzquake. This version contains Vulkan API support.
Upstream URL: https://github.com/Novum/vkquake
Keywords: fps quake quakespasm quakeworld
Licenses: GPL-2.0-or-later
Provides: vkquake
Submitter: ProfessorKaos64
Maintainer: HurricanePootis
Last Packager: HurricanePootis
Votes: 29
Popularity: 0.84
First Submitted: 2016-12-11 00:53 (UTC)
Last Updated: 2025-12-31 20:45 (UTC)

Dependencies (14)

Required by (0)

Sources (5)

Latest Comments

1 2 3 4 5 Next › Last »

Derson5 commented on 2025-12-10 01:50 (UTC)

I can't build:

==> Making package: vkquake 1.32.3.1-2 (Wed 10 Dec 2025 02:46:20 CET)
==> Retrieving sources...
  -> Downloading vkquake-1.32.3.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0   0     0   0     0     0     0  --:--:-- --:--:-- --:--:--     0
100 27582k   0 27582k   0     0 11627k     0  --:--:--  0:00:02 --:--:-- 19167k
  -> Found vkquake.desktop
  -> Found vkquake.png
  -> Found vkquake.svg
  -> Found ctype.patch
  -> Downloading spirv.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1591 100  1591   0     0  4582     0  --:--:-- --:--:-- --:--:--  4598
==> Validating source files with sha512sums...
    vkquake-1.32.3.1.tar.gz ... Passed
    vkquake.desktop ... Passed
    vkquake.png ... Passed
    vkquake.svg ... Passed
    ctype.patch ... Passed
    spirv.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'vkquake-1.32.3.1-2':

leahanderson commented on 2025-11-30 21:27 (UTC)

the sha512 sum for spirv.patch is incorrect

kinker31 commented on 2025-10-20 08:08 (UTC) (edited on 2025-10-20 10:55 (UTC) by kinker31)

@TheMaxus Opened up an issue over at the github repo.

UPDATE: The issue is fixed, but only in the git version right now.

TheMaxus commented on 2025-10-20 07:54 (UTC)

spirv-remap is no longer included in Arch repositories as far as I can tell so the package no longer builds

janvkn commented on 2024-04-21 13:16 (UTC)

@HurricanePootis thanks for the feedback.

Given that it reportedly works for you and @kinker31, I looked back into it, and it turns out there was an issue on my end. I had an older /etc/makepkg.conf file. After merging it with the /etc/makepkg.conf.pacnew file, vkquake now builds without errors, no patch needed.

Diffing the two files, the default CFLAGS do look quite different. I can only assume that the error was caused by one of them.

HurricanePootis commented on 2024-04-18 03:06 (UTC)

I can still build vkquake with gcc 13 without experiencing those builds

kinker31 commented on 2024-04-17 14:31 (UTC)

VKQuake builds, installs, and plays without any major issue on my end, though for some reason the program doesn't save the option whever to enable smooth animations/movements or not, and defaults to "Smooth", which I personally find undesirable.

janvkn commented on 2024-04-02 08:53 (UTC)

@HurricanePootis the build currently fails with GCC13.

The patch that @spillner provided below was apparently taken from upstream https://github.com/Novum/vkQuake/commit/19d76588037977f59506c18aa3d307f8f5124d0f

Related upstream issue can be found here: https://github.com/Novum/vkQuake/issues/688

HurricanePootis commented on 2023-09-28 17:24 (UTC)

@zed123 @spillner, I was able to build vkquake without the patch in a clean chroot. Please provide more information on this patch and where it comes from before expecting me to take it in.

spillner commented on 2023-09-03 22:15 (UTC) (edited on 2023-09-03 22:19 (UTC) by spillner)

Patch to build with GCC 13:

diff -Naur orig/PKGBUILD new/PKGBUILD
--- orig/PKGBUILD       2023-09-04 08:10:25.101533679 +1000
+++ new/PKGBUILD        2023-09-04 08:03:48.411677421 +1000
@@ -17,15 +17,21 @@
 makedepends=('vulkan-validation-layers' 'meson' 'vulkan-headers' 'glslang' 'spirv-tools')
 install=$pkgname.install
 source=("https://github.com/Novum/vkQuake/archive/${pkgver}.tar.gz"
+       'vkquake-gcc13.patch'
        'vkquake.desktop'
        'vkquake.png'
        'vkquake.svg')
 sha512sums=('e29a469e6c923e899e142860e27e343eafd54f02dfb5842f081aadb077f97187d5aa092dcb98352b76f13dbc18d88a3afabf2e21799a305fe536c35fb6d68bbd'
+           '23d12f3695d286528e8d84c1473721b9c2e382975db87cf4137b8cc7c77d34b54ca4df9156f5c120812b43ce2a512a59c8709c4b41b33d626a783a15b8c30e30'
         '75881c2fea0628dcecff496a5e3035bbb4e408b81527737339ebfd66ad04ca04621d4e13e3e0537f091f8b1127dc231583f746d11cc6c11658cdb976db77e145'
         '9ac17fb2f549656869a02a9a1896786aa4a4f753c6b1174d14b999c94693164ec71a73f9ab6f4a96591ef3af407ffce4f29b0ed87e878f14bb177e396898f29f'
         '5a712a6c0447acea7a6c690cb7e63a2111e28646ef0935dfbd40cc4164c9ed5fc6fdba6eeafe44b618b17e856b3b0f60cc3ddbdedd8e536feef97de969d407b0')


+prepare () {
+  patch -p1 --directory="$_quake-$pkgver" --input="${srcdir}/vkquake-gcc13.patch"
+}
+
 build() {

   cd "$srcdir/$_quake-$pkgver"
diff -Naur orig/vkquake-gcc13.patch new/vkquake-gcc13.patch
--- orig/vkquake-gcc13.patch    1970-01-01 10:00:00.000000000 +1000
+++ new/vkquake-gcc13.patch     2023-09-04 07:55:05.374019208 +1000
@@ -0,0 +1,25 @@
+diff --git a/Quake/gl_heap.c b/Quake/gl_heap.c
+index d2a0ccfa..db55ad0b 100644
+--- a/Quake/gl_heap.c
++++ b/Quake/gl_heap.c
+@@ -645,7 +645,7 @@ glheapallocation_t *GL_HeapAllocate (glheap_t *heap, VkDeviceSize size, VkDevice
+ 
+       if (size < heap->segment_size)
+       {
+-              allocinfo_t                alloc_info;
++              ZEROED_STRUCT (allocinfo_t, alloc_info);
+               const VkDeviceSize size_alignment_max = q_max (size, alignment);
+               alloc_info.is_small_alloc = size_alignment_max <= heap->page_size / 2;
+               if (alloc_info.is_small_alloc)
+diff --git a/Quake/sv_phys.c b/Quake/sv_phys.c
+index 3f57f53e..f214aea2 100644
+--- a/Quake/sv_phys.c
++++ b/Quake/sv_phys.c
+@@ -276,6 +276,7 @@ int SV_FlyMove (edict_t *ent, float time, trace_t *steptrace)
+       blocked = 0;
+       VectorCopy (ent->v.velocity, original_velocity);
+       VectorCopy (ent->v.velocity, primal_velocity);
++      VectorCopy (ent->v.velocity, new_velocity);
+       numplanes = 0;
+ 
+       time_left = time;