mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
vengi-tools: 0.0.17 -> 0.0.18
This commit is contained in:
parent
af35bc1c34
commit
7d87dadcea
1 changed files with 2 additions and 20 deletions
|
@ -29,33 +29,15 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vengi-tools";
|
||||
version = "0.0.17";
|
||||
version = "0.0.18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mgerhardy";
|
||||
repo = "vengi";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-h+R9L0BBD3NSFWUh43g4V2LBcNyqVInBeJiOLY03nRk=";
|
||||
sha256 = "sha256-Ur1X5FhOa87jbjWBXievBfCHW+qP/8bqLiyKAC8+KU4=";
|
||||
};
|
||||
|
||||
# Patch from the project's author for fixing an issue with AnimationShaders.h
|
||||
# not being included when turning off some components
|
||||
patches = [(writeText "vengi-tools-fix-build.patch" ''
|
||||
diff --git a/src/modules/voxelworldrender/CMakeLists.txt b/src/modules/voxelworldrender/CMakeLists.txt
|
||||
index aebe5f97b..903e62b37 100644
|
||||
--- a/src/modules/voxelworldrender/CMakeLists.txt
|
||||
+++ b/src/modules/voxelworldrender/CMakeLists.txt
|
||||
@@ -27,7 +27,7 @@ set(FILES
|
||||
voxel/models/plants/3.qb
|
||||
voxel/models/plants/4.qb
|
||||
)
|
||||
-engine_add_module(TARGET ''${LIB} SRCS ''${SRCS} ''${SRCS_SHADERS} FILES ''${FILES} DEPENDENCIES frontend voxelrender)
|
||||
+engine_add_module(TARGET ''${LIB} SRCS ''${SRCS} ''${SRCS_SHADERS} FILES ''${FILES} DEPENDENCIES animation frontend voxelrender)
|
||||
generate_shaders(''${LIB} world water postprocess)
|
||||
|
||||
set(TEST_SRCS
|
||||
'')];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
|
|
Loading…
Reference in a new issue