mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
gzdoom: update to version 4.11.3 + patch fixing missing pk3files.
This commit is contained in:
parent
aec9871ed3
commit
c0bb93a078
2 changed files with 25 additions and 3 deletions
22
srcpkgs/gzdoom/patches/pk3location.patch
Executable file
22
srcpkgs/gzdoom/patches/pk3location.patch
Executable file
|
@ -0,0 +1,22 @@
|
|||
diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp
|
||||
index 0b3931e..c6856cc 100644
|
||||
--- a/src/gameconfigfile.cpp
|
||||
+++ b/src/gameconfigfile.cpp
|
||||
@@ -124,6 +124,8 @@ FGameConfigFile::FGameConfigFile ()
|
||||
SetValueForKey ("Path", "/usr/local/share/doom", true);
|
||||
SetValueForKey ("Path", "/usr/local/share/games/doom", true);
|
||||
SetValueForKey ("Path", "/usr/share/doom", true);
|
||||
+ // Adds the correct locations of the pk3file for Voidlinux
|
||||
+ SetValueForKey ("Path", "/usr/share/gzdoom", true);
|
||||
SetValueForKey ("Path", "/usr/share/games/doom", true);
|
||||
#endif
|
||||
}
|
||||
@@ -146,6 +148,8 @@ FGameConfigFile::FGameConfigFile ()
|
||||
SetValueForKey ("Path", "/usr/local/share/doom", true);
|
||||
SetValueForKey ("Path", "/usr/local/share/games/doom", true);
|
||||
SetValueForKey ("Path", "/usr/share/doom", true);
|
||||
+ // Adds the correct locations of the pk3file for Voidlinux
|
||||
+ SetValueForKey ("Path", "/usr/share/gzdoom", true);
|
||||
SetValueForKey ("Path", "/usr/share/games/doom", true);
|
||||
#endif
|
||||
SetValueForKey ("Path", "$DOOMWADDIR", true);
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'gzdoom'
|
||||
pkgname=gzdoom
|
||||
version=4.11.0
|
||||
version=4.11.3
|
||||
revision=1
|
||||
archs="~i686* ~arm*"
|
||||
build_style=cmake
|
||||
|
@ -14,8 +14,8 @@ homepage="https://www.zdoom.org"
|
|||
# WARNING: watch out for new submodules
|
||||
distfiles="https://github.com/ZDoom/gzdoom/archive/g${version}.tar.gz
|
||||
https://github.com/ZDoom/gzdoom/releases/download/g${version}/gzdoom_${version}_amd64.deb"
|
||||
checksum="44a0aee6fa6b9cc2f5956bb98252708720b03ddf264821c487ce6af07cb204d7
|
||||
23cec6b75612e106aa32dbf1e44dcddb5cce73d7476ab58da1af9429bcafeed4"
|
||||
checksum="5943dba50da20ff94f1fcc415132672d42a15917c571b1c2b7ceefe14935f5d5
|
||||
4c544d243dc15fc22000a3b6eabd83fd70f87ea63205a14ff04254c092f74642"
|
||||
skip_extraction="${pkgname}_${version}_amd64.deb"
|
||||
nocross=yes
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue