openbsd-ports/games/vkquake/Makefile
sdk ba42b68704 Update vkquake to 1.20.3 (+unbreak due to SDL error)
Changes:

1.20.3
* Fixed multiple parallelism bugs
* 8-bit mode now has dithering

1.20.2
* Fixed a crash on startup with re-release Quake data
* Fixed crash with small stack sized on Unix (e.g. musl libc)

1.20.1
* Fix a bug that could cause random lockups with 1.20.0
* Fix screenshot crash
* Fix corruption if new vkquake.pak is missing or old one is still in place

1.20.0
* Parallelized renderer for significantly higher performance
* Parallelized texture mip generation for faster load times
* SIMD code optimizations
* "8-bit" color mode emulation
* Scaling is now less blurry
* Mods menu
* Completely replaced memory management (no more -heapsize)

OK thfr@ (maintainer)
2022-10-23 14:59:26 +00:00

48 lines
948 B
Makefile

COMMENT = port of Quake 1 using Vulkan instead of OpenGL
V = 1.20.3
PKGNAME = vkquake-${V}
GH_ACCOUNT = Novum
GH_PROJECT = vkQuake
GH_TAGNAME = ${V}
CATEGORIES = games x11
MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
# GPLv2
PERMIT_PACKAGE = Yes
WANTLIB += SDL2 c m mad ogg pthread vorbis vorbisfile vulkan
# C11
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
LIB_DEPENDS = audio/libmad \
audio/libogg \
audio/libvorbis \
devel/sdl2 \
graphics/vulkan-loader
MAKE_FLAGS = bindir=${PREFIX}/share/vkquake \
DO_USERDIRS=1 \
X11BASE=${X11BASE}
USE_GMAKE = Yes
NO_TEST = Yes
WRKSRC = ${WRKDIST}/Quake
ALL_TARGET = vkquake
# remove some .orig files that mess with ports work
post-extract:
rm ${WRKSRC}/../Misc/vq_pak/*.orig
rm ${WRKSRC}/../Misc/vq_pak/maps/*.orig
pre-install:
mkdir -p ${PREFIX}/share/vkquake/id1
post-install:
${SUBST_CMD} -c -m 755 ${FILESDIR}/vkquake.sh ${PREFIX}/bin/vkquake
.include <bsd.port.mk>