bda48d3375
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).
36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
# $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}
|