aboutsummaryrefslogtreecommitdiff
path: root/games/desmume/desmume.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2013-12-01 08:37:35 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-12-02 00:58:03 -0600
commitb00d17583d82f47b42f54fdc450c589898af1da9 (patch)
tree77dc3714af4971b89b8720579a94c6e179eabe2d /games/desmume/desmume.SlackBuild
parent352680a4a168f166badb1583895dbe949c9c1ded (diff)
games/desmume: Updated for version 0.9.10.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/desmume/desmume.SlackBuild')
-rw-r--r--games/desmume/desmume.SlackBuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/games/desmume/desmume.SlackBuild b/games/desmume/desmume.SlackBuild
index 6e6f0118c140..431465adb03a 100644
--- a/games/desmume/desmume.SlackBuild
+++ b/games/desmume/desmume.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=desmume
-VERSION=${VERSION:-0.9.9}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.9.10}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,7 +60,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.tar.tar
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -72,6 +72,12 @@ find -L . \
# Fix end-of-line encoding.
sed -i 's/\r//' AUTHORS
+# From upstream.
+# http://sourceforge.net/p/desmume/code/4907/
+# http://sourceforge.net/p/desmume/code/4919/
+patch -p3 < $CWD/glx_3Demu.cpp.patch
+patch -p3 < $CWD/glx_3Demu.h.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -84,6 +90,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-wifi \
--enable-openal \
--enable-glade \
+ --enable-glx \
--with-x \
--build=$ARCH-slackware-linux