diff options
author | Hunter Sezen <ovariegata@yahoo.com> | 2017-02-04 20:48:22 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-11 07:24:12 +0700 |
commit | c8c6804a356e8ddb195e826f793a6ebf37e2cfe1 (patch) | |
tree | d8d69a559dd61979e8721441d266f00a8d00ce9a /games/GLupeN64/GLupeN64.SlackBuild | |
parent | 83f987407a315660ff6bd984073e82c303d0d136 (diff) |
games/GLupeN64: Updated for version 2017.01.30_7b7cb25.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/GLupeN64/GLupeN64.SlackBuild')
-rw-r--r-- | games/GLupeN64/GLupeN64.SlackBuild | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/games/GLupeN64/GLupeN64.SlackBuild b/games/GLupeN64/GLupeN64.SlackBuild index 89b1702652a3e..cc54c5372765f 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 |