summaryrefslogtreecommitdiff
path: root/games/GLupeN64
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-02-04 20:48:22 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-11 07:24:12 +0700
commitc8c6804a356e8ddb195e826f793a6ebf37e2cfe1 (patch)
treed8d69a559dd61979e8721441d266f00a8d00ce9a /games/GLupeN64
parent83f987407a315660ff6bd984073e82c303d0d136 (diff)
downloadslackbuilds-c8c6804a356e8ddb195e826f793a6ebf37e2cfe1.tar.gz
games/GLupeN64: Updated for version 2017.01.30_7b7cb25.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/GLupeN64')
-rw-r--r--games/GLupeN64/GLupeN64.SlackBuild25
-rw-r--r--games/GLupeN64/GLupeN64.info6
-rw-r--r--games/GLupeN64/README7
3 files changed, 30 insertions, 8 deletions
diff --git a/games/GLupeN64/GLupeN64.SlackBuild b/games/GLupeN64/GLupeN64.SlackBuild
index 89b1702652..cc54c53727 100644
--- a/games/GLupeN64/GLupeN64.SlackBuild
+++ b/games/GLupeN64/GLupeN64.SlackBuild
@@ -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
diff --git a/games/GLupeN64/GLupeN64.info b/games/GLupeN64/GLupeN64.info
index 3adcd40c50..fe57cd9243 100644
--- a/games/GLupeN64/GLupeN64.info
+++ b/games/GLupeN64/GLupeN64.info
@@ -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"
diff --git a/games/GLupeN64/README b/games/GLupeN64/README
index 5b06c96018..0dfb4e1e73 100644
--- a/games/GLupeN64/README
+++ b/games/GLupeN64/README
@@ -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