mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-28 23:58:42 +08:00
32 lines
848 B
TOML
32 lines
848 B
TOML
[source]
|
|
git = "https://github.com/jackpot51/sm64ex.git"
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"liborbital",
|
|
"llvm",
|
|
"mesa",
|
|
"sdl2",
|
|
"zlib",
|
|
]
|
|
script = """
|
|
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
|
# You must find your own ROM
|
|
cp -v "${COOKBOOK_RECIPE}/baserom.us.z64" baserom.us.z64
|
|
|
|
#TODO: do this in cook instead
|
|
unset AR AS CC CXX LD NM OBJCOPY OBJDUMP RANLIB READELF STRIP
|
|
|
|
export CROSS="${TARGET}-"
|
|
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}"
|
|
mkdir -p "${COOKBOOK_STAGE}/bin"
|
|
cp -v build/us_pc/sm64.us.f3dex2e "${COOKBOOK_STAGE}/bin/sm64"
|
|
|
|
mkdir -pv "${COOKBOOK_STAGE}/ui/apps"
|
|
cp -v "${COOKBOOK_RECIPE}/manifest" "${COOKBOOK_STAGE}/ui/apps/sm64ex"
|
|
|
|
mkdir -pv "${COOKBOOK_STAGE}/ui/icons/apps"
|
|
wget -O "${COOKBOOK_STAGE}/ui/icons/apps/sm64ex.png" https://evilgames.eu/texture-packs/thumb/sm64-reloaded.png
|
|
"""
|