diff options
author | Steven Voges <svoges.sbo@gmail.com> | 2023-09-02 09:40:57 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-09-02 18:02:27 +0700 |
commit | 1fc643a8d1dc24c7976e1f41fac78dfe298468ab (patch) | |
tree | ca356bd6479c021cba5bdebf1c3ca47253c78c91 /games/mesen-x | |
parent | d00eb0c9122851f8c4c14e3408bec0c4f5f0531c (diff) |
games/mesen-x: Updated for version 0.9.9.3364.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/mesen-x')
-rw-r--r-- | games/mesen-x/README | 3 | ||||
-rw-r--r-- | games/mesen-x/mesen-x.SlackBuild | 29 | ||||
-rw-r--r-- | games/mesen-x/mesen-x.info | 6 | ||||
-rw-r--r-- | games/mesen-x/mesen-x_libretro.info.in | 39 |
4 files changed, 64 insertions, 13 deletions
diff --git a/games/mesen-x/README b/games/mesen-x/README index 5646f0bd68999..51392bfe811fa 100644 --- a/games/mesen-x/README +++ b/games/mesen-x/README @@ -9,3 +9,6 @@ Changes include: * HD Pack improvements * Replaced VRC7 synth code with Nuked-OPLL * Debugger improvements, for Alchemy65 + +If you would like to build the libretro core, pass LIBRETRO=yes to +the SlackBuild script. diff --git a/games/mesen-x/mesen-x.SlackBuild b/games/mesen-x/mesen-x.SlackBuild index ba2c8c06b3221..32541b352a554 100644 --- a/games/mesen-x/mesen-x.SlackBuild +++ b/games/mesen-x/mesen-x.SlackBuild @@ -26,9 +26,10 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mesen-x SRCNAM=Mesen-X -VERSION=${VERSION:-0.9.9.3363} -SRCVER=${SRCVER:-e6d75fcf58da2ccc1b89ed1d3c99f74925f2907e} +VERSION=${VERSION:-0.9.9.3364} +SRCVER=${SRCVER:-9760d07474881588051d620b3c230bcdf5be08ec} MESENPLATFORM=${MESENPLATFORM:-x64} +LIBRETRO=${LIBRETRO:-no} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -89,14 +90,22 @@ export CFLAGS="$SLKCFLAGS" LTO=true \ MESENPLATFORM=$MESENPLATFORM \ make -install -Dm755 bin/$MESENPLATFORM/Release/Mesen.exe $PKG/usr/bin/$SRCNAM -install -Dm755 $CWD/$PRGNAM $PKG/usr/bin/$PRGNAM -install -Dm644 InteropDLL/obj.$MESENPLATFORM/libMesenCore.$MESENPLATFORM.dll \ - $PKG/usr/lib$LIBDIRSUFFIX/libMesenCore.dll -install -Dm644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop -install -Dm644 GUI.NET/Resources/MesenIconSmall.png $PKG/usr/share/icons/hicolor/16x16/apps/$PRGNAM.png -install -Dm644 GUI.NET/Resources/MesenIconMedium.png $PKG/usr/share/icons/hicolor/32x32/apps/$PRGNAM.png -install -Dm644 GUI.NET/Resources/MesenIcon.png $PKG/usr/share/icons/hicolor/64x64/apps/$PRGNAM.png + install -Dm755 bin/$MESENPLATFORM/Release/Mesen.exe $PKG/usr/bin/$SRCNAM + install -Dm755 $CWD/$PRGNAM $PKG/usr/bin/$PRGNAM + install -Dm644 InteropDLL/obj.$MESENPLATFORM/libMesenCore.$MESENPLATFORM.dll \ + $PKG/usr/lib$LIBDIRSUFFIX/libMesenCore.dll + install -Dm644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop + install -Dm644 GUI.NET/Resources/MesenIconSmall.png $PKG/usr/share/icons/hicolor/16x16/apps/$PRGNAM.png + install -Dm644 GUI.NET/Resources/MesenIconMedium.png $PKG/usr/share/icons/hicolor/32x32/apps/$PRGNAM.png + install -Dm644 GUI.NET/Resources/MesenIcon.png $PKG/usr/share/icons/hicolor/64x64/apps/$PRGNAM.png + chmod 755 $PKG/usr/lib$LIBDIRSUFFIX/libMesenCore.dll +if [ $LIBRETRO = "yes" ]; then + cd Libretro + make + install -Dm755 Libretro/mesen_libretro.so $PKG/usr/lib$LIBDIRSUFFIX/libretro/${PRGNAM}_libretro.so + install -Dm644 $CWD/${PRGNAM}_libretro.info.in $PKG/usr/lib$LIBDIRSUFFIX/libretro/info/${PRGNAM}_libretro.info + cd .. +fi 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 diff --git a/games/mesen-x/mesen-x.info b/games/mesen-x/mesen-x.info index 13cce3ac48ff4..60a68106c8c7c 100644 --- a/games/mesen-x/mesen-x.info +++ b/games/mesen-x/mesen-x.info @@ -1,8 +1,8 @@ PRGNAM="mesen-x" -VERSION="0.9.9.3363" +VERSION="0.9.9.3364" HOMEPAGE="https://www.mesen.ca" -DOWNLOAD="https://github.com/NovaSquirrel/Mesen-X/archive/e6d75fcf58da2ccc1b89ed1d3c99f74925f2907e/Mesen-X-e6d75fcf58da2ccc1b89ed1d3c99f74925f2907e.tar.gz" -MD5SUM="00800b2499c29d184e6283a430ab420a" +DOWNLOAD="https://github.com/NovaSquirrel/Mesen-X/archive/9760d07474881588051d620b3c230bcdf5be08ec/Mesen-X-9760d07474881588051d620b3c230bcdf5be08ec.tar.gz" +MD5SUM="3803c949b9eef45f4900a8d257e60fb5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="mono" diff --git a/games/mesen-x/mesen-x_libretro.info.in b/games/mesen-x/mesen-x_libretro.info.in new file mode 100644 index 0000000000000..b004791e9f341 --- /dev/null +++ b/games/mesen-x/mesen-x_libretro.info.in @@ -0,0 +1,39 @@ +# Software Information +display_name = "Nintendo - NES / Famicom (Mesen-X)" +authors = "M. Bibaud (aka Sour)|NovaSquirrel" +supported_extensions = "nes|fds|unf|unif" +corename = "Mesen-X" +license = "GPLv3" +permissions = "" +display_version = "0.9.9-20230711_e49165c" +categories = "Emulator" + +# Hardware Information +manufacturer = "Nintendo" +systemname = "Nintendo Entertainment System" +systemid = "nes" + +# Libretro Features +supports_no_game = "false" +savestate = "true" +savestate_features = "deterministic" +cheats = "true" +input_descriptors = "true" +memory_descriptors = "true" +libretro_saves = "true" +core_options = "true" +core_options_version = "1.0" +load_subsystem = "false" +hw_render = "false" +needs_fullpath = "false" +disk_control = "false" +database = "Nintendo - Nintendo Entertainment System|Nintendo - Family Computer Disk System" + +# Firmware / BIOS +firmware_count = 1 +firmware0_desc = "disksys.rom (Family Computer Disk System BIOS)" +firmware0_path = "disksys.rom" +firmware0_opt = "true" +notes = "(!) disksys.rom (md5): ca30b50f880eb660a320674ed365ef7a|Press Retropad R1 to switch disk side.|HD Packs go in %system%/HdPacks/%game_name%|Custom palette in %system%/MesenPalette.pal" + +description = "Mesen a relatively new but highly accurate NES emulator. With great accuracy comes great resource requirements (relative to other NES emulators, at least), so this core is not a great choice for weak mobile devices or other low-power/embedded platforms. However, it is the best choice for users who seek the most accurate reproduction of the NES hardware. Mesen also supports some fun enhancements, such as HD sprite replacement packs." |