Port openspades

This commit is contained in:
Wildan M 2026-03-14 14:50:20 +07:00
parent 371d751e3e
commit 4d967a7321
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79
2 changed files with 12 additions and 3 deletions

View File

@ -0,0 +1,11 @@
[source]
git = "https://github.com/DeathByDenim/openspades-free-pak"
shallow_clone = true
[build]
template = "custom"
script = """
zip -r pak001-Free.pak "${COOKBOOK_SOURCE}"/*
mkdir -p ${COOKBOOK_STAGE}/usr/share/openspades/Resources
cp pak001-Free.pak ${COOKBOOK_STAGE}/usr/share/openspades/Resources/
"""

View File

@ -12,7 +12,7 @@ dependencies = [
"sdl2-image",
"freealut",
"freetype2",
"opus",
"libopus",
"opusfile",
"libjpeg",
"openal",
@ -26,6 +26,4 @@ COOKBOOK_CMAKE_FLAGS+=(
-DOPENSPADES_NONFREE_RESOURCES=OFF
)
cookbook_cmake
wget https://github.com/DeathByDenim/openspades-free-pak/releases/download/latest/pak001-Free.pak \
"${COOKBOOK_STAGE}"/usr/share/openspades/Resources
"""