ports/68368: Update port: audio/mhwaveedit to 1.3.0

KATO Tsuguru tkato432 at yahoo.com
Sat Jun 26 15:10:53 UTC 2004


>Number:         68368
>Category:       ports
>Synopsis:       Update port: audio/mhwaveedit to 1.3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 26 15:10:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.3.0

Remove file:
files/patch-src::recorddialog.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/mhwaveedit/Makefile audio/mhwaveedit/Makefile
--- /usr/ports/audio/mhwaveedit/Makefile	Thu Apr 29 08:57:10 2004
+++ audio/mhwaveedit/Makefile	Mon Jun 21 19:43:34 2004
@@ -7,21 +7,23 @@
 #
 
 PORTNAME=	mhwaveedit
-PORTVERSION=	1.2.9
+PORTVERSION=	1.3.0
 CATEGORIES=	audio
 MASTER_SITES=	http://www.mtek.chalmers.se/~hjormagn/
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A graphical program for editing sound files
 
+BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
 LIB_DEPENDS=	sndfile.1:${PORTSDIR}/audio/libsndfile \
 		portaudio.0:${PORTSDIR}/audio/portaudio
 
 USE_GNOME=	gnomehack gnometarget gtk20
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS=	--disable-optimization --without-sdl
+CONFIGURE_ARGS=	--disable-optimization --without-alsalib --without-sdl
 
 PLIST_FILES=	bin/mhwaveedit
 
@@ -29,6 +31,12 @@
 CONFIGURE_ARGS+=	--with-double-samples
 .endif
 
+.if defined(WITH_JACK)
+LIB_DPENDS+=	jack:${PORTSDIR}/audio/jack
+.else
+CONFIGURE_ARGS+=	--without-jack
+.endif
+
 pre-everything::
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "mhWaveEdit has the following tunable option:"
@@ -38,5 +46,11 @@
 	@${ECHO_MSG} "		processing (slows down program but may increase"
 	@${ECHO_MSG} "		quality for 24/32-bit samplerates)"
 	@${ECHO_MSG} ""
+	@${ECHO_MSG} "	WITH_JACK=yes"
+	@${ECHO_MSG} "		Support JACK driver"
+	@${ECHO_MSG} ""
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/configure
 
 .include <bsd.port.mk>
diff -urN /usr/ports/audio/mhwaveedit/distinfo audio/mhwaveedit/distinfo
--- /usr/ports/audio/mhwaveedit/distinfo	Thu Apr 29 08:57:10 2004
+++ audio/mhwaveedit/distinfo	Mon Jun 21 19:25:27 2004
@@ -1,2 +1,2 @@
-MD5 (mhwaveedit-1.2.9.tar.gz) = 94b4caee594a39bb2175dfc36b1287c7
-SIZE (mhwaveedit-1.2.9.tar.gz) = 256750
+MD5 (mhwaveedit-1.3.0.tar.gz) = ea17d4639af5983d2a2b33e343c41fb3
+SIZE (mhwaveedit-1.3.0.tar.gz) = 292965
diff -urN /usr/ports/audio/mhwaveedit/files/patch-src::recorddialog.c audio/mhwaveedit/files/patch-src::recorddialog.c
--- /usr/ports/audio/mhwaveedit/files/patch-src::recorddialog.c	Thu Apr 29 04:59:59 2004
+++ audio/mhwaveedit/files/patch-src::recorddialog.c	Thu Jan  1 09:00:00 1970
@@ -1,12 +0,0 @@
---- src/recorddialog.c.orig	Sat Apr 17 12:41:52 2004
-+++ src/recorddialog.c	Mon Apr 19 19:27:35 2004
-@@ -590,8 +590,7 @@
- void record_dialog_init(RecordDialog *obj)
- {
-      GtkWidget *a,*b,*c,*d,*e;
--GtkAccelGroup* ag;
--ag = gtk_accel_group_new();
-+     GtkAccelGroup* ag = gtk_accel_group_new();
-      GList *l2 = NULL;
-      RecordFormat *rf;
-      guint i;
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list