diff options
author | Ruoh-Shoei LIN <56530472+LinRs@users.noreply.github.com> | 2020-07-15 17:37:50 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-09-02 15:12:00 +0700 |
commit | 3bfb73ca34261785bac44501565c8835c4f39cc0 (patch) | |
tree | 4e7ee0ec2749c306adc8cc6da217760bb266cff4 /games/ppsspp/ppsspp.SlackBuild | |
parent | 1f3018296dca78e4e089d68ced8e9001fa289339 (diff) |
games/ppsspp: Updated for version 1.10.3
- remove patch for libpng
- default build with headless and sdl2
- disable build for libretro
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/ppsspp/ppsspp.SlackBuild')
-rw-r--r-- | games/ppsspp/ppsspp.SlackBuild | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/games/ppsspp/ppsspp.SlackBuild b/games/ppsspp/ppsspp.SlackBuild index 4b12d52afb6f6..2c79e3aaaec9c 100644 --- a/games/ppsspp/ppsspp.SlackBuild +++ b/games/ppsspp/ppsspp.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ppsspp -VERSION=${VERSION:-1.9.4} +VERSION=${VERSION:-1.10.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -66,15 +66,15 @@ cd $PRGNAM-$VERSION # The submodules are in a separate archive. This is equivalent to # git submodule update --init --recursive -tar -xvf $CWD/hrydgard-glslang-2.3.r2575.gf9d08a25.tar.gz \ +tar -xvf $CWD/hrydgard-glslang-d0850f8.tar.gz \ -C ext/glslang --strip-components=1 -tar -xvf $CWD/hrydgard-ppsspp-lang-a95fd4974c436a1a07455c5beef4a12f9f47b811.tar.gz \ +tar -xvf $CWD/hrydgard-ppsspp-lang-1c64b8f.tar.gz \ -C assets/lang --strip-components=1 -tar -xvf $CWD/KhronosGroup-SPIRV-Cross-2019.05.20.r60.ga1f7c8dc.tar.gz \ +tar -xvf $CWD/KhronosGroup-SPIRV-Cross-a1f7c8d.tar.gz \ -C ext/SPIRV-Cross --strip-components=1 -tar -xvf $CWD/Kingcom-armips-v0.9.r134.g7885552.tar.gz \ +tar -xvf $CWD/Kingcom-armips-7885552.tar.gz \ -C ext/armips --strip-components=1 -tar -xvf $CWD/hrydgard-ppsspp-ffmpeg-90701640c7f458461310b54e7d4041230e2d5d5a.tar.gz \ +tar -xvf $CWD/hrydgard-ppsspp-ffmpeg-55147e5.tar.gz \ --exclude '*/Windows*' --exclude '*/android' \ --exclude '*/ios' --exclude '*/blackberry'\ --exclude '*/macosx' --exclude '*/wiiu' \ @@ -94,9 +94,8 @@ sed -i 's/VERSION 3.6/VERSION 3.5.2/' CMakeLists.txt # Don't force explicit ccache invocation. sed -i -e '/include(ccache)/d' CMakeLists.txt -# Make build glue accept libpng 1.6.x and don't hardcode suffix -patch --forward --strip=1 \ - --input=$CWD/patch-system-libpng16.patch +# set git-version +sed -i "s/unknown/${VERSION}/" git-version.cmake mkdir -p build-qt build-sdl @@ -110,7 +109,6 @@ if [ "$QT" = "on" ]; then -DCMAKE_SKIP_RPATH=TRUE \ -Wno-dev \ -DUSING_QT_UI=ON \ - -DLIBRETRO=ON \ -DUSE_SYSTEM_LIBZIP=ON \ -DUSE_DISCORD=OFF \ -DCMAKE_BUILD_TYPE=Release .. @@ -129,13 +127,13 @@ cmake \ -Wno-dev \ -DUSING_QT_UI=OFF \ -DHEADLESS='ON' \ - -DLIBRETRO=ON \ -DUSE_SYSTEM_LIBZIP=ON \ -DUSE_DISCORD=OFF \ -DCMAKE_BUILD_TYPE=Release .. make cd .. -install -Dm755 build-sdl/PPSSPPHeadless $PKG/usr/games/ppsspp +install -Dm755 build-sdl/PPSSPPHeadless $PKG/usr/games/ppsspp-headless +install -Dm755 build-sdl/PPSSPPSDL $PKG/usr/games/ppsspp-sdl mkdir -p $PKG/usr/{games,share/{applications,icons/hicolor,pixmaps,ppsspp}} install -Dm644 $CWD/ppsspp.desktop $PKG/usr/share/applications/ppsspp.desktop @@ -143,15 +141,11 @@ 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 -mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info -cp build-sdl/lib/ppsspp_libretro.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro -cp $CWD/ppsspp_libretro.information $PKG/usr/lib${LIBDIRSUFFIX}/libretro/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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE.TXT README.md korean.txt chinese.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -v LICENSE.TXT README.md history.md headless/headless.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |