diff --git a/scriptmodules/emulators/gngeopi.sh b/scriptmodules/emulators/gngeopi.sh index 7b0a750db6..143eabdbac 100644 --- a/scriptmodules/emulators/gngeopi.sh +++ b/scriptmodules/emulators/gngeopi.sh @@ -9,7 +9,7 @@ function sources_gngeopi() { function build_gngeopi() { pushd "$rootdir/emulators/gngeo-pi-0.85/gngeo" chmod +x configure - ./configure --disable-i386asm --prefix="$rootdir/emulators/gngeo-pi-0.85/installdir" + ./configure --host=arm-linux --target=arm-linux --disable-i386asm --prefix="$rootdir/emulators/gngeo-pi-0.85/installdir" make popd } @@ -17,6 +17,8 @@ function build_gngeopi() { function install_gngeopi() { pushd "$rootdir/emulators/gngeo-pi-0.85/gngeo" make install + mv $rootdir/emulators/gngeo-pi-0.85/installdir/bin/arm-linux-gngeo $rootdir/emulators/gngeo-pi-0.85/installdir/bin/gngeo + mv $rootdir/emulators/gngeo-pi-0.85/installdir/share/man/man1/arm-linux-gngeo.1 $rootdir/emulators/gngeo-pi-0.85/installdir/share/man/man1/gngeo.1 if [[ ! -f "$rootdir/emulators/gngeo-pi-0.85/installdir/bin/gngeo" ]]; then __ERRMSGS="$__ERRMSGS Could not successfully compile GnGeo-Pi emulator." fi @@ -28,4 +30,4 @@ function configure_gngeopi() { mkdir -p "$romdir/neogeo-gngeopi" setESSystem "NeoGeo" "neogeo-gngeopi" "~/RetroPie/roms/neogeo-gngeopi" ".zip .ZIP .fba .FBA" "$rootdir/emulators/gngeo-pi-0.85/installdir/bin/gngeo -i $romdir/neogeo-gngeopi -B $rootdir/emulators/gngeo-pi-0.85/neogeobios %ROM%" "neogeo" "neogeo" -} \ No newline at end of file +} diff --git a/scriptmodules/emulators/linapple.sh b/scriptmodules/emulators/linapple.sh index 930a2a22af..2c1a085cb1 100644 --- a/scriptmodules/emulators/linapple.sh +++ b/scriptmodules/emulators/linapple.sh @@ -3,7 +3,7 @@ rp_module_desc="Apple 2 emulator Linapple" rp_module_menus="2+" function depends_linapple() { - rps_checkNeededPackages libzip2 libzip-dev + rps_checkNeededPackages libzip2 libzip-dev libsdl1.2-dev libcurl3 zlib1g } function sources_linapple() {