diff options
-rw-r--r-- | games/ppsspp/README | 3 | ||||
-rw-r--r-- | games/ppsspp/ppsspp.SlackBuild | 21 | ||||
-rw-r--r-- | games/ppsspp/ppsspp.info | 6 |
3 files changed, 24 insertions, 6 deletions
diff --git a/games/ppsspp/README b/games/ppsspp/README index 0585ea2864..908f0ace26 100644 --- a/games/ppsspp/README +++ b/games/ppsspp/README @@ -14,3 +14,6 @@ snappy is an optional dependency. QT=ON will enable QT GUI and require qt5 installed (default is 'QT=OFF'). + +SYSTEM_FFMPEG=ON: build with system ffmpeg ( default is +'SYSTEM_FFMPEG=OFF' ) diff --git a/games/ppsspp/ppsspp.SlackBuild b/games/ppsspp/ppsspp.SlackBuild index 9cd4b17053..9cc068ffc0 100644 --- a/games/ppsspp/ppsspp.SlackBuild +++ b/games/ppsspp/ppsspp.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ppsspp -VERSION=${VERSION:-1.17.1} +VERSION=${VERSION:-1.18.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -87,6 +87,21 @@ sed -i -e '/include(ccache)/d' CMakeLists.txt # set git-version sed -i "s/unknown/${VERSION}/" git-version.cmake +SYSTEM_FFMPEG=${SYSTEM_FFMPEG:-OFF} +if [ "$SYSTEM_FFMPEG" = "OFF" ]; then + cd ffmpeg + if [ "$ARCH" = "i586" ]; then + ./linux_x86.sh + elif [ "$ARCH" = "x86_64" ]; then + ./linux_x86-64.sh + elif [ "$ARCH" = "arm" ]; then + ./linux_arm64_native.sh + else + ./linux_"${ARCH}".sh + fi + cd .. +fi + if [ "${QT:-OFF}" = "ON" ]; then cmake -B build-qt \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ @@ -95,7 +110,7 @@ if [ "${QT:-OFF}" = "ON" ]; then -DCMAKE_SKIP_RPATH=TRUE \ -DUSING_QT_UI=ON \ -DUSE_SYSTEM_LIBZIP=ON \ - -DUSE_SYSTEM_FFMPEG=ON \ + -DUSE_SYSTEM_FFMPEG="${SYSTEM_FFMPEG}" \ -DUSE_DISCORD=OFF \ -DUSE_SYSTEM_ZSTD=ON \ -DCMAKE_BUILD_TYPE=Release @@ -111,7 +126,7 @@ cmake -B build-sdl \ -DCMAKE_SKIP_RPATH=TRUE \ -DUSING_QT_UI=OFF \ -DUSE_SYSTEM_LIBZIP=ON \ - -DUSE_SYSTEM_FFMPEG=ON \ + -DUSE_SYSTEM_FFMPEG="${SYSTEM_FFMPEG}" \ -DUSE_DISCORD=OFF \ -DUSE_SYSTEM_ZSTD=ON \ -DCMAKE_BUILD_TYPE=Release diff --git a/games/ppsspp/ppsspp.info b/games/ppsspp/ppsspp.info index 7dc79a094c..8bd15a0473 100644 --- a/games/ppsspp/ppsspp.info +++ b/games/ppsspp/ppsspp.info @@ -1,8 +1,8 @@ PRGNAM="ppsspp" -VERSION="1.17.1" +VERSION="1.18.1" HOMEPAGE="https://www.ppsspp.org/" -DOWNLOAD="https://github.com/hrydgard/ppsspp/releases/download/v1.17.1/ppsspp-1.17.1.tar.xz" -MD5SUM="03adacd168891fe5c142f55ff5af7182" +DOWNLOAD="https://github.com/hrydgard/ppsspp/releases/download/v1.18.1/ppsspp-1.18.1.tar.xz" +MD5SUM="2fef8f022c170814aa78f3e9b4a00b94" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |