From 58eb849f96ab5285c0b4d0473deeca3fa324629b Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Mon, 6 Feb 2017 07:55:51 +0700 Subject: games/pcsx2: Updated for version 2017.02.01_23d081ab2. Signed-off-by: Willy Sudiarto Raharjo --- games/pcsx2/README | 18 +++++++++--------- games/pcsx2/osd_font.diff.gz | Bin 0 -> 452 bytes games/pcsx2/pcsx2.SlackBuild | 17 ++++++++++++++--- games/pcsx2/pcsx2.info | 6 +++--- games/pcsx2/project_metafalica.diff.gz | Bin 0 -> 444 bytes 5 files changed, 26 insertions(+), 15 deletions(-) create mode 100644 games/pcsx2/osd_font.diff.gz create mode 100644 games/pcsx2/project_metafalica.diff.gz diff --git a/games/pcsx2/README b/games/pcsx2/README index c2358fc8bf150..72aa3733c55b9 100644 --- a/games/pcsx2/README +++ b/games/pcsx2/README @@ -1,13 +1,13 @@ -PCSX2 is an open source Playstation 2 emulator. Its purpose is to -mimic the PS2 hardware, using a combination of MIPS CPU Interpreters, -Recompilers and a Virtual Machine which manages hardware states and PS2 -system memory. +PCSX2 is an open source Playstation 2 emulator. +Its purpose is to mimic the PS2 hardware, using a combination +of MIPS CPU Interpreters, Recompilers and a Virtual Machine +which manages hardware states and PS2 system memory. -NOTE: This is buildable only on x86 32bit platform and will require a -PS2 bios dump to play games. For x86_64 64bit platforms multilib support -will be needed including compat32 versions of SDL2, wxGTK3, portaudio, -soundtouch, libnotify and xz. +NOTE: This is buildable only on x86 32bit platform and will +require a PS2 bios dump to play games. +For x86_64 64bit platforms multilib support will be needed +including compat32 versions of SDL2, wxGTK3, portaudio and +soundtouch. To build a legacy GSdx plugin compatible with GL3.3 use: - GL3="yes" ./pcsx2.SlackBuild diff --git a/games/pcsx2/osd_font.diff.gz b/games/pcsx2/osd_font.diff.gz new file mode 100644 index 0000000000000..d74e5c7293027 Binary files /dev/null and b/games/pcsx2/osd_font.diff.gz differ diff --git a/games/pcsx2/pcsx2.SlackBuild b/games/pcsx2/pcsx2.SlackBuild index 173a713453589..46e73450666f0 100644 --- a/games/pcsx2/pcsx2.SlackBuild +++ b/games/pcsx2/pcsx2.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pcsx2 -VERSION=${VERSION:-2016.07.31_e329b6f} +VERSION=${VERSION:-2017.02.01_23d081ab2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -77,7 +77,18 @@ find -L . \ # Build a GSdx legacy plugin compatible with GL3.3 GL3=${GL3:-no} -if [ "$GL3:-yes" = "yes" ]; then GSDX="-DGSDX_LEGACY=ON"; else GSDX=""; fi +case "$GL3" in + 'yes' ) GSDX='-DGSDX_LEGACY=ON' ;; + * ) GSDX= ;; +esac + +# (CRC) Add project metafalica retranslation +# https://github.com/PCSX2/pcsx2/issues/1762 +zcat $CWD/project_metafalica.diff.gz | patch -p1 + +# Use a font included with Slackware +# osd error: 'Failed to init the freetype face' +zcat $CWD/osd_font.diff.gz | patch -p1 mkdir -p build cd build @@ -115,7 +126,7 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh # Fix doinst.sh for x86_64 -if [ "$ARCH" = "x86_64" ]; then +if [ "$ARCH" = 'x86_64' ]; then if ! grep -q 32 $PKG/install/doinst.sh; then sed -i 's|-loaders >|-loaders-32 >|' $PKG/install/doinst.sh fi diff --git a/games/pcsx2/pcsx2.info b/games/pcsx2/pcsx2.info index 9a59175d71a75..be7845d072e8c 100644 --- a/games/pcsx2/pcsx2.info +++ b/games/pcsx2/pcsx2.info @@ -1,8 +1,8 @@ PRGNAM="pcsx2" -VERSION="2016.07.31_e329b6f" +VERSION="2017.02.01_23d081ab2" HOMEPAGE="http://pcsx2.net" -DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/pcsx2-2016.07.31_e329b6f.tar.xz" -MD5SUM="1618600ce9a155ebc3f762aae8ca325d" +DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/pcsx2-2017.02.01_23d081ab2.tar.xz" +MD5SUM="a8a9b27362371b2fc476ec2cf9ae1405" DOWNLOAD_x86_64="UNSUPPORTED" MD5SUM_x86_64="" REQUIRES="SDL2 wxGTK3 portaudio soundtouch" diff --git a/games/pcsx2/project_metafalica.diff.gz b/games/pcsx2/project_metafalica.diff.gz new file mode 100644 index 0000000000000..3f69d4a3db6a1 Binary files /dev/null and b/games/pcsx2/project_metafalica.diff.gz differ -- cgit v1.2.3