gzdoom: update to 4.14.2

and fix pk3location.patch for 4.14.2
This commit is contained in:
dastrukar 2025-06-26 17:16:08 +08:00 committed by classabbyamp
parent a4bbe564d8
commit 8b171c5384
2 changed files with 10 additions and 10 deletions

View file

@ -1,21 +1,21 @@
diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp
index 0b3931e..c6856cc 100644
index b61279ebc..3577442be 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
+ // Adds the correct locations of the pk3file for Void Linux
+ SetValueForKey ("Path", "/usr/share/gzdoom", true);
SetValueForKey ("Path", "/usr/share/games/doom", true);
#endif
}
@@ -146,6 +148,8 @@ FGameConfigFile::FGameConfigFile ()
SetValueForKey ("Path", SHARE_DIR "/doom", true);
SetValueForKey ("Path", SHARE_DIR "/games/doom", true);
@@ -151,6 +153,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
+ // Adds the correct locations of the pk3file for Void Linux
+ SetValueForKey ("Path", "/usr/share/gzdoom", true);
SetValueForKey ("Path", "/usr/share/games/doom", true);
#endif

View file

@ -1,7 +1,7 @@
# Template file for 'gzdoom'
pkgname=gzdoom
version=4.12.2
revision=2
version=4.14.2
revision=1
archs="x86_64* aarch64*"
build_style=cmake
configure_args="-DINSTALL_PK3_PATH=share/gzdoom -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
@ -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="864c5a1ec976dd6068f9cd93f92c5404c662824996101f1411ddb25a54afc732
c173bcbf8a3e6a4885b6f5d75173160af3a2344c290bc342a3542dcc0a283475"
checksum="2c4fbb0c5b06787c8a2ade9fbbbe2fa5eaa7c49cf7f62a73627c381f8f890156
15762da40d310d3688fb8a44ded3759424aa51a24277a024488a5b8aea573e2f"
skip_extraction="${pkgname}_${version}_amd64.deb"
nocross=yes