pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators libretro-bsnes-mercury{, -accuracy, -performan...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9390d90ad666
branches:  trunk
changeset: 383899:9390d90ad666
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Aug 13 14:37:25 2018 +0000

description:
libretro-bsnes-mercury{,-accuracy,-performance}: add version 20180803

Libretro is a simple but powerful development interface that allows for
the easy creation of emulators, games and multimedia applications that
can plug straight into any libretro-compatible frontend. This development
interface is open to others so that they can run these pluggable emulator
and game cores also in their own programs or devices.

bsnes/higan is a Super Nintendo Entertainment System / Super Famicom
video game system emulator that aims to document SNES/SFC hardware with
an extremely high degree of accuracy without compromise or optimisation.

bsnes-mercury is a fork of bsnes/higan aiming to restore some useful
features that have been removed, as well as improving performance
slightly. Maximum accuracy is still uncompromisable; anything that
affects accuracy is optional and off by default.

As such, it has quite high system requirements. For a SNES/SFC libretro
core that balances performance and accuracy to an acceptable level for
99% of games, consider using a snes9x core.

Three profiles are available: Performance, Balanced, and Accuracy.
Balanced is recommended for modern PCs. Use Accuracy for extreme cases
of hardware spec abuse (e.g. the game A.S.P. Air Strike Patrol).

diffstat:

 emulators/Makefile                                      |   5 +-
 emulators/libretro-bsnes-mercury-accuracy/DESCR         |  22 ++++++++++
 emulators/libretro-bsnes-mercury-accuracy/Makefile      |  11 +++++
 emulators/libretro-bsnes-mercury-accuracy/PLIST         |   2 +
 emulators/libretro-bsnes-mercury-performance/DESCR      |  22 ++++++++++
 emulators/libretro-bsnes-mercury-performance/Makefile   |  11 +++++
 emulators/libretro-bsnes-mercury-performance/PLIST      |   2 +
 emulators/libretro-bsnes-mercury/DESCR                  |  22 ++++++++++
 emulators/libretro-bsnes-mercury/Makefile               |  13 ++++++
 emulators/libretro-bsnes-mercury/Makefile.common        |  36 +++++++++++++++++
 emulators/libretro-bsnes-mercury/PLIST                  |   2 +
 emulators/libretro-bsnes-mercury/distinfo               |   7 +++
 emulators/libretro-bsnes-mercury/patches/patch-Makefile |  20 +++++++++
 13 files changed, 174 insertions(+), 1 deletions(-)

diffs (237 lines):

diff -r f0b23b88ea53 -r 9390d90ad666 emulators/Makefile
--- a/emulators/Makefile        Mon Aug 13 13:41:49 2018 +0000
+++ b/emulators/Makefile        Mon Aug 13 14:37:25 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.274 2018/08/13 00:54:25 nia Exp $
+# $NetBSD: Makefile,v 1.275 2018/08/13 14:37:25 nia Exp $
 #
 
 COMMENT=       Emulators for other operating systems
@@ -95,6 +95,9 @@
 SUBDIR+=       libretro-beetle-sgx
 SUBDIR+=       libretro-beetle-vb
 SUBDIR+=       libretro-beetle-wswan
+SUBDIR+=       libretro-bsnes-mercury
+SUBDIR+=       libretro-bsnes-mercury-accuracy
+SUBDIR+=       libretro-bsnes-mercury-performance
 SUBDIR+=       libretro-core-info
 SUBDIR+=       libretro-database
 SUBDIR+=       libretro-desmume
diff -r f0b23b88ea53 -r 9390d90ad666 emulators/libretro-bsnes-mercury-accuracy/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-bsnes-mercury-accuracy/DESCR   Mon Aug 13 14:37:25 2018 +0000
@@ -0,0 +1,22 @@
+Libretro is a simple but powerful development interface that allows for
+the easy creation of emulators, games and multimedia applications that
+can plug straight into any libretro-compatible frontend. This development
+interface is open to others so that they can run these pluggable emulator
+and game cores also in their own programs or devices.
+
+bsnes/higan is a Super Nintendo Entertainment System / Super Famicom
+video game system emulator that aims to document SNES/SFC hardware with
+an extremely high degree of accuracy without compromise or optimisation.
+
+bsnes-mercury is a fork of bsnes/higan aiming to restore some useful
+features that have been removed, as well as improving performance
+slightly. Maximum accuracy is still uncompromisable; anything that
+affects accuracy is optional and off by default.
+
+As such, it has quite high system requirements. For a SNES/SFC libretro
+core that balances performance and accuracy to an acceptable level for
+99% of games, consider using a snes9x core.
+
+Three profiles are available: Performance, Balanced, and Accuracy.
+Balanced is recommended for modern PCs. Use Accuracy for extreme cases
+of hardware spec abuse (e.g. the game A.S.P. Air Strike Patrol).
diff -r f0b23b88ea53 -r 9390d90ad666 emulators/libretro-bsnes-mercury-accuracy/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-bsnes-mercury-accuracy/Makefile        Mon Aug 13 14:37:25 2018 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2018/08/13 14:37:25 nia Exp $
+
+BSNES_PROFILE= accuracy
+
+.include "../../emulators/libretro-bsnes-mercury/Makefile.common"
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://docs.libretro.com/library/bsnes_mercury_accuracy/
+COMMENT=       Libretro core for SNES/Super Famicom emulation ("accuracy" profile)
+
+.include "../../mk/bsd.pkg.mk"
diff -r f0b23b88ea53 -r 9390d90ad666 emulators/libretro-bsnes-mercury-accuracy/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-bsnes-mercury-accuracy/PLIST   Mon Aug 13 14:37:25 2018 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/13 14:37:25 nia Exp $
+lib/libretro/bsnes_mercury_accuracy_libretro.so
diff -r f0b23b88ea53 -r 9390d90ad666 emulators/libretro-bsnes-mercury-performance/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-bsnes-mercury-performance/DESCR        Mon Aug 13 14:37:25 2018 +0000
@@ -0,0 +1,22 @@
+Libretro is a simple but powerful development interface that allows for
+the easy creation of emulators, games and multimedia applications that
+can plug straight into any libretro-compatible frontend. This development
+interface is open to others so that they can run these pluggable emulator
+and game cores also in their own programs or devices.
+
+bsnes/higan is a Super Nintendo Entertainment System / Super Famicom
+video game system emulator that aims to document SNES/SFC hardware with
+an extremely high degree of accuracy without compromise or optimisation.
+
+bsnes-mercury is a fork of bsnes/higan aiming to restore some useful
+features that have been removed, as well as improving performance
+slightly. Maximum accuracy is still uncompromisable; anything that
+affects accuracy is optional and off by default.
+
+As such, it has quite high system requirements. For a SNES/SFC libretro
+core that balances performance and accuracy to an acceptable level for
+99% of games, consider using a snes9x core.
+
+Three profiles are available: Performance, Balanced, and Accuracy.
+Balanced is recommended for modern PCs. Use Accuracy for extreme cases
+of hardware spec abuse (e.g. the game A.S.P. Air Strike Patrol).
diff -r f0b23b88ea53 -r 9390d90ad666 emulators/libretro-bsnes-mercury-performance/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-bsnes-mercury-performance/Makefile     Mon Aug 13 14:37:25 2018 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2018/08/13 14:37:25 nia Exp $
+
+BSNES_PROFILE= performance
+
+.include "../../emulators/libretro-bsnes-mercury/Makefile.common"
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://docs.libretro.com/library/bsnes_mercury_performance/
+COMMENT=       Libretro core for SNES/Super Famicom emulation ("performance" profile)
+
+.include "../../mk/bsd.pkg.mk"
diff -r f0b23b88ea53 -r 9390d90ad666 emulators/libretro-bsnes-mercury-performance/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-bsnes-mercury-performance/PLIST        Mon Aug 13 14:37:25 2018 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/13 14:37:25 nia Exp $
+lib/libretro/bsnes_mercury_performance_libretro.so
diff -r f0b23b88ea53 -r 9390d90ad666 emulators/libretro-bsnes-mercury/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-bsnes-mercury/DESCR    Mon Aug 13 14:37:25 2018 +0000
@@ -0,0 +1,22 @@
+Libretro is a simple but powerful development interface that allows for
+the easy creation of emulators, games and multimedia applications that
+can plug straight into any libretro-compatible frontend. This development
+interface is open to others so that they can run these pluggable emulator
+and game cores also in their own programs or devices.
+
+bsnes/higan is a Super Nintendo Entertainment System / Super Famicom
+video game system emulator that aims to document SNES/SFC hardware with
+an extremely high degree of accuracy without compromise or optimisation.
+
+bsnes-mercury is a fork of bsnes/higan aiming to restore some useful
+features that have been removed, as well as improving performance
+slightly. Maximum accuracy is still uncompromisable; anything that
+affects accuracy is optional and off by default.
+
+As such, it has quite high system requirements. For a SNES/SFC libretro
+core that balances performance and accuracy to an acceptable level for
+99% of games, consider using a snes9x core.
+
+Three profiles are available: Performance, Balanced, and Accuracy.
+Balanced is recommended for modern PCs. Use Accuracy for extreme cases
+of hardware spec abuse (e.g. the game A.S.P. Air Strike Patrol).
diff -r f0b23b88ea53 -r 9390d90ad666 emulators/libretro-bsnes-mercury/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-bsnes-mercury/Makefile Mon Aug 13 14:37:25 2018 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2018/08/13 14:37:25 nia Exp $
+
+BSNES_PROFILE= balanced
+
+.include "Makefile.common"
+
+PKGNAME=       ${DISTNAME}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://docs.libretro.com/library/bsnes_mercury_balanced/
+COMMENT=       Libretro core for SNES/Super Famicom emulation ("balanced" profile)
+
+.include "../../mk/bsd.pkg.mk"
diff -r f0b23b88ea53 -r 9390d90ad666 emulators/libretro-bsnes-mercury/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-bsnes-mercury/Makefile.common  Mon Aug 13 14:37:25 2018 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile.common,v 1.1 2018/08/13 14:37:25 nia Exp $
+#
+# used by emulators/libretro-bsnes-mercury/Makefile
+# used by emulators/libretro-bsnes-mercury-accuracy/Makefile
+# used by emulators/libretro-bsnes-mercury-performance/Makefile
+
+DISTNAME=      libretro-bsnes-mercury-20180803
+PKGNAME=       ${DISTNAME:S/libretro-bsnes-mercury/libretro-bsnes-mercury-${BSNES_PROFILE}/}
+CATEGORIES=    emulators
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=libretro/}
+GITHUB_PROJECT=        bsnes-mercury
+GITHUB_TAG=    4e221df676ffc7b46d083cf2ae100131eabe5076
+
+LICENSE=       gnu-gpl-v3
+
+WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
+
+EXTRACT_USING= bsdtar
+USE_TOOLS+=    gmake
+USE_LANGUAGES= c gnu++11
+
+MAKE_FLAGS+=   profile=${BSNES_PROFILE}
+MAKE_FLAGS+=   compiler=${CXX:Q}
+MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
+
+INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
+
+DISTINFO_FILE= ${.CURDIR}/../../emulators/libretro-bsnes-mercury/distinfo
+PATCHDIR=      ${.CURDIR}/../../emulators/libretro-bsnes-mercury/patches
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/out/bsnes_mercury_${BSNES_PROFILE}_libretro.so \
+           ${DESTDIR}${PREFIX}/lib/libretro/bsnes_mercury_${BSNES_PROFILE}_libretro.so
+
+.include "../../mk/dlopen.buildlink3.mk"
+BUILDLINK_TRANSFORM+=  opt:-ldl:${BUILDLINK_LDADD.dl:Q}
diff -r f0b23b88ea53 -r 9390d90ad666 emulators/libretro-bsnes-mercury/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-bsnes-mercury/PLIST    Mon Aug 13 14:37:25 2018 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/13 14:37:25 nia Exp $
+lib/libretro/bsnes_mercury_balanced_libretro.so
diff -r f0b23b88ea53 -r 9390d90ad666 emulators/libretro-bsnes-mercury/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-bsnes-mercury/distinfo Mon Aug 13 14:37:25 2018 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/08/13 14:37:25 nia Exp $
+
+SHA1 (libretro-bsnes-mercury-20180803-4e221df676ffc7b46d083cf2ae100131eabe5076.tar.gz) = 84ed723bb3c19c54637b64ade900fd50b72b4351
+RMD160 (libretro-bsnes-mercury-20180803-4e221df676ffc7b46d083cf2ae100131eabe5076.tar.gz) = 2b8b40ed19ec9aa1f3268a478ee60332ba6a4550
+SHA512 (libretro-bsnes-mercury-20180803-4e221df676ffc7b46d083cf2ae100131eabe5076.tar.gz) = 
c4b56d9bc4bbbb9e32a5d4923008e2e917a6db5d3ad92cb35333e389175593bf46a297dbe12eba21193881338cc79fe88ceecda8f32be0774ea9c5eac24a376e
+Size (libretro-bsnes-mercury-20180803-4e221df676ffc7b46d083cf2ae100131eabe5076.tar.gz) = 1337069 bytes
+SHA1 (patch-Makefile) = dca8b1f45f9d4ecc594563317ccf7609f1f8ab90
diff -r f0b23b88ea53 -r 9390d90ad666 emulators/libretro-bsnes-mercury/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-bsnes-mercury/patches/patch-Makefile   Mon Aug 13 14:37:25 2018 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-Makefile,v 1.1 2018/08/13 14:37:25 nia Exp $
+
+Honour CFLAGS/LDFLAGS.
+
+--- Makefile.orig      2018-08-03 19:45:52.000000000 +0000
++++ Makefile
+@@ -32,7 +32,7 @@ sfc_lagfix := 1
+ ifeq ($(DEBUG), 1)
+   flags := -I. -O0 -g
+ else
+-  flags := -I. -O3 -fomit-frame-pointer
++  flags := -I.
+ endif
+ 
+ cflags := $(CPPFLAGS) $(CFLAGS) -std=gnu99 -xc
+@@ -146,3 +146,4 @@ ifneq ($(lto),)
+   flags += -flto
+   link += $(flags)
+ endif
++link += $(LDFLAGS)



Home | Main Index | Thread Index | Old Index