From f0f0ac983053e064b9cf864b873cbd639b17d2aa Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Tue, 6 Dec 2016 22:06:01 +0000 Subject: games/picodrive-libretro: Updated for version 2016.12.06_2ece107. Signed-off-by: David Spencer --- games/picodrive-libretro/README | 3 +++ games/picodrive-libretro/picodrive-libretro.SlackBuild | 12 ++++++++---- games/picodrive-libretro/picodrive-libretro.info | 6 +++--- 3 files changed, 14 insertions(+), 7 deletions(-) (limited to 'games/picodrive-libretro') diff --git a/games/picodrive-libretro/README b/games/picodrive-libretro/README index 4b3079b4cc..1bfae47eae 100644 --- a/games/picodrive-libretro/README +++ b/games/picodrive-libretro/README @@ -11,3 +11,6 @@ PicoDrive requires a real BIOS for Sega CD/Mega CD emulation to work. * bios_CD_E.bin (MegaCD EU BIOS) * bios_CD_U.bin (SegaCD US BIOS) * bios_CD_J.bin (MegaCD JP BIOS) + +To build the debugging symbols use: + DEBUG=1 ./picodrive-libretro.SlackBuild diff --git a/games/picodrive-libretro/picodrive-libretro.SlackBuild b/games/picodrive-libretro/picodrive-libretro.SlackBuild index c66a5cd2d4..0fb9b6b258 100644 --- a/games/picodrive-libretro/picodrive-libretro.SlackBuild +++ b/games/picodrive-libretro/picodrive-libretro.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=picodrive-libretro LIBNAM=$(echo $PRGNAM | tr - _) -VERSION=${VERSION:-2016.07.04_7832385} +VERSION=${VERSION:-2016.12.06_2ece107} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,6 +57,8 @@ else LIBDIRSUFFIX="" fi +DEBUG=${DEBUG:-0} + set -e rm -rf $PKG @@ -72,13 +74,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -make -f Makefile.libretro +make -f Makefile.libretro DEBUG=$DEBUG install -Dm0644 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so install -Dm0644 $LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info -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 AUTHORS COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/games/picodrive-libretro/picodrive-libretro.info b/games/picodrive-libretro/picodrive-libretro.info index bbee4d2aa9..807af9ef0e 100644 --- a/games/picodrive-libretro/picodrive-libretro.info +++ b/games/picodrive-libretro/picodrive-libretro.info @@ -1,8 +1,8 @@ PRGNAM="picodrive-libretro" -VERSION="2016.07.04_7832385" +VERSION="2016.12.06_2ece107" HOMEPAGE="http://www.libretro.com/" -DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/picodrive-libretro-2016.07.04_7832385.tar.xz" -MD5SUM="e8b7917946099c4556f89f0b90a189d6" +DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/picodrive-libretro-2016.12.06_2ece107.tar.xz" +MD5SUM="566a769fb396acdc15a74f238ced2281" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="RetroArch" -- cgit v1.2.3