diff options
Diffstat (limited to 'games/QuickNES-Core')
-rw-r--r-- | games/QuickNES-Core/QuickNES-Core.SlackBuild | 34 | ||||
-rw-r--r-- | games/QuickNES-Core/QuickNES-Core.info | 10 | ||||
-rw-r--r-- | games/QuickNES-Core/README | 9 | ||||
-rw-r--r-- | games/QuickNES-Core/slack-desc | 12 |
4 files changed, 38 insertions, 27 deletions
diff --git a/games/QuickNES-Core/QuickNES-Core.SlackBuild b/games/QuickNES-Core/QuickNES-Core.SlackBuild index 43d394f68a..dfeccb7e12 100644 --- a/games/QuickNES-Core/QuickNES-Core.SlackBuild +++ b/games/QuickNES-Core/QuickNES-Core.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for QuickNES-Core -# Copyright 2016-2018 Hunter Sezen +# Copyright 2020 ilmich < ardutu at gmail dot com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,11 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=QuickNES-Core LIBNAM=quicknes_libretro -VERSION=${VERSION:-2018.09.30_264639f} +VERSION=${VERSION:-2022.07.25.1b88a09} +COMMIT=1b88a09f1c386ff9ee46bb371583ae04c5cb5dd0 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -49,9 +60,9 @@ set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -cd $PRGNAM-$VERSION +rm -rf ${PRGNAM/-/_}-$COMMIT +tar xvf $CWD/${PRGNAM/-/_}-$COMMIT.tar.gz +cd ${PRGNAM/-/_}-$COMMIT chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -61,10 +72,10 @@ find -L . \ [ "${DEBUG:=0}" != 0 ] && DEBUG=1 -make DEBUG=$DEBUG GIT_VERSION="${VERSION#*_}" +make -f Makefile DEBUG=$DEBUG -install -Dm0644 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so -install -Dm0644 $LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info +install -Dm0755 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so +install -Dm0644 $CWD/$LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info if [ $DEBUG = 0 ]; then find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -72,10 +83,11 @@ if [ $DEBUG = 0 ]; then fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/games/QuickNES-Core/QuickNES-Core.info b/games/QuickNES-Core/QuickNES-Core.info index af84d35274..3a208757fa 100644 --- a/games/QuickNES-Core/QuickNES-Core.info +++ b/games/QuickNES-Core/QuickNES-Core.info @@ -1,10 +1,10 @@ PRGNAM="QuickNES-Core" -VERSION="2018.09.30_264639f" +VERSION="2022.07.25.1b88a09" HOMEPAGE="https://www.libretro.com/" -DOWNLOAD="http://slackless.raccoons.tech/src/libretro/QuickNES-Core-2018.09.30_264639f.tar.xz" -MD5SUM="d4b6ab4ebb3e99dad2bd1bb4f1ccdd6b" +DOWNLOAD="https://github.com/libretro/QuickNES_Core/archive/1b88a09/QuickNES_Core-1b88a09f1c386ff9ee46bb371583ae04c5cb5dd0.tar.gz https://raw.githubusercontent.com/libretro/libretro-core-info/345d38d5bdfd02ca2809b066b52aa505d462f8de/quicknes_libretro.info" +MD5SUM="5c020ab7d3362a72fd99dca19238c8e5 016305560f3c8adc7344a71fddf45366" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="RetroArch" -MAINTAINER="Hunter Sezen" -EMAIL="orbea@riseup.net" +MAINTAINER="ilmich" +EMAIL="ardutu@gmail.com" diff --git a/games/QuickNES-Core/README b/games/QuickNES-Core/README index 10f5c28983..2b3110d1ae 100644 --- a/games/QuickNES-Core/README +++ b/games/QuickNES-Core/README @@ -1,9 +1,8 @@ -QuickNES is a Nintendo Entertainment System video game system emulator -that can be used as a libretro core. +QuickNES is the fastest NES emulator available via libretro, +though this speed comes at the cost of some accuracy. -Nes_Emu, the core NES emulator library used by QuickNES, began as a -very simple NES emulator sometime in 2004. It was based on the 6502 CPU -core and APU sound core used in the Game_Music_Emu sound engine. +This core should be used only when performance is of the +utmost concern and even FCEUmm is too demanding. To build the debugging symbols use: DEBUG=1 QuickNES-Core.SlackBuild diff --git a/games/QuickNES-Core/slack-desc b/games/QuickNES-Core/slack-desc index b6cb51400d..4a4c88a18d 100644 --- a/games/QuickNES-Core/slack-desc +++ b/games/QuickNES-Core/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -QuickNES-Core: QuickNES-Core (libretro QuickNES core library) +QuickNES-Core: QuickNES-Core (fast NES libretro core) QuickNES-Core: -QuickNES-Core: Nes_Emu, the core NES emulator library used by QuickNES, began as a -QuickNES-Core: very simple NES emulator sometime in 2004. It was based on the 6502 -QuickNES-Core: CPU core and APU sound core used in the Game_Music_Emu sound engine. -QuickNES-Core: -QuickNES-Core: Homepage: https://www.libretro.com/ +QuickNES-Core: QuickNES is the fastest NES emulator available via libretro, +QuickNES-Core: though this speed comes at the cost of some accuracy. This core +QuickNES-Core: should be used only when performance is of the utmost concern and +QuickNES-Core: even FCEUmm is too demanding QuickNES-Core: QuickNES-Core: +QuickNES-Core: Homepage: https://www.libretro.com/ QuickNES-Core: QuickNES-Core: |