games/GLupeN64: Updated for version 2017.01.30_7b7cb25.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2017-02-04 20:48:22 +00:00 committed by Willy Sudiarto Raharjo
parent 83f987407a
commit c8c6804a35
3 changed files with 30 additions and 8 deletions

View file

@ -24,7 +24,7 @@
PRGNAM=GLupeN64
LIBNAM=$(echo $PRGNAM | tr [A-Z] [a-z])_libretro
VERSION=${VERSION:-2016.11.28_ef3d576}
VERSION=${VERSION:-2017.01.30_7b7cb25}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -58,6 +58,8 @@ else
fi
DEBUG=${DEBUG:-0}
GLES=${GLES:-0}
GLES3=${GLES3:-0}
set -e
@ -74,21 +76,34 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make DEBUG=$DEBUG
make DEBUG=$DEBUG \
GIT_VERSION=${VERSION#*_} \
FORCE_GLES=$GLES \
FORCE_GLES3=$GLES3
install -Dm0644 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
install -Dm0644 $LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info
if [ "${DEBUG:-0}" = "0" ]; then
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
fi
PLUGIN="GLideN64 glsl-optimizer mupen64plus-core mupen64plus-rsp-cxd4 mupen64plus-rsp-hle"
DOCS="Changelog.md COPYING INSTALL LICENSES LICENSE license.txt README.md README RELEASE"
PLUGIN='GLideN64 mupen64plus-core mupen64plus-rsp-cxd4 mupen64plus-rsp-hle'
DOCS='gpl-2.0.txt COPYING INSTALL LICENSES LICENSE README.md README RELEASE'
for DOCDIR in $PLUGIN; do
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/$DOCDIR
if [ "$DOCDIR" = GLideN64 ]; then
for DIR in GlideHQ Glow gles2n64; do
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/$DOCDIR/$DIR
for file in $DOCS; do
if [ -f $DOCDIR/licenses/$DIR/$file ]; then
cp -a $DOCDIR/licenses/$DIR/$file $PKG/usr/doc/$PRGNAM-$VERSION/$DOCDIR/$DIR
fi
done
done
fi
for file in $DOCS; do
if [ -f $DOCDIR/$file ]; then
cp -a $DOCDIR/$file $PKG/usr/doc/$PRGNAM-$VERSION/$DOCDIR

View file

@ -1,8 +1,8 @@
PRGNAM="GLupeN64"
VERSION="2016.11.28_ef3d576"
VERSION="2017.01.30_7b7cb25"
HOMEPAGE="https://glupen64.github.io/"
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/GLupeN64-2016.11.28_ef3d576.tar.xz"
MD5SUM="1a38f62fbaf7876d7dfe15ae85603e42"
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/GLupeN64-2017.01.30_7b7cb25.tar.xz"
MD5SUM="dcc00f652bc16bdbdfc0dbcadffa942d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"

View file

@ -12,5 +12,12 @@ standalone mupen64plus.
By choosing one graphics plugin (GLideN64), we will be able to keep the
code in line with upstream, and maintaining the code will be much simpler.
GLupeN64 optionally supports using OpenGL ES 2 and OpenGL ES 3 instead of
OpenGL which will require support in the libretro frontend, video card and
driver. This can be done by building GLupeN64 with:
GLES=1 ./GLupeN64.SlackBuild
or
GLES3=1 ./GLupeN64.SlackBuild
To build the debugging symbols use:
DEBUG=1 ./GLupeN64.SlackBuild