aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2018-08-12 18:34:33 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-18 08:39:43 +0700
commit3d3d6ea8c3674ec215b30fefaa5a16eeb51f1d7c (patch)
tree1bc3bdd2a7692a6d325e9184deb9a6faded41224
parentb3710204c0d2c73a687dee88ebbb25bc5412a810 (diff)
games/ppsspp: Updated for version 1.6.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--games/ppsspp/README2
-rw-r--r--games/ppsspp/ppsspp.SlackBuild31
-rw-r--r--games/ppsspp/ppsspp.info14
3 files changed, 18 insertions, 29 deletions
diff --git a/games/ppsspp/README b/games/ppsspp/README
index 6c86e86d3b378..fb8d1b3f874c3 100644
--- a/games/ppsspp/README
+++ b/games/ppsspp/README
@@ -11,4 +11,4 @@ made for the small screen of the original PSP.
snappy is an optional dependency.
-Pass QT=ON to enable the Qt frontend (requires qt5).
+This builds the application and the Libretro core (for use with RetroArch).
diff --git a/games/ppsspp/ppsspp.SlackBuild b/games/ppsspp/ppsspp.SlackBuild
index 608baf748b6c7..67f04c333516b 100644
--- a/games/ppsspp/ppsspp.SlackBuild
+++ b/games/ppsspp/ppsspp.SlackBuild
@@ -23,10 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ppsspp
-VERSION=${VERSION:-1.5.4}
+VERSION=${VERSION:-1.6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-QT=${QT:-OFF}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -95,39 +94,27 @@ cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=TRUE \
-Wno-dev \
+ -DUSING_QT_UI=ON \
+ -DLIBRETRO=ON \
-DCMAKE_BUILD_TYPE=Release ..
make
cd ..
-if [ "$QT" = "ON" ]; then
- mkdir build_qt
- cd build_qt
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_SKIP_RPATH=TRUE \
- -Wno-dev \
- -DUSING_QT_UI=ON \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- cd ..
-fi
-
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
mkdir -p $PKG/usr/{games,share/{applications,icons/hicolor,pixmaps,ppsspp}}
-cp build/PPSSPPSDL $PKG/usr/games/ppsspp
cp $CWD/ppsspp.desktop $PKG/usr/share/applications
cp -r assets $PKG/usr/share/ppsspp
cp -r icons/hicolor/* $PKG/usr/share/icons/hicolor
cp icons/icon-512.svg $PKG/usr/share/pixmaps/ppsspp.svg
-if [ "$QT" = "ON" ]; then
- cp build_qt/PPSSPPQt $PKG/usr/games/ppsspp-qt
- cp $CWD/ppsspp-qt.desktop $PKG/usr/share/applications
-fi
+cp build/PPSSPPQt $PKG/usr/games/ppsspp-qt
+cp $CWD/ppsspp-qt.desktop $PKG/usr/share/applications
+
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info
+cp build/lib/ppsspp_libretro.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro
+cp $CWD/ppsspp_libretro.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE.TXT README.md korean.txt chinese.txt $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/games/ppsspp/ppsspp.info b/games/ppsspp/ppsspp.info
index d3ae316e42464..9236266435538 100644
--- a/games/ppsspp/ppsspp.info
+++ b/games/ppsspp/ppsspp.info
@@ -1,12 +1,14 @@
PRGNAM="ppsspp"
-VERSION="1.5.4"
+VERSION="1.6.3"
HOMEPAGE="http://www.ppsspp.org/"
-DOWNLOAD="https://github.com/hrydgard/ppsspp/archive/v1.5.4/ppsspp-1.5.4.tar.gz \
- https://downloads.sourceforge.net/project/slackbuildsdirectlinks/ppsspp/ppsspp_submodules-1.5.4.tar.xz"
-MD5SUM="5db5a04436a1d7230a0651d66eef4415 \
- fe0a7a4b21fc820dbb450e9f7f70001c"
+DOWNLOAD="https://github.com/hrydgard/ppsspp/archive/v1.6.3/ppsspp-1.6.3.tar.gz \
+ https://downloads.sourceforge.net/project/slackbuildsdirectlinks/ppsspp/ppsspp_submodules-1.6.3.tar.xz \
+ https://raw.githubusercontent.com/libretro/libretro-super/263e116/dist/info/ppsspp_libretro.info"
+MD5SUM="fc667ad6fe5e9c16cc13bbc64da1c99f \
+ 0262021e692e0f7ed9ad1ea4cd7c458a \
+ 69d0a6ac19d4608225407dff8eb13fa6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="SDL2"
+REQUIRES="SDL2 qt5"
MAINTAINER="Dugan Chen"
EMAIL="thedoogster [at] gmail [dot] com"