games/pcsx2: Updated for version 2018.12.11_0e43803.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2018-12-15 01:15:14 +07:00 committed by Willy Sudiarto Raharjo
parent 8868609980
commit bca53de125
3 changed files with 17 additions and 7 deletions

View file

@ -7,3 +7,7 @@ if [ -x /usr/bin/gdk-pixbuf-query-loaders ]; then
/usr/bin/gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
fi
fi
if [ -x /sbin/setcap ] && [ -f usr/bin/PCSX2 ]; then
/sbin/setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/PCSX2
fi

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pcsx2
VERSION=${VERSION:-2018.05.16_290397d}
VERSION=${VERSION:-2018.12.11_0e43803}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -92,9 +92,15 @@ fi
[ "${EGL_API:=OFF}" != OFF ] && EGL_API=ON
# Handle this in doinst.sh instead
# https://github.com/PCSX2/pcsx2/issues/2699
sed -i '/setcap/d' pcsx2/CMakeLists.txt
# Use a font included with Slackware
# osd error: 'Failed to init the freetype face'
zcat $CWD/osd_font.diff.gz | patch -p1
sed -i \
's|truetype/freefont/FreeSerif.ttf|TTF/LiberationSerif-Regular.ttf|' \
plugins/GSdx/GSdx.cpp
mkdir -p build
cd build
@ -121,8 +127,8 @@ cd build
cd ..
if [ "$DEBUG" = 0 ]; then
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
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
fi
find $PKG/usr/man -type f -exec gzip -9 {} \;

View file

@ -1,8 +1,8 @@
PRGNAM="pcsx2"
VERSION="2018.05.16_290397d"
VERSION="2018.12.11_0e43803"
HOMEPAGE="https://pcsx2.net"
DOWNLOAD="http://slackware.uk/sbosrcarch/by-name/games/pcsx2/pcsx2-2018.05.16_290397d.tar.xz"
MD5SUM="dd4faba347b4c5241b0e1bc7e0f8a128"
DOWNLOAD="http://slackless.raccoons.tech/src/pcsx2-2018.12.11_0e43803.tar.xz"
MD5SUM="48af5b3fc0c1a16bd71dd433ea14111e"
DOWNLOAD_x86_64="UNSUPPORTED"
MD5SUM_x86_64=""
REQUIRES="SDL2 wxGTK3 portaudio soundtouch"