mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-29 08:08:41 +08:00
26 lines
512 B
TOML
26 lines
512 B
TOML
[source]
|
|
tar = "https://mednafen.github.io/releases/files/mednafen-1.29.0.tar.xz"
|
|
blake3 = "c75c1044cdc9328b2349915a67972d6135c77eb53eb0d995788f22b7daacf79b"
|
|
patches = [
|
|
"redox.patch",
|
|
]
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
#TODO: libflac
|
|
"libiconv",
|
|
"liborbital",
|
|
"llvm",
|
|
"mesa",
|
|
"sdl2",
|
|
"zlib",
|
|
]
|
|
script = """
|
|
export SDL_LIBS="-lSDL2 -lorbital $("${TARGET}-pkg-config" --libs osmesa) -lstdc++"
|
|
COOKBOOK_CONFIGURE_FLAGS+=(
|
|
--without-libflac
|
|
)
|
|
cookbook_configure
|
|
"""
|