Add sm64ex manifest and icon

This commit is contained in:
Jeremy Soller 2022-11-16 11:19:00 -07:00
parent c3c4da89f9
commit 0e91d2d33c
No known key found for this signature in database
GPG Key ID: 87F211AF2BE4C2FE
2 changed files with 13 additions and 0 deletions

4
recipes/sm64ex/manifest Normal file
View File

@ -0,0 +1,4 @@
name=sm64ex
category=Games
binary=/bin/sm64
icon=/ui/icons/apps/sm64ex.png

View File

@ -15,8 +15,17 @@ 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
"""