pkgsrc/emulators/fceu/Makefile

39 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.15 2009/02/15 19:02:11 wiz Exp $
#
Update to 0.98.13: Additional patch from dillo@: Fix display and sync on sound. Ignore NoWaiting and the rest for now. Changes since 0.98.12: SDL: Fixed button configuration when using joystick hats. Thanks to ShaolinMan for pointing out the code errors. Readded checks in ines.c for some common bad dumps and non-working hacked games. Sprite hit emulation is more precise(as it was in 0.97.5). Fixed mapper 185 emulation to work properly with the Japanese version of "Spy vs Spy", and hopefully with the GOOD dump of Banana(I don't think one exists). Added per-game hacks for Shougi Meikan '92 and Shougi Meikan '93. Fixed a bug in SetupCartMirroring() that could cause some games to have corrupted mirroring if loaded in a certain order. This was a rather major, long-standing bug. :/ Added many iNES header corrections. Fixed emulation of the "ISB" and "DCP" invalid opcodes. Optimized the PPU background drawing code with inline assembly. Older/some(?) versions of gcc may produce bad code(from previous experience with inline assembly in gcc), but 3.4.1 seems to do ok. Optimized some of the low-quality sound emulation code. Added a command-line option to the configure script to enable the FCE Ultra debugger(disabled by default). It reduces executable size, and may increase speed of execution slightly. In unix-netplay.c, replaced the ioctl() on a socket to read the number of bytes available to read with a select(). I've also added some "BEOS" #ifdefs. I don't know if they will work properly. Replaced archaic include of "malloc.h" in unix-netplay.c with "stdlib.h". Also in unix-netplay.c, I've added: #ifndef SOL_TCP #define SOL_TCP IPPROTO_TCP #endif Fixed a bug in sdl-sound.c that would prevent FCE Ultra from being compiled on certain platforms(Mac OS X). Fixed variable declarations in the following files to be compatible with C compilers that don't adhere to C99(or was it C98...): movie.c drivers/sexyal/convertgen.c and drivers/sexyal/convert.inc drivers/pc/unix-netplay.c
2005-10-30 12:47:56 +01:00
DISTNAME= fceu-0.98.13.src
PKGNAME= ${DISTNAME:S/.src//}
PKGREVISION= 3
CATEGORIES= emulators
MASTER_SITES= # http://pdaxrom.theinternet.nl/fceu/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= wiz@NetBSD.org
#HOMEPAGE= http://pdaxrom.theinternet.nl/fceu/
COMMENT= Portable NES and Famicom emulator
WRKSRC= ${WRKDIR}/fceu
USE_PKGLOCALEDIR= yes
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
SUBST_CLASSES+= dsp
SUBST_STAGE.dsp= post-patch
SUBST_MESSAGE.dsp= Adjusting sound device path.
SUBST_FILES.dsp= src/drivers/sexyal/drivers/oss.c
SUBST_SED.dsp= -e "s|/dev/dsp|${DEVOSSAUDIO}|"
2007-03-28 15:19:13 +02:00
INSTALLATION_DIRS= ${PKGMANDIR}/man6 share/doc/fceu
post-install:
${INSTALL_DATA} ${WRKSRC}/Documentation/fceu-sdl.6 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/fceu.6
${INSTALL_DATA} ${WRKSRC}/Documentation/*.html \
${DESTDIR}${PREFIX}/share/doc/fceu
${INSTALL_DATA} ${WRKSRC}/Documentation/*.txt \
${DESTDIR}${PREFIX}/share/doc/fceu
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"