diff options
author | lofi <lofi@FreeBSD.org> | 2004-12-31 01:42:30 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-12-31 01:42:30 +0800 |
commit | 07c9339e8f8ff8c40c34507a7336c1515c0a34aa (patch) | |
tree | 91a4b4b89954cb4c77dca0cd35c60576270a1e55 /emulators | |
parent | 9e77c8d20d495b279aa1c9a38a8c99f2013ea0ec (diff) | |
download | freebsd-ports-gnome-07c9339e8f8ff8c40c34507a7336c1515c0a34aa.tar.gz freebsd-ports-gnome-07c9339e8f8ff8c40c34507a7336c1515c0a34aa.tar.zst freebsd-ports-gnome-07c9339e8f8ff8c40c34507a7336c1515c0a34aa.zip |
Update emulators/zsnes to 1.40, remove emulators/linux-zsnes.
PR: 75500
Submitted by: maintainer
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/Makefile | 1 | ||||
-rw-r--r-- | emulators/linux-zsnes/Makefile | 44 | ||||
-rw-r--r-- | emulators/linux-zsnes/distinfo | 2 | ||||
-rw-r--r-- | emulators/linux-zsnes/pkg-descr | 13 | ||||
-rw-r--r-- | emulators/zsnes/Makefile | 16 | ||||
-rw-r--r-- | emulators/zsnes/distinfo | 4 | ||||
-rw-r--r-- | emulators/zsnes/files/patch-aa | 20 | ||||
-rw-r--r-- | emulators/zsnes/pkg-message | 14 |
8 files changed, 12 insertions, 102 deletions
diff --git a/emulators/Makefile b/emulators/Makefile index 588ffb7f6462..57b72a7c8d25 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -50,7 +50,6 @@ SUBDIR += linux-vmware-toolbox2 SUBDIR += linux-vmware-toolbox4 SUBDIR += linux-winetools - SUBDIR += linux-zsnes SUBDIR += linux_base SUBDIR += linux_base-6 SUBDIR += linux_base-8 diff --git a/emulators/linux-zsnes/Makefile b/emulators/linux-zsnes/Makefile deleted file mode 100644 index 3703e0de234d..000000000000 --- a/emulators/linux-zsnes/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# New ports collection makefile for: linux-zsnes -# Date created: 22 June 2004 -# Whom: Travis Poppe <tlp@liquidx.org> -# -# $FreeBSD$ -# - -PORTNAME= zsnes -PORTVERSION= 1.36 -CATEGORIES= emulators linux -MASTER_SITES= http://newrpms.sunsite.dk/apt/redhat/en/i386/9.0/RPMS.newrpms/ -PKGNAMEPREFIX= linux- -DISTNAME= ${PORTNAME}-${PORTVERSION}-3.i386 -EXTRACT_SUFX= .rpm -EXTRACT_ONLY= - -MAINTAINER= tlp@liquidx.org -COMMENT= Linux binary version of the x86 only SNES emulator - -EXTRACT_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio -RUN_DEPENDS= ${LINUXBASE}/lib/libc-2.3.2.so:${PORTSDIR}/emulators/linux_base-8 \ - ${LINUXBASE}/usr/X11R6/lib/libXi.so.6:${PORTSDIR}/x11/linux-XFree86-libs \ - ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri \ - ${LINUXBASE}/usr/lib/libpng12.so.0:${PORTSDIR}/graphics/linux-png \ - ${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12 - -ONLY_FOR_ARCHS= i386 -DIST_SUBDIR= rpm -NO_BUILD= yes - -MANCOMPRESSED= yes -MAN1= linux-zsnes.1 -PLIST_FILES= bin/linux-zsnes - -STRIP= - -post-extract: - cd ${WRKDIR}; rpm2cpio.pl ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} | ${CPIO} -id --quiet - -do-install: - ${INSTALL_MAN} ${WRKDIR}/usr/share/man/man1/zsnes.1.gz ${PREFIX}/man/man1/linux-zsnes.1.gz - ${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/zsnes ${PREFIX}/bin/linux-zsnes - -.include <bsd.port.mk> diff --git a/emulators/linux-zsnes/distinfo b/emulators/linux-zsnes/distinfo deleted file mode 100644 index 71c760258bce..000000000000 --- a/emulators/linux-zsnes/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (rpm/zsnes-1.36-3.i386.rpm) = 9c83fe09286477839cc428c3857b8086 -SIZE (rpm/zsnes-1.36-3.i386.rpm) = 474922 diff --git a/emulators/linux-zsnes/pkg-descr b/emulators/linux-zsnes/pkg-descr deleted file mode 100644 index ee64c68f90e3..000000000000 --- a/emulators/linux-zsnes/pkg-descr +++ /dev/null @@ -1,13 +0,0 @@ -An x86 only Super Nintendo Entertainment System (SNES) Emulator, -with higher compatibility rates than snes9x. - -This is the Linux binary version. - -Note: This port exists due to performance issues (sound) with our native -version that remain unfixed. When these issues are fixed, this port should -be removed. - -WWW: http://www.zsnes.com/ - -- Travis Poppe -tlp@liquidx.org diff --git a/emulators/zsnes/Makefile b/emulators/zsnes/Makefile index 53332664069a..d5eed1a390a2 100644 --- a/emulators/zsnes/Makefile +++ b/emulators/zsnes/Makefile @@ -6,8 +6,7 @@ # PORTNAME= zsnes -PORTVERSION= 1.36 -PORTREVISION= 3 +PORTVERSION= 1.40 PORTEPOCH= 1 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -25,18 +24,23 @@ USE_SDL= sdl USE_X_PREFIX= yes USE_GMAKE= yes +CFLAGS+= -I${X11BASE}/include + +WANT_AUTOCONF_VER= 259 +WANT_AUTOMAKE_VER= 15 + MAN1= zsnes.1 PLIST_FILES= bin/zsnes -# non-portable, for a portable version see emulators/snes9x +# non-portable, for a portable emulator see emulators/snes9x ONLY_FOR_ARCHS= i386 -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src +WRKSRC= ${WRKDIR}/${PORTNAME}_1_40/src GNU_CONFIGURE= yes ALL_TARGET= ALL -post-install: - @${CAT} ${PKGMESSAGE} +pre-configure: + cd ${WRKSRC}; ${SH} ${ACLOCAL}; ${SH} ${AUTOCONF} .include <bsd.port.mk> diff --git a/emulators/zsnes/distinfo b/emulators/zsnes/distinfo index 69142034da88..8f56dbc06719 100644 --- a/emulators/zsnes/distinfo +++ b/emulators/zsnes/distinfo @@ -1,2 +1,2 @@ -MD5 (zsnes136src.tar.gz) = 576f6f5cc50c7c6f7877aca220ee99b3 -SIZE (zsnes136src.tar.gz) = 901081 +MD5 (zsnes140src.tar.gz) = 770afa48055722e76574841ca5976126 +SIZE (zsnes140src.tar.gz) = 1062598 diff --git a/emulators/zsnes/files/patch-aa b/emulators/zsnes/files/patch-aa deleted file mode 100644 index a8547a18074d..000000000000 --- a/emulators/zsnes/files/patch-aa +++ /dev/null @@ -1,20 +0,0 @@ ---- linux/sdllink.c.orig Mon May 31 01:15:18 2004 -+++ linux/sdllink.c Mon May 31 01:16:17 2004 -@@ -493,7 +493,7 @@ - int InitSound(void) - { - SDL_AudioSpec wanted; -- const int samptab[7] = { 1, 1, 2, 4, 2, 4, 4 }; -+ const int samptab[7] = { 64, 64, 128, 256, 128, 256, 256 }; - const int freqtab[7] = { 8000, 11025, 22050, 44100, 16000, 32000, 48000 }; - - SDL_CloseAudio(); -@@ -519,7 +519,7 @@ - wanted.channels = 1; - } - -- wanted.samples = samptab[SoundQuality] * 128 * wanted.channels; -+ wanted.samples = samptab[SoundQuality] * 8 * wanted.channels; - wanted.format = AUDIO_S16LSB; - wanted.userdata = NULL; - wanted.callback = UpdateSound; diff --git a/emulators/zsnes/pkg-message b/emulators/zsnes/pkg-message deleted file mode 100644 index 96f64030ce7e..000000000000 --- a/emulators/zsnes/pkg-message +++ /dev/null @@ -1,14 +0,0 @@ -------------------------------------------------------------------------------- -This port revision fixes a sound problem (distortion) many have been -experiencing with ZSNES on FreeBSD. - -With this revision comes a new bug. You will have to restart ZSNES each -time you modify the sound settings within the sound menu for them to work -properly. - -Please let me know if you experience any other problems or if you have -any information regarding this issue! - -- Travis Poppe -tlp@LiquidX.org -------------------------------------------------------------------------------- |