mirror of
https://github.com/libretro/Lakka.git
synced 2025-03-04 05:37:38 +00:00
new package: add initial package 'scummvm'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
7f6cfba7a4
commit
3bf75998a0
26
packages/addons/emulators/scummvm/build
Executable file
26
packages/addons/emulators/scummvm/build
Executable file
@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
require_cxx $1
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build SDL
|
||||
$SCRIPTS/build zlib
|
||||
|
||||
if [ "$DEBUG" = yes ]; then
|
||||
DEBUG_CONFIG="--enable-debug"
|
||||
else
|
||||
DEBUG_CONFIG="--disable-debug"
|
||||
fi
|
||||
|
||||
cd $BUILD/$1*
|
||||
./configure --host=geexbox-$TARGET_ARCH \
|
||||
--prefix=$LIB_PREFIX \
|
||||
--backend=sdl \
|
||||
--enable-all-engines \
|
||||
--enable-plugins \
|
||||
--default-dynamic \
|
||||
--enable-mt32emu \
|
||||
$DEBUG_CONFIG
|
||||
make
|
9
packages/addons/emulators/scummvm/config/scummvm.desktop
Normal file
9
packages/addons/emulators/scummvm/config/scummvm.desktop
Normal file
@ -0,0 +1,9 @@
|
||||
[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
packages/addons/emulators/scummvm/install
Executable file
17
packages/addons/emulators/scummvm/install
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
require_cxx $1
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $BUILD/$1*/scummvm $INSTALL/usr/bin
|
||||
|
||||
mkdir -p $INSTALL/usr/share/applications
|
||||
cp $PACKAGES/$1*/config/$1.desktop $INSTALL/usr/share/applications
|
||||
|
||||
mkdir -p $INSTALL/usr/share/scummvm
|
||||
cp $BUILD/$1*/dists/engine-data/* $INSTALL/usr/share/scummvm
|
||||
cp $BUILD/$1*/dists/pred.dic $INSTALL/usr/share/scummvm
|
||||
cp $BUILD/$1*/icons/scummvm.xpm $INSTALL/usr/share/scummvm
|
||||
cp $BUILD/$1*/gui/themes/scummmodern.zip $INSTALL/usr/share/scummvm
|
@ -0,0 +1,27 @@
|
||||
diff -Naur scummvm-0.9.1.orig/configure scummvm-0.9.1/configure
|
||||
--- scummvm-0.9.1.orig/configure 2007-01-13 13:45:19.000000000 +0100
|
||||
+++ scummvm-0.9.1/configure 2007-01-13 13:45:42.000000000 +0100
|
||||
@@ -753,6 +753,23 @@
|
||||
if test -n "$_host"; then
|
||||
# Cross-compiling mode - add your target here if needed
|
||||
case "$_host" in
|
||||
+ geexbox-i386)
|
||||
+ echo "Cross-compiling to $_host, forcing endianness and type sizes"
|
||||
+ DEFINES="$DEFINES -DUNIX"
|
||||
+ _def_endianness='#define SCUMM_LITTLE_ENDIAN'
|
||||
+ type_1_byte='char'
|
||||
+ type_2_byte='short'
|
||||
+ type_4_byte='int'
|
||||
+ ;;
|
||||
+ geexbox-powerpc)
|
||||
+ echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes"
|
||||
+ DEFINES="$DEFINES -DUNIX"
|
||||
+ _def_endianness='#define SCUMM_BIG_ENDIAN'
|
||||
+ _def_align='#define SCUMM_NEED_ALIGNMENT'
|
||||
+ type_1_byte='char'
|
||||
+ type_2_byte='short'
|
||||
+ type_4_byte='int'
|
||||
+ ;;
|
||||
linupy|arm-riscos)
|
||||
echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes"
|
||||
DEFINES="$DEFINES -DUNIX"
|
1
packages/addons/emulators/scummvm/url
Normal file
1
packages/addons/emulators/scummvm/url
Normal file
@ -0,0 +1 @@
|
||||
http://prdownloads.sourceforge.net/scummvm/scummvm-1.0.0.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user