games/desmume: Updated for version 0.9.6.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Larry Hajali 2010-06-28 12:17:41 -04:00 committed by dsomero
parent fa5d9a0127
commit 479aeb2b3a
4 changed files with 20 additions and 24 deletions

View file

@ -1,5 +1,5 @@
DeSmuME is a Nintendo DS emulator running homebrew demos and commercial games.
DeSmuME requires gtkglext and agg.
DeSmuMe requires gtkglext and agg.
Optionally DeSmuMe can use zziplib and lua if installed.
Optionally DeSmuMe can use OpenAL, zziplib and lua if installed.

View file

@ -3,16 +3,14 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=desmume
VERSION=${VERSION:-0.9.5}
VERSION=0.9.6
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -42,7 +40,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION-1.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@ -52,7 +50,7 @@ find . \
-exec chmod 644 {} \;
# Fix end-of-line encoding.
sed -i 's/\r//' AUTHORS ChangeLog
sed -i 's/\r//' AUTHORS
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@ -62,23 +60,21 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-osmesa \
--enable-gdb-stub \
--enable-wifi \
--enable-openal \
--with-x \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS ChangeLog COPYING INSTALL README README.LIN \
AUTHORS ChangeLog COPYING INSTALL README README.LIN {dsv,dsm}.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,10 +1,10 @@
PRGNAM="desmume"
VERSION="0.9.5"
VERSION="0.9.6"
HOMEPAGE="http://desmume.org/"
DOWNLOAD="http://downloads.sourceforge.net/sourceforge/desmume/desmume-0.9.5.tar.gz"
MD5SUM="aca40a8507d4104626da7086d451037b"
DOWNLOAD="http://downloads.sourceforge.net/desmume/desmume-0.9.6-1.tar.gz"
MD5SUM="a4f8e98d586a2363d78e9d26dc330fe4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
APPROVED="michiel"
APPROVED="dsomero"

View file

@ -7,13 +7,13 @@
|-----handy-ruler------------------------------------------------------|
desmume: desmume (Nintendo DS emulator)
desmume:
desmume:
desmume: DeSmuME is a Nintendo DS emulator running homebrew demos and
desmume: commercial games.
desmume:
desmume:
desmume: Homepage: http://desmume.org/
desmume:
desmume:
desmume:
desmume:
desmume:
desmume:
desmume:
desmume:
desmume:
desmume: