From 58eb849f96ab5285c0b4d0473deeca3fa324629b Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Mon, 6 Feb 2017 07:55:51 +0700 Subject: [PATCH] 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 c2358fc8bf..72aa3733c5 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 0000000000000000000000000000000000000000..d74e5c72930272749a9cf387361c3eae8cd08259 GIT binary patch literal 452 zcmV;#0XzO5iwFow_Lf)z18;L=UuJJ^bS`9RW@Z4jl1*>hFbsyz)2|@1%ZALh?AUJX zeIUh#3`pIp9U6!JUO$SLN$mgXoYmh60T2V+YxwkCvk<_4{z79DQx@L){XnEnI%gpNu8 z*i9O?R6_h0=Wotn`EYp0jZp&Ti1T46%L}dCtJe%(Dk(@pb$xNUN*KK8D{tb|xvDW* zs&=yIl+oW8W)#)j35`81e!$b~JuE(!`~9_lp*fEG{njV?!}%%n7&<2xZ@n~iBeCG$ zNk-FXqw(O!63uC2Uv^}bd@N%5AJwm}w$T?=(*y8cHTX*H)S>;; u0`33LbJ{+tU(c!{UC-R7d44LYL1%158tab4DX`~pkNXYXCxC8;0{{TLao;Qe literal 0 HcmV?d00001 diff --git a/games/pcsx2/pcsx2.SlackBuild b/games/pcsx2/pcsx2.SlackBuild index 173a713453..46e7345066 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 9a59175d71..be7845d072 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 0000000000000000000000000000000000000000..3f69d4a3db6a123791d247b592853738efa2057f GIT binary patch literal 444 zcmV;t0Ym;DiwFqx(R)||18{P0YGq?|Uu|V{VP;`$X=7n7WNBt*0CkdIYuhjs#h<57 zaUVPUCz32%uGvOh$0?L;grtRd5QAWz>cduABD5ZJ1TycLoI!97#r)hA| z3ED`Nb~)7@&l9O-&b3TXCNfX4O{H#i)8vYj2lr^_0_@xIAszdno~-MN8qBmtv*88b+DW5FV#AjltYc<&?3yr z&1m)`y1^Pkx}D9wZ*Q52okB|#9J*Iq6m;+J6tfv*z$(x)nlYn;@nn|}7b-#`3-&jddFp~tnz znBc1~iZKD{AH4y zW^ygw*MY_2y$4`1J)OWAOX`w)7vKDJ-1>XSLb%zyG9h?P)2q^(xU-XevZZ!vJ~10R m825G9yA6)YIrV>w^xt4r<=#^@qA}Q=#a{py?F5#n0ssKFF5eXZ literal 0 HcmV?d00001