add emulator mednafen

This commit is contained in:
Stephan Raue 2009-04-07 10:15:32 +02:00
parent 178e2520e3
commit 7e80f7c65b
14 changed files with 97 additions and 27 deletions

View File

@ -95,11 +95,11 @@ $STRIP build/.libs/*.so*
$MAKEINSTALL
cp sdl-config $ROOT/$TOOLCHAIN/bin
chmod 755 $ROOT/$TOOLCHAIN/bin/sdl-config
mv $SYSROOT_PREFIX/usr/bin/sdl-config $ROOT/$TOOLCHAIN/bin
#chmod 755 $ROOT/$TOOLCHAIN/bin/sdl-config
$SED "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" \
$ROOT/$TOOLCHAIN/bin/sdl-config
#mkdir -p $ROOT/$TOOLCHAIN/include
#ln -snf `echo $ROOT/$BUILD/$1*/include` $ROOT/$TOOLCHAIN/include/SDL
mkdir -p $ROOT/$TOOLCHAIN/include
ln -snf `echo $ROOT/$BUILD/$1*/include` $ROOT/$TOOLCHAIN/include/SDL

View File

@ -0,0 +1,21 @@
#!/bin/sh
. config/options
$SCRIPTS/build toolchain
$SCRIPTS/build SDL
cd $BUILD/$1*
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-shared \
--disable-static \
make
$STRIP .libs/*.so*
$MAKEINSTALL

View File

@ -0,0 +1,9 @@
#!/bin/sh
. config/options
$SCRIPTS/install SDL
mkdir -p $INSTALL/usr/lib
cp -P $BUILD/$1*/.libs/*.so* $INSTALL/usr/lib

View File

@ -0,0 +1 @@
http://www.libsdl.org/projects/SDL_net/release/SDL_net-1.2.7.tar.gz

View File

@ -4,3 +4,4 @@
$SCRIPTS/install zsnes
$SCRIPTS/install scummvm
$SCRIPTS/install mednafen

View File

@ -0,0 +1,45 @@
#!/bin/sh
. config/options
$SCRIPTS/build toolchain
$SCRIPTS/build SDL
$SCRIPTS/build SDL_net
# lib/libcdio lib/libsndfile
$SCRIPTS/build alsa-lib
$SCRIPTS/build zlib
cd $BUILD/$1*
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--x-includes="$SYSROOT_PREFIX/usr/include" \
--x-libraries="$SYSROOT_PREFIX/usr/lib" \
--disable-rath \
--enable-nls \
--enable-threads=posix \
--disable-debugger \
--disable-cjk-fonts \
--enable-gb \
--enable-gba \
--enable-lynx \
--enable-nes \
--enable-ngp \
--enable-pce \
--enable-pcfx \
--enable-sms \
--enable-wswan \
--enable-alsa \
--disable-alsatest \
--disable-jack \
--with-gnu-ld \
--with-x \
--without-libiconv-prefix \
--without-libpth-prefix \
--without-libintl-prefix
make
$STRIP src/$1

View File

@ -0,0 +1,10 @@
#!/bin/sh
. config/options
$SCRIPTS/install SDL
$SCRIPTS/install SDL_net
$SCRIPTS/install alsa-lib
mkdir -p $INSTALL/usr/bin
cp $BUILD/$1*/src/$1 $INSTALL/usr/bin

View File

@ -0,0 +1 @@
http://switch.dl.sourceforge.net/sourceforge/mednafen/mednafen-0.8.B.tar.bz2

View File

@ -1,9 +0,0 @@
[Desktop Entry]
Name=ScummVM
Comment=Interpreter for several adventure games
Exec=/usr/bin/scummvm
Icon=/usr/share/scummvm/scummvm.xpm
Terminal=false
Type=Application
Categories=Game;AdventureGame;
StartupNotify=false

View File

@ -17,12 +17,12 @@ cd $BUILD/$1*/src
--prefix=/usr \
--sysconfdir=/etc \
--disable-release \
--disable-debug \
--enable-debug \
--disable-debugger \
--disable-cpucheck force_arch=$TARGET_ARCH \
--enable-opengl \
--with-opengl-prefix=$SYSROOT_PREFIX/usr \
--disable-jma \
--enable-jma \
--enable-libpng \
--with-libpng-prefix=$SYSROOT_PREFIX/usr \
--with-x \

View File

@ -1,9 +0,0 @@
[Desktop Entry]
Name=zsnes
Comment=SNES emulator
Exec=/usr/bin/zsnes
Icon=/usr/share/zsnes/zsnes.png
Terminal=false
Type=Application
Categories=Game;
StartupNotify=false

View File

@ -10,7 +10,7 @@ $SCRIPTS/install $MESA
mkdir -p $INSTALL/etc/zsnes
mkdir -p $INSTALL/usr/bin
cp $BUILD/$1*/src/zsnes $INSTALL/usr/bin
cp $BUILD/$1*/src/zsnesd $INSTALL/usr/bin
#mkdir -p $INSTALL/usr/share/applications
#cp $PACKAGES/$1*/config/$1.desktop $INSTALL/usr/share/applications

View File

@ -13,8 +13,8 @@ $SCRIPTS/install alsa-lib
#$SCRIPTS/install xvidcore
mkdir -p $INSTALL/usr/lib/gstreamer-0.10
cp -PR `find $BUILD/$1*/{ext,gst,sys,gst-libs} -name *.so` $INSTALL/usr/lib/gstreamer-0.10
cp -PR `find $BUILD/$1*/{ext,gst,sys} -name *.so` $INSTALL/usr/lib/gstreamer-0.10
mkdir -p $INSTALL/usr/lib
cp -PR `find $BUILD/$1*/gst-libs -name *.so` $INSTALL/usr/lib
cp -PR `find $BUILD/$1*/gst-libs -name *.so*` $INSTALL/usr/lib