summaryrefslogtreecommitdiff
path: root/games/pcsx2/pcsx2.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-02-06 07:55:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-06 07:55:51 +0700
commit58eb849f96ab5285c0b4d0473deeca3fa324629b (patch)
tree3428e97c32bdacf154054157ba28331d50b39c98 /games/pcsx2/pcsx2.SlackBuild
parent8bf8fa4e59ce0109b2c8de587c59292d65cf6243 (diff)
downloadslackbuilds-58eb849f96ab5285c0b4d0473deeca3fa324629b.tar.gz
games/pcsx2: Updated for version 2017.02.01_23d081ab2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/pcsx2/pcsx2.SlackBuild')
-rw-r--r--games/pcsx2/pcsx2.SlackBuild17
1 files changed, 14 insertions, 3 deletions
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