pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Aug 13 14:37:26 UTC 2018

Modified Files:
        pkgsrc/emulators: Makefile
Added Files:
        pkgsrc/emulators/libretro-bsnes-mercury: DESCR Makefile Makefile.common
            PLIST distinfo
        pkgsrc/emulators/libretro-bsnes-mercury-accuracy: DESCR Makefile PLIST
        pkgsrc/emulators/libretro-bsnes-mercury-performance: DESCR Makefile
            PLIST
        pkgsrc/emulators/libretro-bsnes-mercury/patches: patch-Makefile

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r1.274 -r1.275 pkgsrc/emulators/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/libretro-bsnes-mercury/DESCR \
    pkgsrc/emulators/libretro-bsnes-mercury/Makefile \
    pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common \
    pkgsrc/emulators/libretro-bsnes-mercury/PLIST \
    pkgsrc/emulators/libretro-bsnes-mercury/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/libretro-bsnes-mercury-accuracy/DESCR \
    pkgsrc/emulators/libretro-bsnes-mercury-accuracy/Makefile \
    pkgsrc/emulators/libretro-bsnes-mercury-accuracy/PLIST
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/libretro-bsnes-mercury-performance/DESCR \
    pkgsrc/emulators/libretro-bsnes-mercury-performance/Makefile \
    pkgsrc/emulators/libretro-bsnes-mercury-performance/PLIST
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/libretro-bsnes-mercury/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/Makefile
diff -u pkgsrc/emulators/Makefile:1.274 pkgsrc/emulators/Makefile:1.275
--- pkgsrc/emulators/Makefile:1.274     Mon Aug 13 00:54:25 2018
+++ pkgsrc/emulators/Makefile   Mon Aug 13 14:37:25 2018
@@ -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-saturn
 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

Added files:

Index: pkgsrc/emulators/libretro-bsnes-mercury/DESCR
diff -u /dev/null pkgsrc/emulators/libretro-bsnes-mercury/DESCR:1.1
--- /dev/null   Mon Aug 13 14:37:26 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury/DESCR       Mon Aug 13 14:37:25 2018
@@ -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).
Index: pkgsrc/emulators/libretro-bsnes-mercury/Makefile
diff -u /dev/null pkgsrc/emulators/libretro-bsnes-mercury/Makefile:1.1
--- /dev/null   Mon Aug 13 14:37:26 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury/Makefile    Mon Aug 13 14:37:25 2018
@@ -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"
Index: pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common
diff -u /dev/null pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common:1.1
--- /dev/null   Mon Aug 13 14:37:26 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common     Mon Aug 13 14:37:25 2018
@@ -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}
Index: pkgsrc/emulators/libretro-bsnes-mercury/PLIST
diff -u /dev/null pkgsrc/emulators/libretro-bsnes-mercury/PLIST:1.1
--- /dev/null   Mon Aug 13 14:37:26 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury/PLIST       Mon Aug 13 14:37:25 2018
@@ -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
Index: pkgsrc/emulators/libretro-bsnes-mercury/distinfo
diff -u /dev/null pkgsrc/emulators/libretro-bsnes-mercury/distinfo:1.1
--- /dev/null   Mon Aug 13 14:37:26 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury/distinfo    Mon Aug 13 14:37:25 2018
@@ -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

Index: pkgsrc/emulators/libretro-bsnes-mercury-accuracy/DESCR
diff -u /dev/null pkgsrc/emulators/libretro-bsnes-mercury-accuracy/DESCR:1.1
--- /dev/null   Mon Aug 13 14:37:26 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury-accuracy/DESCR      Mon Aug 13 14:37:25 2018
@@ -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).
Index: pkgsrc/emulators/libretro-bsnes-mercury-accuracy/Makefile
diff -u /dev/null pkgsrc/emulators/libretro-bsnes-mercury-accuracy/Makefile:1.1
--- /dev/null   Mon Aug 13 14:37:26 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury-accuracy/Makefile   Mon Aug 13 14:37:25 2018
@@ -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"
Index: pkgsrc/emulators/libretro-bsnes-mercury-accuracy/PLIST
diff -u /dev/null pkgsrc/emulators/libretro-bsnes-mercury-accuracy/PLIST:1.1
--- /dev/null   Mon Aug 13 14:37:26 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury-accuracy/PLIST      Mon Aug 13 14:37:25 2018
@@ -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

Index: pkgsrc/emulators/libretro-bsnes-mercury-performance/DESCR
diff -u /dev/null pkgsrc/emulators/libretro-bsnes-mercury-performance/DESCR:1.1
--- /dev/null   Mon Aug 13 14:37:26 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury-performance/DESCR   Mon Aug 13 14:37:25 2018
@@ -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).
Index: pkgsrc/emulators/libretro-bsnes-mercury-performance/Makefile
diff -u /dev/null pkgsrc/emulators/libretro-bsnes-mercury-performance/Makefile:1.1
--- /dev/null   Mon Aug 13 14:37:26 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury-performance/Makefile        Mon Aug 13 14:37:25 2018
@@ -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"
Index: pkgsrc/emulators/libretro-bsnes-mercury-performance/PLIST
diff -u /dev/null pkgsrc/emulators/libretro-bsnes-mercury-performance/PLIST:1.1
--- /dev/null   Mon Aug 13 14:37:26 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury-performance/PLIST   Mon Aug 13 14:37:25 2018
@@ -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

Index: pkgsrc/emulators/libretro-bsnes-mercury/patches/patch-Makefile
diff -u /dev/null pkgsrc/emulators/libretro-bsnes-mercury/patches/patch-Makefile:1.1
--- /dev/null   Mon Aug 13 14:37:26 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury/patches/patch-Makefile      Mon Aug 13 14:37:25 2018
@@ -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