aboutsummaryrefslogtreecommitdiff
path: root/games/bsnes-libretro
diff options
context:
space:
mode:
Diffstat (limited to 'games/bsnes-libretro')
-rw-r--r--games/bsnes-libretro/README3
-rw-r--r--games/bsnes-libretro/bsnes-libretro.SlackBuild12
-rw-r--r--games/bsnes-libretro/bsnes-libretro.info6
3 files changed, 14 insertions, 7 deletions
diff --git a/games/bsnes-libretro/README b/games/bsnes-libretro/README
index 863d776cb3549..26e7dd93f23cf 100644
--- a/games/bsnes-libretro/README
+++ b/games/bsnes-libretro/README
@@ -57,3 +57,6 @@ To build the balanced or performance cores, choose any desired cores:
Or to build all three cores, "all" can be used:
CORE="all" ./bsnes-libretro.SlackBuild
+
+To build the debugging symbols use:
+ DEBUG=1 ./bsnes-libretro.SlackBuild
diff --git a/games/bsnes-libretro/bsnes-libretro.SlackBuild b/games/bsnes-libretro/bsnes-libretro.SlackBuild
index 521152f015835..fd736c98cce9a 100644
--- a/games/bsnes-libretro/bsnes-libretro.SlackBuild
+++ b/games/bsnes-libretro/bsnes-libretro.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=bsnes-libretro
LIBNAM=$(echo $PRGNAM | cut -f1 -d"-")
-VERSION=${VERSION:-2016.07.17_8a5ce25}
+VERSION=${VERSION:-2017.02.04_026fc306}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,6 +57,8 @@ else
LIBDIRSUFFIX=""
fi
+DEBUG=${DEBUG:-0}
+
set -e
rm -rf $PKG
@@ -83,14 +85,16 @@ fi
for PROFILE in $CORE; do
CORENAM=${LIBNAM}_${PROFILE}_libretro
- make profile=$PROFILE
+ make profile=$PROFILE DEBUG=$DEBUG GIT_VERSION=${VERSION#*_}
install -Dm0644 out/$CORENAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$CORENAM.so
install -Dm0644 $CORENAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$CORENAM.info
make clean
done
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+if [ "$DEBUG" = "0" ]; then
+ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/games/bsnes-libretro/bsnes-libretro.info b/games/bsnes-libretro/bsnes-libretro.info
index 36b750d79f7cc..3d17771436a5c 100644
--- a/games/bsnes-libretro/bsnes-libretro.info
+++ b/games/bsnes-libretro/bsnes-libretro.info
@@ -1,8 +1,8 @@
PRGNAM="bsnes-libretro"
-VERSION="2016.07.17_8a5ce25"
+VERSION="2017.02.04_026fc306"
HOMEPAGE="http://www.libretro.com/"
-DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/bsnes-libretro-2016.07.17_8a5ce25.tar.xz"
-MD5SUM="4a5cdc0e3a1e858ddc7c1c790de8ad02"
+DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/bsnes-libretro-2017.02.04_026fc306.tar.xz"
+MD5SUM="080da20ed8e16d26adc1702903be550f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"