summaryrefslogtreecommitdiff
path: root/games/desmume/desmume.SlackBuild
diff options
context:
space:
mode:
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 6e6f0118c1..431465adb0 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