diff options
author | Dugan Chen <thedoogster [at] gmail [dot] com> | 2018-08-12 18:34:33 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-08-18 08:39:43 +0700 |
commit | 3d3d6ea8c3674ec215b30fefaa5a16eeb51f1d7c (patch) | |
tree | 1bc3bdd2a7692a6d325e9184deb9a6faded41224 /games/ppsspp/ppsspp.SlackBuild | |
parent | b3710204c0d2c73a687dee88ebbb25bc5412a810 (diff) |
games/ppsspp: Updated for version 1.6.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/ppsspp/ppsspp.SlackBuild')
-rw-r--r-- | games/ppsspp/ppsspp.SlackBuild | 31 |
1 files changed, 9 insertions, 22 deletions
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 |