emulators/fuse: modernize port

- Update WWW to match actual website
- Convert to USES=localbase
- Regenerate patches with 'make makepatch'
- Bump PORTREVISION
This commit is contained in:
Rene Ladan 2015-11-09 21:31:51 +00:00
parent 02548092cb
commit 050e5524ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401178
4 changed files with 11 additions and 13 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= fuse PORTNAME= fuse
PORTVERSION= 1.1.1 PORTVERSION= 1.1.1
PORTREVISION= 8 PORTREVISION= 9
CATEGORIES= emulators CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME}-emulator/${PORTNAME}/${PORTVERSION} MASTER_SITES= SF/${PORTNAME}-emulator/${PORTNAME}/${PORTVERSION}
@ -17,12 +17,10 @@ LIB_DEPENDS= libspectrum.so:${PORTSDIR}/emulators/libspectrum \
libgcrypt.so:${PORTSDIR}/security/libgcrypt libgcrypt.so:${PORTSDIR}/security/libgcrypt
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USES= pkgconfig gmake USES= gmake localbase pkgconfig
USE_GNOME= libxml2 glib20 USE_GNOME= libxml2 glib20
CONFIGURE_ARGS+=--without-alsa --without-joystick CONFIGURE_ARGS+=--without-alsa --without-joystick
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= AO ICONS ROMS OPTIONS_DEFINE= AO ICONS ROMS
OPTIONS_DEFAULT= ICONS GTK2 OPTIONS_DEFAULT= ICONS GTK2

View file

@ -1,6 +1,6 @@
--- sound/aosound.c.orig 2013-05-16 22:26:12.000000000 +0200 --- sound/aosound.c.orig 2013-05-16 20:26:12 UTC
+++ sound/aosound.c 2013-11-09 22:31:16.000000000 +0100 +++ sound/aosound.c
@@ -78,14 +78,14 @@ @@ -78,14 +78,14 @@ driver_error( void )
} }
} }
@ -17,7 +17,7 @@
mutable = utils_safe_strdup( device ); mutable = utils_safe_strdup( device );
@@ -119,6 +119,7 @@ @@ -119,6 +119,7 @@ parse_driver_options( const char *device
} }
free( mutable ); free( mutable );

View file

@ -1,6 +1,6 @@
--- sound/sdlsound.c.orig 2013-05-16 22:26:12.000000000 +0200 --- sound/sdlsound.c.orig 2013-05-16 20:26:12 UTC
+++ sound/sdlsound.c 2013-11-09 22:33:21.000000000 +0100 +++ sound/sdlsound.c
@@ -94,7 +94,9 @@ @@ -94,7 +94,9 @@ sound_lowlevel_init( const char *device,
speed to about 2000% on my Mac, 100Hz allows up to 5000% for me) */ speed to about 2000% on my Mac, 100Hz allows up to 5000% for me) */
if( hz > 100.0 ) hz = 100.0; if( hz > 100.0 ) hz = 100.0;
sound_framesiz = *freqptr / hz; sound_framesiz = *freqptr / hz;
@ -11,7 +11,7 @@
if ( SDL_OpenAudio( &requested, &received ) < 0 ) { if ( SDL_OpenAudio( &requested, &received ) < 0 ) {
settings_current.sound = 0; settings_current.sound = 0;
@@ -112,7 +114,9 @@ @@ -112,7 +114,9 @@ sound_lowlevel_init( const char *device,
requested.freq = *freqptr; requested.freq = *freqptr;
sound_framesiz = *freqptr / hz; sound_framesiz = *freqptr / hz;

View file

@ -4,4 +4,4 @@ loading from .tzx files, has sound and kempston joystick emulation,
and emulates various printers you could attach to the Spectrum. and emulates various printers you could attach to the Spectrum.
It supports the new RZX input recording file format. It supports the new RZX input recording file format.
WWW: http://www.srcf.ucam.org/~pak21/spectrum/fuse.html WWW: http://fuse-emulator.sourceforge.net