openbsd-ports/emulators/mednafen/Makefile
mestre 46d3aaf4e2 update to 1.31.0-UNSTABLE
Notable changes since 1.29.0:
- MD: Fixed glitches and hang in the Europe release of "Donald in Maui Mallard".
- PC-FX: Expanded external backup memory from 32KiB to 128KiB, to match the
amount of memory in an FX-BMP.
- PC-FX: External backup memory will now be saved to/loaded from its own file,
instead of being appended to the internal backup memory in the same file. For
backwards compatibility, there is support for initially loading data from a
combined 32KiB+32KiB file; however, the additional 96KiB of external backup
memory will be unusable by the game in this case due to existing filesystem
structures.
- SASPlay: Added support for "Air Walkers".
- SNES-Faust: Added mouse emulation.
- SNES-Faust: Fixed color math glitch in "Final Fantasy V" when Exdeath is
holding the opaque white sphere party hostage.
- SNES-Faust: Fixed broken ExLoROM support, used by a "Heartthrob Memorial"
translation patch.
- SS: Added experimental support for ST-V games that don't require decryption
chips or special hardware. Refer to the ST-V section of the documentation for
more details and a list of explicitly supported games.
- SS: Fixed missing and glitchy graphics in "Houkago Ren'ai Club: Koi no Etude".
- SS: Fixed graphical glitches in "Radiant Silvergun" at the start of a new game
begun after interrupting the attract mode, or game over, while a fancy rotating
background was present, such as during the AKA-O battle.
2022-08-29 10:27:40 +00:00

53 lines
1.3 KiB
Makefile

BROKEN-hppa = ../../include/mednafen/state.h:21:7: error: 'exception_ptr' in namespace 'std' does not name a type
COMMENT = emulates numerous game consoles
VERSION = 1.31.0-UNSTABLE
DISTNAME = mednafen-${VERSION}
PKGNAME = mednafen-${VERSION:C/-UNSTABLE//}
CATEGORIES = emulators games
HOMEPAGE = https://mednafen.github.io
MAINTAINER = Ricardo Mestre <mestre@openbsd.org>
# GPLv2
PERMIT_PACKAGE = Yes
MASTER_SITES = ${HOMEPAGE}/releases/files/
EXTRACT_SUFX = .tar.xz
WANTLIB += FLAC SDL2 c iconv intl m pthread z ${COMPILER_LIBCXX}
USE_GMAKE = Yes
COMPILER = base-clang ports-gcc
LIB_DEPENDS = audio/flac \
devel/gettext,-runtime \
devel/sdl2
WRKDIST = ${WRKDIR}/mednafen
USE_WXNEEDED = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/SDL2" \
LDFLAGS="-L${LOCALBASE}/lib -pthread -nopie"
CONFIGURE_ARGS = --disable-alsa \
--disable-rpath \
--disable-jack \
--with-gnu-ld
# this intrinsic is not supported with our old gcc on powerpc.
.if ${MACHINE_ARCH} == "powerpc"
CONFIGURE_ARGS += --disable-altivec
.endif
pre-configure:
sed -i.beforesubst 's/^__inline//' ${WRKDIST}/src/quicklz/quicklz.c
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mednafen
${INSTALL_DATA} ${WRKSRC}/Documentation/* ${PREFIX}/share/doc/mednafen/
.include <bsd.port.mk>