mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
add emulator mednafen
This commit is contained in:
parent
178e2520e3
commit
7e80f7c65b
@ -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
|
||||
|
21
packages/emulators/SDL_net/build
Executable file
21
packages/emulators/SDL_net/build
Executable 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
|
9
packages/emulators/SDL_net/install
Executable file
9
packages/emulators/SDL_net/install
Executable 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
|
||||
|
1
packages/emulators/SDL_net/url
Normal file
1
packages/emulators/SDL_net/url
Normal file
@ -0,0 +1 @@
|
||||
http://www.libsdl.org/projects/SDL_net/release/SDL_net-1.2.7.tar.gz
|
@ -4,3 +4,4 @@
|
||||
|
||||
$SCRIPTS/install zsnes
|
||||
$SCRIPTS/install scummvm
|
||||
$SCRIPTS/install mednafen
|
||||
|
45
packages/emulators/mednafen/build
Executable file
45
packages/emulators/mednafen/build
Executable 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
|
10
packages/emulators/mednafen/install
Executable file
10
packages/emulators/mednafen/install
Executable 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
|
1
packages/emulators/mednafen/url
Normal file
1
packages/emulators/mednafen/url
Normal file
@ -0,0 +1 @@
|
||||
http://switch.dl.sourceforge.net/sourceforge/mednafen/mednafen-0.8.B.tar.bz2
|
@ -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
|
@ -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 \
|
||||
|
@ -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
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user