mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
28 lines
476 B
TOML
28 lines
476 B
TOML
[package]
|
|
description = "libretro library and cores"
|
|
|
|
[source]
|
|
git = "https://github.com/jackpot51/libretro-super.git"
|
|
shallow_clone = true
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"zlib",
|
|
]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
CORES=(
|
|
snes9x
|
|
)
|
|
|
|
pushd "${COOKBOOK_SOURCE}"
|
|
./libretro-fetch.sh "${CORES[@]}"
|
|
popd
|
|
|
|
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
|
|
|
export platform=Redox
|
|
./libretro-build.sh "${CORES[@]}"
|
|
./libretro-install.sh "${COOKBOOK_STAGE}/share/libretro"
|
|
"""
|