quakespasm, vkquake: enable userdirs support
This commit is contained in:
parent
a2cd43efe8
commit
302c3a7a16
@ -10,30 +10,32 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
sourceRoot = "${name}/Quake";
|
||||
|
||||
|
||||
buildInputs = [
|
||||
gzip SDL libvorbis libmad
|
||||
];
|
||||
|
||||
buildFlags = [ "DO_USERDIRS=1" ];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p "$out/bin"
|
||||
substituteInPlace Makefile --replace "/usr/local/games" "$out/bin"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
meta = {
|
||||
description = "An engine for iD software's Quake";
|
||||
homepage = http://quakespasm.sourceforge.net/;
|
||||
longDescription = ''
|
||||
QuakeSpasm is a modern, cross-platform Quake 1 engine based on FitzQuake.
|
||||
It includes support for 64 bit CPUs and custom music playback, a new sound driver,
|
||||
It includes support for 64 bit CPUs and custom music playback, a new sound driver,
|
||||
some graphical niceities, and numerous bug-fixes and other improvements.
|
||||
Quakespasm utilizes either the SDL or SDL2 frameworks, so choose which one
|
||||
works best for you. SDL is probably less buggy, but SDL2 has nicer features
|
||||
Quakespasm utilizes either the SDL or SDL2 frameworks, so choose which one
|
||||
works best for you. SDL is probably less buggy, but SDL2 has nicer features
|
||||
and smoother mouse input - though no CD support.
|
||||
'';
|
||||
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.m3tti ];
|
||||
};
|
||||
|
@ -12,11 +12,13 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
sourceRoot = "source/Quake";
|
||||
|
||||
|
||||
buildInputs = [
|
||||
makeWrapper gzip SDL2 libvorbis libmad vulkan-loader.dev
|
||||
];
|
||||
|
||||
buildFlags = [ "DO_USERDIRS=1" ];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p "$out/bin"
|
||||
'';
|
||||
@ -28,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
meta = {
|
||||
description = "Vulkan Quake port based on QuakeSpasm";
|
||||
homepage = src.meta.homepage;
|
||||
@ -40,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||
passes & sub passes, pipeline barriers & synchronization, compute shaders, push &
|
||||
specialization constants, CPU/GPU parallelism and memory pooling.
|
||||
'';
|
||||
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.gnidorah ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user