Skip to content

Commit

Permalink
Fixed GNGeoPi module installation (#448), updated Linapple module (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrockblog committed Aug 21, 2014
1 parent f33c216 commit 6b59876
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions scriptmodules/emulators/gngeopi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ 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
}

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
Expand All @@ -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"
}
}
2 changes: 1 addition & 1 deletion scriptmodules/emulators/linapple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 6b59876

Please sign in to comment.