Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  8 Dec 2001 01:17:53 +0800 (CST)
From:      Li-lun Wang (Leland Wang) <llwang@infor.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32582: Update port: audio/tempest_for_eliza
Message-ID:  <20011207171753.E1E7992A9@infor.ck.tp.edu.tw>

next in thread | raw e-mail | index | archive | help

>Number:         32582
>Category:       ports
>Synopsis:       Update port: audio/tempest_for_eliza
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 07 09:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Li-lun Wang (Leland Wang)
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
National Taiwan University
>Environment:
System: FreeBSD Athena.infor.org 4.4-STABLE FreeBSD 4.4-STABLE #0: Mon Dec 3 13:21:32 CST 2001 root@Athena.infor.org:/usr/src/sys/compile/Athena i386


	
>Description:
tempest for eliza is 1.0.5 now. This new version begins to support
playing mp3 (converted to raw actually) with the monitor. It now depends
on amp and sox, and needs sdl12 instead of sdl10. The mp3 playing back
quality is not very good, but it works.

	
>How-To-Repeat:
	
>Fix:
diff -urN tempest_for_eliza.orig/Makefile tempest_for_eliza/Makefile
--- tempest_for_eliza.orig/Makefile	Fri Dec  7 01:26:10 2001
+++ tempest_for_eliza/Makefile	Sat Dec  8 00:21:49 2001
@@ -6,18 +6,25 @@
 #
 
 PORTNAME=       tempest_for_eliza
-PORTVERSION=	1.0.2
+PORTVERSION=	1.0.5
 CATEGORIES=     audio
 MASTER_SITES=   http://www.erikyyy.de/tempest/
 
 MAINTAINER=	greid@FreeBSD.org
 
-LIB_DEPENDS=	SDL-1.0.2:${PORTSDIR}/devel/sdl10
+LIB_DEPENDS=	SDL-1.1.3:${PORTSDIR}/devel/sdl12
+RUN_DEPENDS=	${LOCALBASE}/bin/amp:${PORTSDIR}/audio/amp \
+		${LOCALBASE}/bin/sox:${PORTSDIR}/audio/sox
+
+SDL_CONFIG=	${LOCALBASE}/bin/sdl11-config
 
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 
+CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}"
+
 post-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/mksong.sh ${PREFIX}/bin
 	${MKDIR} ${PREFIX}/share/tempest
 .for S in forelise jonny fruehling saints oldmacdonald ungarian
 	${INSTALL_DATA} ${WRKSRC}/songs/$S ${PREFIX}/share/tempest
diff -urN tempest_for_eliza.orig/distinfo tempest_for_eliza/distinfo
--- tempest_for_eliza.orig/distinfo	Fri Dec  7 01:26:15 2001
+++ tempest_for_eliza/distinfo	Fri Dec  7 01:36:26 2001
@@ -1 +1 @@
-MD5 (tempest_for_eliza-1.0.2.tar.gz) = 470a412adebe7f9cd1f675bcbe5a7004
+MD5 (tempest_for_eliza-1.0.5.tar.gz) = e29c700a7ae15aaaa4c36cbe94e38afc
diff -urN tempest_for_eliza.orig/files/patch-tempest_for_eliza::mp3player.cpp tempest_for_eliza/files/patch-tempest_for_eliza::mp3player.cpp
--- tempest_for_eliza.orig/files/patch-tempest_for_eliza::mp3player.cpp	Thu Jan  1 08:00:00 1970
+++ tempest_for_eliza/files/patch-tempest_for_eliza::mp3player.cpp	Sat Dec  8 00:25:24 2001
@@ -0,0 +1,10 @@
+--- mp3player.cpp.orig	Sat Dec  8 00:24:10 2001
++++ mp3player.cpp	Sat Dec  8 00:24:24 2001
+@@ -182,6 +182,7 @@
+       if (curpos>=audiolength) exit(0);
+     }
+     SDL_SetPalette(screen, SDL_PHYSPAL, colors, 0, 256);
++    SDL_UpdateRect(screen, 0, 0, 0, 0);
+   }
+ 
+   return 0;
diff -urN tempest_for_eliza.orig/pkg-plist tempest_for_eliza/pkg-plist
--- tempest_for_eliza.orig/pkg-plist	Fri Dec  7 02:04:43 2001
+++ tempest_for_eliza/pkg-plist	Fri Dec  7 02:10:42 2001
@@ -1,4 +1,6 @@
+bin/mksong.sh
 bin/tempest_for_eliza
+bin/tempest_for_mp3
 %%PORTDOCS%%share/doc/tempest/README
 share/tempest/forelise
 share/tempest/fruehling

	
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011207171753.E1E7992A9>