pkgsrc/emulators/snes9x-gtk/Makefile

39 lines
1.1 KiB
Makefile
Raw Normal View History

2014-06-09 16:18:04 +02:00
# $NetBSD: Makefile,v 1.41 2014/06/09 14:18:07 ryoon Exp $
#
Update to 1.53.81: Rebuilt IRQ handling. (zones) Improved overall timings, now Snes9x can handle events in a opcode a little. (zones) Improved screen interlace and sprite interlace supports. (OV2, zones) Fixed Hi-Res pixel plotter. (BearOso, zones, OV2) Fixed C4 for Mega Man X2's "weapon get" screen. (Jonas Quinn) Fixed Super Buster Bros. graphics after reset. (Jonas Quinn) Improved SA-1 support. (zones) Added SA-1 CC2 support. (Jonas Quinn, byuu) Fixed SA-1 NMI override mode. (zones) Fixed Dual Orb 2 sound glitch. (byuu) New APU timing hack, fixes various games that exhibit problems with Blargg's SNES_SPC library. (OV2) Fixed the problem that echo buffer breaks IPL ROM. (zones, OV2) Fixed movie snapshot unfreeze inconsistency. (gocha) Faster config file saving. (OV2) Fixed BlockInvalidVRAMAccess config file option. (windows port, unix port and gtk legacy config) (Jonas Quinn) Remove POSIX dup and access calls, and rename qword to fix compilation with Cell SDK. (BearOso) Fixed PS3 version save state crash by using heap allocation for soundsnapshot. (danieldematteis) Fixed crash relating to double-closed descriptor. (BearOso) Removed CPUShutdown speedhack, DisableHDMA and DisableIRQ options. (zones) Removed remaining outdated asm code. (zones) JMA 64 bit support. (kode54, Nach, friedrich.goepel) GTK+, Win32, Mac: Added optional Hi-Res blending. (BearOso, OV2, zones) GTK+, Win32: Support for bsnes-style XML shaders. (BearOso, OV2) Unix : Fixed segfault and hang-up with -DNOSOUND. (zones) GTK+ : Added ability to set specific folders for SRAM, patches, snapshots, etc. (BearOso) GTK+ : Fixed many permissions issues with config folders. (BearOso) GTK+ : Updated compatibility with latest GTK+ and GtkBuilder. Added experimental support for GTK+ 3.x. (BearOso) GTK+ : Updated software output to use cairo and added the ability to use bilinear-filtering with it. (BearOso) GTK+ : Fixed issues where cheats wouldn't stay enabled. (BearOso) GTK+ : Fixed focus issue when there is no window manager. (BearOso) GTK+ : Fixed X Visual incompatibilities and expose problems in the Xv and OpenGL outputs. (BearOso) GTK+ : Fixed vsync with new X Server and NVIDIA drivers. (BearOso) GTK+ : Added "Reduce input lag" option to OpenGL output. (BearOso) GTK+ : Added a visual indication of the expected video refresh rate for the currently selected sound input rate. (BearOso)
2011-05-02 15:39:40 +02:00
DISTNAME= snes9x-1.53-src
PKGNAME= snes9x-gtk-1.53.81
2014-06-09 16:18:04 +02:00
PKGREVISION= 22
CATEGORIES= emulators
Update to 1.51.70, convert to user-destdir: Changes for version 70 * Changed screensaver disable code again. * Fixed compilation with --with-debugger. * Fixed pane colors in preferences. * Updated French locale. (tukuyomi) Changes for version 69 * Allow compilation of OSS sound driver on *BSD. * Avoid extra round-trips to X server to disable the screensaver. Changes for version 68 * Fixed shared memory leak when using XVideo driver. (kernigh) * Fixed compilation with the --with-debugger flag. * Added a 4:3 aspect ratio option for Maintain Aspect Ratio. * Added several new automatic sizing options to the View menu. * Added an OSS sound driver, and configuration to select which sound drivers to compile in, and which to use from those built in. Changes for version 67 * Modified the screensaver disable to only operate when the game is running. Prevents bizarre keycodes from showing up in preferences. * Added SPC7110 pack directory support. Changes for version 66 * Added a hack to prevent SuperFX snapshot loads from crashing when pointer size isn't 4 bytes. * Changed to string literals in some vararg functions to fix strict compiler errors. (Mandriva PLF) * Changed the --with-debug flag to not strip necessary debugging information. * Readded the patch to the delta file so it can still be used with other Snes9x-based projects. Changes for version 65 * Fixed more paths in configure. * Changed the screensaver disabling code to work with more screensavers/power managers (courtesy of byuu). * Added a hack to check for SiliconMotion drivers reporting invalid masks in Xv. Changes for version 64 * Added a few build fixes for OpenBSD courtesy of Kernigh. Changes for version 63 * Added Tukuyomi's French localization. * Relicensed to LGPL, and added Snes9x license exceptions. See gtk/doc/LICENSE. Changes for version 62 * Added axis emulation for joystick hats.
2009-04-06 12:11:47 +02:00
MASTER_SITES= http://snes9x-gtk.googlecode.com/files/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.snes9x.com/phpbb2/viewtopic.php?p=22874
COMMENT= SNES emulator with GTK frontend
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
Update to 1.53.81: Rebuilt IRQ handling. (zones) Improved overall timings, now Snes9x can handle events in a opcode a little. (zones) Improved screen interlace and sprite interlace supports. (OV2, zones) Fixed Hi-Res pixel plotter. (BearOso, zones, OV2) Fixed C4 for Mega Man X2's "weapon get" screen. (Jonas Quinn) Fixed Super Buster Bros. graphics after reset. (Jonas Quinn) Improved SA-1 support. (zones) Added SA-1 CC2 support. (Jonas Quinn, byuu) Fixed SA-1 NMI override mode. (zones) Fixed Dual Orb 2 sound glitch. (byuu) New APU timing hack, fixes various games that exhibit problems with Blargg's SNES_SPC library. (OV2) Fixed the problem that echo buffer breaks IPL ROM. (zones, OV2) Fixed movie snapshot unfreeze inconsistency. (gocha) Faster config file saving. (OV2) Fixed BlockInvalidVRAMAccess config file option. (windows port, unix port and gtk legacy config) (Jonas Quinn) Remove POSIX dup and access calls, and rename qword to fix compilation with Cell SDK. (BearOso) Fixed PS3 version save state crash by using heap allocation for soundsnapshot. (danieldematteis) Fixed crash relating to double-closed descriptor. (BearOso) Removed CPUShutdown speedhack, DisableHDMA and DisableIRQ options. (zones) Removed remaining outdated asm code. (zones) JMA 64 bit support. (kode54, Nach, friedrich.goepel) GTK+, Win32, Mac: Added optional Hi-Res blending. (BearOso, OV2, zones) GTK+, Win32: Support for bsnes-style XML shaders. (BearOso, OV2) Unix : Fixed segfault and hang-up with -DNOSOUND. (zones) GTK+ : Added ability to set specific folders for SRAM, patches, snapshots, etc. (BearOso) GTK+ : Fixed many permissions issues with config folders. (BearOso) GTK+ : Updated compatibility with latest GTK+ and GtkBuilder. Added experimental support for GTK+ 3.x. (BearOso) GTK+ : Updated software output to use cairo and added the ability to use bilinear-filtering with it. (BearOso) GTK+ : Fixed issues where cheats wouldn't stay enabled. (BearOso) GTK+ : Fixed focus issue when there is no window manager. (BearOso) GTK+ : Fixed X Visual incompatibilities and expose problems in the Xv and OpenGL outputs. (BearOso) GTK+ : Fixed vsync with new X Server and NVIDIA drivers. (BearOso) GTK+ : Added "Reduce input lag" option to OpenGL output. (BearOso) GTK+ : Added a visual indication of the expected video refresh rate for the currently selected sound input rate. (BearOso)
2011-05-02 15:39:40 +02:00
WRKSRC= ${WRKDIR}/${DISTNAME}/gtk
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= intltool msgfmt msgmerge perl pkg-config xgettext
LDFLAGS.SunOS+= -lsocket -lnsl
.include "options.mk"
.if ${MACHINE_ARCH} == "i386"
BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
.endif
.include "../../audio/portaudio-devel/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../graphics/gtkglext/buildlink3.mk"
Update to 1.52.79. GTK port has been integrated into main snes9x version. Snes9x 1.52 - IMPORTANT NOTICE: The structure of savestates (also known as snapshots / freeze files) is incompatible with older versions! Snes9x 1.52 cannot read the savestates created by 1.51 or older. (zones) - Highly acculate SPC700 and S-DSP emulation. (Blargg) - Replaced APU emulation cores (SPC700 and S-DSP) with ones provided by Blargg's SNES_SPC library. This renders savestates incompatible with older versions. (BearOso, zones) - SPC7110 emulation. (byuu, neviksti) - Merged bsnes' SPC7110 emulation code. Note that the .rtc file of Far East of Eden Zero is incompatible with older versions. (zones) - Removed graphics pack support. It's no more necessary. (zones) - Replaced S-RTC emulation code with bsnes' one to keep the good compatibility of .rtc files between the two emulators. As a result, Daikaijuu Monogatari 2 now outputs the .rtc file, and its .srm file is incompatible with older versions. (zones) - Added savestate supports for DSP-2, DSP-4, ST-010 and OBC1. (zones) - Added UPS support. (byuu) - Fixed DSP-4 AI problem. (Jonas Quinn) - Fixed invalid memory accesses in C4 and OBC1 codes. (zones) - Fixed invalid memory accesses in BSX codes. My mistake. (zones) - Fixed the read value of $213e, $4210 and $4211. (zones) - Fixed the writing of word values at the memory boundary. (zones) - Fixed the bug that the unnecessary SA-1 emulation continues once any SA-1 games are launched. (zones) - Removed old color blending codes. (zones) - Removed too-old Snes96 and ZSNES snapshot support. (zones) - Updated command-line options. (zones) - Code cleaning. (zones) - GTK+ : Added a port of Snes9x to the GTK+ toolkit. (BearOso) - Unix : Reconstructed and simplified all the contents. Some features have been removed to be simple, and many options have changed. GTK+ port is recommended for most of Linux users. (zones)
2010-02-05 13:57:27 +01:00
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
Update to 1.51.70, convert to user-destdir: Changes for version 70 * Changed screensaver disable code again. * Fixed compilation with --with-debugger. * Fixed pane colors in preferences. * Updated French locale. (tukuyomi) Changes for version 69 * Allow compilation of OSS sound driver on *BSD. * Avoid extra round-trips to X server to disable the screensaver. Changes for version 68 * Fixed shared memory leak when using XVideo driver. (kernigh) * Fixed compilation with the --with-debugger flag. * Added a 4:3 aspect ratio option for Maintain Aspect Ratio. * Added several new automatic sizing options to the View menu. * Added an OSS sound driver, and configuration to select which sound drivers to compile in, and which to use from those built in. Changes for version 67 * Modified the screensaver disable to only operate when the game is running. Prevents bizarre keycodes from showing up in preferences. * Added SPC7110 pack directory support. Changes for version 66 * Added a hack to prevent SuperFX snapshot loads from crashing when pointer size isn't 4 bytes. * Changed to string literals in some vararg functions to fix strict compiler errors. (Mandriva PLF) * Changed the --with-debug flag to not strip necessary debugging information. * Readded the patch to the delta file so it can still be used with other Snes9x-based projects. Changes for version 65 * Fixed more paths in configure. * Changed the screensaver disabling code to work with more screensavers/power managers (courtesy of byuu). * Added a hack to check for SiliconMotion drivers reporting invalid masks in Xv. Changes for version 64 * Added a few build fixes for OpenBSD courtesy of Kernigh. Changes for version 63 * Added Tukuyomi's French localization. * Relicensed to LGPL, and added Snes9x license exceptions. See gtk/doc/LICENSE. Changes for version 62 * Added axis emulation for joystick hats.
2009-04-06 12:11:47 +02:00
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.10.0
.include "../../x11/gtk2/buildlink3.mk"
Update to 1.51.70, convert to user-destdir: Changes for version 70 * Changed screensaver disable code again. * Fixed compilation with --with-debugger. * Fixed pane colors in preferences. * Updated French locale. (tukuyomi) Changes for version 69 * Allow compilation of OSS sound driver on *BSD. * Avoid extra round-trips to X server to disable the screensaver. Changes for version 68 * Fixed shared memory leak when using XVideo driver. (kernigh) * Fixed compilation with the --with-debugger flag. * Added a 4:3 aspect ratio option for Maintain Aspect Ratio. * Added several new automatic sizing options to the View menu. * Added an OSS sound driver, and configuration to select which sound drivers to compile in, and which to use from those built in. Changes for version 67 * Modified the screensaver disable to only operate when the game is running. Prevents bizarre keycodes from showing up in preferences. * Added SPC7110 pack directory support. Changes for version 66 * Added a hack to prevent SuperFX snapshot loads from crashing when pointer size isn't 4 bytes. * Changed to string literals in some vararg functions to fix strict compiler errors. (Mandriva PLF) * Changed the --with-debug flag to not strip necessary debugging information. * Readded the patch to the delta file so it can still be used with other Snes9x-based projects. Changes for version 65 * Fixed more paths in configure. * Changed the screensaver disabling code to work with more screensavers/power managers (courtesy of byuu). * Added a hack to check for SiliconMotion drivers reporting invalid masks in Xv. Changes for version 64 * Added a few build fixes for OpenBSD courtesy of Kernigh. Changes for version 63 * Added Tukuyomi's French localization. * Relicensed to LGPL, and added Snes9x license exceptions. See gtk/doc/LICENSE. Changes for version 62 * Added axis emulation for joystick hats.
2009-04-06 12:11:47 +02:00
.include "../../x11/libXtst/buildlink3.mk"
Update to 1.53.81: Rebuilt IRQ handling. (zones) Improved overall timings, now Snes9x can handle events in a opcode a little. (zones) Improved screen interlace and sprite interlace supports. (OV2, zones) Fixed Hi-Res pixel plotter. (BearOso, zones, OV2) Fixed C4 for Mega Man X2's "weapon get" screen. (Jonas Quinn) Fixed Super Buster Bros. graphics after reset. (Jonas Quinn) Improved SA-1 support. (zones) Added SA-1 CC2 support. (Jonas Quinn, byuu) Fixed SA-1 NMI override mode. (zones) Fixed Dual Orb 2 sound glitch. (byuu) New APU timing hack, fixes various games that exhibit problems with Blargg's SNES_SPC library. (OV2) Fixed the problem that echo buffer breaks IPL ROM. (zones, OV2) Fixed movie snapshot unfreeze inconsistency. (gocha) Faster config file saving. (OV2) Fixed BlockInvalidVRAMAccess config file option. (windows port, unix port and gtk legacy config) (Jonas Quinn) Remove POSIX dup and access calls, and rename qword to fix compilation with Cell SDK. (BearOso) Fixed PS3 version save state crash by using heap allocation for soundsnapshot. (danieldematteis) Fixed crash relating to double-closed descriptor. (BearOso) Removed CPUShutdown speedhack, DisableHDMA and DisableIRQ options. (zones) Removed remaining outdated asm code. (zones) JMA 64 bit support. (kode54, Nach, friedrich.goepel) GTK+, Win32, Mac: Added optional Hi-Res blending. (BearOso, OV2, zones) GTK+, Win32: Support for bsnes-style XML shaders. (BearOso, OV2) Unix : Fixed segfault and hang-up with -DNOSOUND. (zones) GTK+ : Added ability to set specific folders for SRAM, patches, snapshots, etc. (BearOso) GTK+ : Fixed many permissions issues with config folders. (BearOso) GTK+ : Updated compatibility with latest GTK+ and GtkBuilder. Added experimental support for GTK+ 3.x. (BearOso) GTK+ : Updated software output to use cairo and added the ability to use bilinear-filtering with it. (BearOso) GTK+ : Fixed issues where cheats wouldn't stay enabled. (BearOso) GTK+ : Fixed focus issue when there is no window manager. (BearOso) GTK+ : Fixed X Visual incompatibilities and expose problems in the Xv and OpenGL outputs. (BearOso) GTK+ : Fixed vsync with new X Server and NVIDIA drivers. (BearOso) GTK+ : Added "Reduce input lag" option to OpenGL output. (BearOso) GTK+ : Added a visual indication of the expected video refresh rate for the currently selected sound input rate. (BearOso)
2011-05-02 15:39:40 +02:00
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"