new package: add initial package 'scummvm'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-15 08:11:19 +02:00
parent 7f6cfba7a4
commit 3bf75998a0
5 changed files with 80 additions and 0 deletions

View 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

View 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

View 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

View File

@ -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"

View File

@ -0,0 +1 @@
http://prdownloads.sourceforge.net/scummvm/scummvm-1.0.0.tar.bz2