Try to fix some recipes

This commit is contained in:
Ribbon 2026-05-16 07:29:50 -03:00
parent 9b0681d1bc
commit deab2c71f5
3 changed files with 12 additions and 14 deletions

View File

@ -6,9 +6,8 @@ tar = "https://github.com/hrydgard/ppsspp/releases/download/v1.19.3/ppsspp-1.19.
[build]
template = "custom"
dependencies = [
#"liborbital",
"mesa",
"mesa-glu",
"mesa-x11",
"mesa-glu-x11",
"sdl2",
"sdl2-ttf",
"zlib",

View File

@ -2,6 +2,7 @@
# build instructions: https://github.com/yvt/openspades#on-unixes-from-source
[source]
git = "https://github.com/siecvi/zerospades"
rev = "110e573b5bee4570d97507dd9a6989f855520f72"
shallow_clone = true
patches = [
"redox.patch"
@ -21,15 +22,14 @@ dependencies = [
"libjpeg",
"openal",
"curl",
# "libxinerama",
# "libxft",
"libxinerama",
"libxft",
]
dev-dependencies = [
"libstdcxx",
]
script = """
DYNAMIC_INIT
export LDFLAGS+=" $("${PKG_CONFIG}" --libs osmesa)"
COOKBOOK_CMAKE_FLAGS+=(
-DOPENSPADES_NONFREE_RESOURCES=OFF
-DUSE_INTERNAL_OPENAL=OFF

View File

@ -4,18 +4,17 @@ tar = "https://github.com/nigels-com/glew/releases/download/glew-2.3.1/glew-2.3.
[build]
template = "custom"
dependencies = [
#"libxi",
#"libxmu",
#"mesa-x11",
#"mesa-glu-x11",
"mesa",
"mesa-glu",
"libxi",
"libxmu",
"mesa-x11",
"mesa-glu-x11",
]
script = """
DYNAMIC_INIT
COOKBOOK_CMAKE_FLAGS+=(
-DGLEW_X11=OFF
-DGLEW_OSMESA=ON
-DOPENGL_opengl_LIBRARY="/dev/null"
-DOPENGL_glx_LIBRARY="/dev/null"
-DBUILD_UTILS=OFF
)
cookbook_cmake "${COOKBOOK_SOURCE}"/build/cmake
# # Build system is a standalone Makefile