aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-11-04 20:56:50 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:46:48 +0700
commit84b30f2b6e488f045750fe367497ab39d10d946e (patch)
tree897e3f0337d84986a02f49d6058ea382e6eb1ee4
parentdbada97ae6195f90634fce2d780b7e55a5990aef (diff)
games/libretro-desmume: Updated for version 2018.11.03_5f6f1ee.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--games/libretro-desmume/libretro-desmume.SlackBuild32
-rw-r--r--games/libretro-desmume/libretro-desmume.info6
2 files changed, 14 insertions, 24 deletions
diff --git a/games/libretro-desmume/libretro-desmume.SlackBuild b/games/libretro-desmume/libretro-desmume.SlackBuild
index 6fd843459685e..c960d3261f5de 100644
--- a/games/libretro-desmume/libretro-desmume.SlackBuild
+++ b/games/libretro-desmume/libretro-desmume.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libretro-desmume
-# Copyright 2016-2017 Hunter Sezen
+# Copyright 2016-2018 Hunter Sezen
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=libretro-desmume
LIBNAM=desmume_libretro
-VERSION=${VERSION:-2017.10.24_9464582}
+VERSION=${VERSION:-2018.11.03_5f6f1ee}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,21 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# requires patching the Makefile to properly use
-# the default CFLAGS and CXXFLAGS are probably fine
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
+LIBDIRSUFFIX=
+[ "$ARCH" = x86_64 ] && LIBDIRSUFFIX=64
set -eu
@@ -74,10 +61,12 @@ find -L . \
[ "${DEBUG:=0}" != 0 ] && DEBUG=1
-make -C desmume -f Makefile.libretro DEBUG=$DEBUG
+make -C desmume/src/frontend/libretro DEBUG=$DEBUG
-install -Dm0644 desmume/$LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
-install -Dm0644 $LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info
+install -Dm0644 desmume/src/frontend/libretro/$LIBNAM.so \
+ $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
+install -Dm0644 $LIBNAM.info \
+ $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info
if [ $DEBUG = 0 ]; then
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -85,7 +74,8 @@ if [ $DEBUG = 0 ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a desmume/COPYING desmume/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a desmume/COPYING desmume/AUTHORS desmume/ChangeLog desmume/README* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/games/libretro-desmume/libretro-desmume.info b/games/libretro-desmume/libretro-desmume.info
index 0297ad968a07e..e5e7c71ebb596 100644
--- a/games/libretro-desmume/libretro-desmume.info
+++ b/games/libretro-desmume/libretro-desmume.info
@@ -1,8 +1,8 @@
PRGNAM="libretro-desmume"
-VERSION="2017.10.24_9464582"
+VERSION="2018.11.03_5f6f1ee"
HOMEPAGE="https://www.libretro.com/"
-DOWNLOAD="http://slackware.uk/sbosrcarch/by-name/games/libretro-desmume/libretro-desmume-2017.10.24_9464582.tar.xz"
-MD5SUM="3b53456093fb7aebef1d6d3188d4660d"
+DOWNLOAD="http://slackless.raccoons.tech/src/libretro/libretro-desmume-2018.11.03_5f6f1ee.tar.xz"
+MD5SUM="bca5173c6378b6b05cac012d66aaa159"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"