mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Update emulators/zsnes to 1.40, remove emulators/linux-zsnes.
PR: 75500 Submitted by: maintainer
This commit is contained in:
parent
68529f25bf
commit
2a2c94eded
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125539
@ -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
|
||||
|
@ -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>
|
@ -1,2 +0,0 @@
|
||||
MD5 (rpm/zsnes-1.36-3.i386.rpm) = 9c83fe09286477839cc428c3857b8086
|
||||
SIZE (rpm/zsnes-1.36-3.i386.rpm) = 474922
|
@ -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
|
@ -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>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (zsnes136src.tar.gz) = 576f6f5cc50c7c6f7877aca220ee99b3
|
||||
SIZE (zsnes136src.tar.gz) = 901081
|
||||
MD5 (zsnes140src.tar.gz) = 770afa48055722e76574841ca5976126
|
||||
SIZE (zsnes140src.tar.gz) = 1062598
|
||||
|
@ -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;
|
@ -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
|
||||
-------------------------------------------------------------------------------
|
Loading…
Reference in New Issue
Block a user