summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/pcsx-rearmed/README3
-rw-r--r--games/pcsx-rearmed/pcsx-rearmed.SlackBuild16
-rw-r--r--games/pcsx-rearmed/pcsx-rearmed.info6
3 files changed, 16 insertions, 9 deletions
diff --git a/games/pcsx-rearmed/README b/games/pcsx-rearmed/README
index 9edefd1b3d..52fcf7e0d9 100644
--- a/games/pcsx-rearmed/README
+++ b/games/pcsx-rearmed/README
@@ -20,3 +20,6 @@ In case it can find no BIOS files named like this inside the 'System
Directory', it will default to a High-Level Emulation BIOS. This decreases the
level of compatibility of the emulator, so it is recommended that you always
supply valid BIOS images inside the system directory.
+
+To build the debugging symbols use:
+ DEBUG=1 ./pcsx-rearmed.SlackBuild
diff --git a/games/pcsx-rearmed/pcsx-rearmed.SlackBuild b/games/pcsx-rearmed/pcsx-rearmed.SlackBuild
index 03146feebd..d3d996d2ad 100644
--- a/games/pcsx-rearmed/pcsx-rearmed.SlackBuild
+++ b/games/pcsx-rearmed/pcsx-rearmed.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=pcsx-rearmed
LIBNAM=pcsx_rearmed_libretro
-VERSION=${VERSION:-2016.07.30_2629ef2}
+VERSION=${VERSION:-2017.01.29_731139f}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,6 +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=""
@@ -55,6 +57,8 @@ else
LIBDIRSUFFIX=""
fi
+DEBUG=${DEBUG:-0}
+
set -e
rm -rf $PKG
@@ -70,15 +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 {} \;
-CFLAGS="$SLKCFLAGS" \
-./configure
-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 ChangeLog* NEWS README.md readme.txt $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/games/pcsx-rearmed/pcsx-rearmed.info b/games/pcsx-rearmed/pcsx-rearmed.info
index 6f1472faaf..026c8e5b30 100644
--- a/games/pcsx-rearmed/pcsx-rearmed.info
+++ b/games/pcsx-rearmed/pcsx-rearmed.info
@@ -1,8 +1,8 @@
PRGNAM="pcsx-rearmed"
-VERSION="2016.07.30_2629ef2"
+VERSION="2017.01.29_731139f"
HOMEPAGE="http://www.libretro.com/"
-DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/pcsx-rearmed-2016.07.30_2629ef2.tar.xz"
-MD5SUM="911df557efcedcb761d00bba86c27d05"
+DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/pcsx-rearmed-2017.01.29_731139f.tar.xz"
+MD5SUM="8e94fb6e6794d274dfe97d96f55259c7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"