Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
Updated package script to include PicoArch frontend (author: neonloop…
Browse files Browse the repository at this point in the history
…) instead of SDLRetro
  • Loading branch information
DrUm78 committed Feb 1, 2023
1 parent 044936c commit 7d6f60a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 deletions.
4 changes: 2 additions & 2 deletions backends/platform/libretro/portdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
#undef _X

// Set the proper resolution for the FunKey S in games and menu
#define RES_W 240
#define RES_W 320
#define RES_H 240
#define RES_W_OVERLAY 240
#define RES_W_OVERLAY 320
#define RES_H_OVERLAY 240

// HACK: With MinGW, GRIM engine seems to crash when using setjmp and longjmp if not using builtin versions
Expand Down
23 changes: 9 additions & 14 deletions package
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
#!/bin/sh

mkdir -p opk/cores
mkdir -p opk/

cd /opt/sdlretro
git pull
mkdir -p build/
cd build/
cmake -DCMAKE_BUILD_TYPE=Release -DMODEL=funkey ..
make clean
make -j16
/opt/FunKey-sdk/bin/arm-funkey-linux-musleabihf-strip src/sdlretro
cp -f src/sdlretro ../../libretro-scummvm/opk
cd /opt/picoarch
./package
cp -f picoarch ../libretro-scummvm/opk

cd /opt/libretro-scummvm
#git pull
Expand All @@ -20,7 +14,7 @@ cd backends/platform/libretro/build
make clean
make -j16
/opt/FunKey-sdk/bin/arm-funkey-linux-musleabihf-strip scummvm_libretro.so
cp -f scummvm_libretro.so ../../../../opk/cores/
cp -f scummvm_libretro.so ../../../../opk/
cd -

cp -f icons/scummvm.png opk/
Expand All @@ -44,12 +38,13 @@ esac
print '[Desktop Entry]
Name=ScummVM
Comment=ScummVM v2.6.1 for Libretro
Exec=sdlretro %f
Exec=picoarch ./scummvm_libretro.so
Icon=scummvm
Categories=games
SelectorFilter=scummvm' > opk/scummvm.funkey-s.desktop
Categories=games' > opk/scummvm.funkey-s.desktop

rm -f *.opk
mksquashfs opk/ scummvm_v2.6.1_funkey-s.opk -all-root -noappend -no-exports -no-xattrs

rm -rf opk/

rm -f backends/platform/libretro/aux-data/scummvm_tmp.zip

0 comments on commit 7d6f60a

Please sign in to comment.