27 lines
863 B
Bash
27 lines
863 B
Bash
# Template file for 'vkQuake'
|
|
pkgname=vkQuake
|
|
version=1.04.1
|
|
revision=1
|
|
build_wrksrc="Quake"
|
|
build_style=gnu-makefile
|
|
make_build_args="DO_USERDIRS=1"
|
|
make_use_env=yes
|
|
makedepends="SDL2-devel libvorbis-devel libmad-devel Vulkan-Headers vulkan-loader"
|
|
short_desc="Vulkan Quake port based on QuakeSpasm"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/Novum/vkQuake"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=aa318b7c543834ac907f6d0657c6560e8974445274083a95131d7350fb871624
|
|
|
|
post_patch() {
|
|
# This is the upstream fix for the dropping of VK_DYNAMIC_STATE_RANGE_SIZE
|
|
vsed -e 's/VK_DYNAMIC_STATE_RANGE_SIZE/3/' -i gl_rmisc.c
|
|
}
|
|
|
|
do_install() {
|
|
vbin vkquake
|
|
vinstall ../Misc/vkQuake_512.png 644 usr/share/pixmaps vkquake.png
|
|
vinstall ${FILESDIR}/vkquake.desktop 644 usr/share/applications
|
|
}
|