mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
games/RetroArch: Updated for version 1.6.7.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
0f615094d1
commit
9df0bf841d
2 changed files with 16 additions and 15 deletions
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=RetroArch
|
PRGNAM=RetroArch
|
||||||
VERSION=${VERSION:-1.6.4}
|
VERSION=${VERSION:-1.6.7}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -54,14 +54,6 @@ else
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DEBUG=${DEBUG:-0}
|
|
||||||
if [ "$DEBUG" = 1 ]; then
|
|
||||||
RELEASE=debug
|
|
||||||
SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0 -g/')"
|
|
||||||
else
|
|
||||||
RELEASE=release
|
|
||||||
fi
|
|
||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
|
@ -77,6 +69,15 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
|
if [ "${DEBUG:-0}" = 1 ]; then
|
||||||
|
DEBUG=1
|
||||||
|
RELEASE=debug
|
||||||
|
SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0 -g/')"
|
||||||
|
else
|
||||||
|
DEBUG=0
|
||||||
|
RELEASE=release
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${PYTHON:-0}" = 1 ]; then
|
if [ "${PYTHON:-0}" = 1 ]; then
|
||||||
python='--enable-python'
|
python='--enable-python'
|
||||||
# Needed for python3 in the 14.1 SBo branch.
|
# Needed for python3 in the 14.1 SBo branch.
|
||||||
|
@ -115,7 +116,8 @@ sed -e "s|# audio_filter_dir =|audio_filter_dir = /usr/lib${LIBDIRSUFFIX}/retroa
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure --prefix=/usr \
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
--with-bin_dir=/usr/games \
|
--with-bin_dir=/usr/games \
|
||||||
--with-man_dir=/usr/man \
|
--with-man_dir=/usr/man \
|
||||||
--with-assets_dir=/usr/share/games \
|
--with-assets_dir=/usr/share/games \
|
||||||
|
@ -146,10 +148,9 @@ done
|
||||||
|
|
||||||
mv $PKG/etc/retroarch.cfg $PKG/etc/retroarch.cfg.new
|
mv $PKG/etc/retroarch.cfg $PKG/etc/retroarch.cfg.new
|
||||||
|
|
||||||
if [ "$DEBUG" = 0 ]; then
|
[ "$DEBUG" = 0 ] && \
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
fi
|
|
||||||
|
|
||||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="RetroArch"
|
PRGNAM="RetroArch"
|
||||||
VERSION="1.6.4"
|
VERSION="1.6.7"
|
||||||
HOMEPAGE="https://www.libretro.com/"
|
HOMEPAGE="https://www.libretro.com/"
|
||||||
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/RetroArch-1.6.4.tar.xz"
|
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/RetroArch-1.6.7.tar.xz"
|
||||||
MD5SUM="1ad3b06ce7a14e044b25e6d5a95fc603"
|
MD5SUM="bf56c60f0cd243daa95c5685f3e13055"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in a new issue