Fix sopwith compilation

This commit is contained in:
Wildan M 2026-06-05 07:40:06 +07:00
parent f0d4f6b198
commit 632d4248f9
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -1,6 +1,6 @@
[source]
tar = "https://github.com/fragglet/sdl-sopwith/releases/download/sdl-sopwith-2.9.0/sdl-sopwith-2.9.0.tar.gz"
blake3 = "44e1404a9c4bea257d7778d2a4b1512231603a74b0a7b18eac5d18f36730ed3e"
blake3 = "f06a6d0c826b42989c58074f85ed8e19fbfd5fe53a357ba356bc1109bcf91ef3"
script = """
DYNAMIC_INIT
autotools_recursive_regenerate
@ -9,14 +9,15 @@ autotools_recursive_regenerate
[build]
template = "custom"
dependencies = [
"sdl1",
"sdl2",
"liborbital",
"libiconv",
]
dev-dependencies = [
"libstdcxx"
]
script = """
DYNAMIC_INIT
export CFLAGS="${CFLAGS} -I${COOKBOOK_SYSROOT}/include/SDL"
export LIBS="-lSDL -lorbital" # TODO: Uses sdl-config instead of pkg-config
# For some reason, cook_configure breaks spectacularly on this
# We will just copy instead