summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-11-04 21:01:58 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:46:50 +0700
commit8276cc299396e628490edb64adf4c2a493decab2 (patch)
treee4b6a17ee27fb6ca3be80f8b9fbfe4255aaab1bb /games
parent1f3f488940e53f302c507b16abac2fc3f7c7d751 (diff)
downloadslackbuilds-8276cc299396e628490edb64adf4c2a493decab2.tar.gz
games/mame2010-libretro: Updated for version 2018.04.17_70732f9.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/mame2010-libretro/mame2010-libretro.SlackBuild23
-rw-r--r--games/mame2010-libretro/mame2010-libretro.info6
2 files changed, 8 insertions, 21 deletions
diff --git a/games/mame2010-libretro/mame2010-libretro.SlackBuild b/games/mame2010-libretro/mame2010-libretro.SlackBuild
index 90dcb53d20..7c724711bd 100644
--- a/games/mame2010-libretro/mame2010-libretro.SlackBuild
+++ b/games/mame2010-libretro/mame2010-libretro.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mame2010-libretro
-# Copyright 2017 Hunter Sezen California, USA
+# Copyright 2017-2018 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=mame2010-libretro
LIBNAM=$(echo $PRGNAM | tr - _)
-VERSION=${VERSION:-2017.12.20_c0e9dbf}
+VERSION=${VERSION:-2018.04.17_70732f9}
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,7 +61,7 @@ find -L . \
[ "${DEBUG:=0}" != 0 ] && DEBUG=1
-env -u BUILD make MDEBUG=$DEBUG GIT_VERSION="${VERSION#*_}"
+make MDEBUG=$DEBUG GIT_VERSION="${VERSION#*_}"
install -Dm0644 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
install -Dm0644 $LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info
diff --git a/games/mame2010-libretro/mame2010-libretro.info b/games/mame2010-libretro/mame2010-libretro.info
index c2babbe9d9..1fad9f7835 100644
--- a/games/mame2010-libretro/mame2010-libretro.info
+++ b/games/mame2010-libretro/mame2010-libretro.info
@@ -1,8 +1,8 @@
PRGNAM="mame2010-libretro"
-VERSION="2017.12.20_c0e9dbf"
+VERSION="2018.04.17_70732f9"
HOMEPAGE="https://www.libretro.com/"
-DOWNLOAD="http://slackware.uk/sbosrcarch/by-name/games/mame2010-libretro/mame2010-libretro-2017.12.20_c0e9dbf.tar.xz"
-MD5SUM="f39b9bce8969254facd0e78b08855ac1"
+DOWNLOAD="http://slackless.raccoons.tech/src/libretro/mame2010-libretro-2018.04.17_70732f9.tar.xz"
+MD5SUM="0a114f654f38e7f3477b89e8eb8bae71"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"