aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-10-12 20:34:39 +0800
committerkrion <krion@FreeBSD.org>2004-10-12 20:34:39 +0800
commit16a9854f74686af2f86b699617bdd661be1233bd (patch)
tree4bb40fefb9629e9fc58e3dc664fdea205cac5af4 /audio
parent63b0797faae88c1f733b997f0e905462bd28af64 (diff)
downloadfreebsd-ports-gnome-16a9854f74686af2f86b699617bdd661be1233bd.tar.gz
freebsd-ports-gnome-16a9854f74686af2f86b699617bdd661be1233bd.tar.zst
freebsd-ports-gnome-16a9854f74686af2f86b699617bdd661be1233bd.zip
Update to version 1.3.3
PR: ports/72523 Submitted by: Ports Fury
Diffstat (limited to 'audio')
-rw-r--r--audio/mhwaveedit/Makefile25
-rw-r--r--audio/mhwaveedit/distinfo4
-rw-r--r--audio/mhwaveedit/files/patch-src::gtkfiles.h10
3 files changed, 34 insertions, 5 deletions
diff --git a/audio/mhwaveedit/Makefile b/audio/mhwaveedit/Makefile
index d510d6ac9023..02984f10a715 100644
--- a/audio/mhwaveedit/Makefile
+++ b/audio/mhwaveedit/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= mhwaveedit
-PORTVERSION= 1.3.0
+PORTVERSION= 1.3.3
CATEGORIES= audio
MASTER_SITES= http://www.mtek.chalmers.se/~hjormagn/
@@ -19,14 +19,18 @@ LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \
portaudio.0:${PORTSDIR}/audio/portaudio
USE_GNOME= gnomehack gnometarget gtk20
+WANT_GNOME= yes
+WANT_SDL= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --disable-optimization --without-alsalib --without-sdl
+CONFIGURE_ARGS= --disable-optimization --without-alsalib
PLIST_FILES= bin/mhwaveedit
+.include <bsd.port.pre.mk>
+
.if defined(WITH_DOUBLE_SAMPLES)
CONFIGURE_ARGS+= --with-double-samples
.endif
@@ -37,6 +41,18 @@ LIB_DPENDS+= jack:${PORTSDIR}/audio/jack
CONFIGURE_ARGS+= --without-jack
.endif
+.if ${HAVE_SDL:Msdl}!=""
+USE_SDL+= sdl
+.else
+CONFIGURE_ARGS+= --without-sdl
+.endif
+
+.if ${HAVE_GNOME:Mesound}!=""
+USE_GNOME+= esound
+.else
+CONFIGURE_ARGS+= --without-esound
+.endif
+
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "mhWaveEdit has the following tunable option:"
@@ -49,8 +65,11 @@ pre-everything::
@${ECHO_MSG} " WITH_JACK=yes"
@${ECHO_MSG} " Support JACK driver"
@${ECHO_MSG} ""
+ @${ECHO_MSG} " WITH_GNOME=esound"
+ @${ECHO_MSG} " Support EsounD driver"
+ @${ECHO_MSG} ""
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/audio/mhwaveedit/distinfo b/audio/mhwaveedit/distinfo
index ed8f29120b61..2e27cffdbfef 100644
--- a/audio/mhwaveedit/distinfo
+++ b/audio/mhwaveedit/distinfo
@@ -1,2 +1,2 @@
-MD5 (mhwaveedit-1.3.0.tar.gz) = ea17d4639af5983d2a2b33e343c41fb3
-SIZE (mhwaveedit-1.3.0.tar.gz) = 292965
+MD5 (mhwaveedit-1.3.3.tar.gz) = 6fa2198e0cebdf863beeafba6fcfa29f
+SIZE (mhwaveedit-1.3.3.tar.gz) = 307576
diff --git a/audio/mhwaveedit/files/patch-src::gtkfiles.h b/audio/mhwaveedit/files/patch-src::gtkfiles.h
new file mode 100644
index 000000000000..9c6b0eaff5cb
--- /dev/null
+++ b/audio/mhwaveedit/files/patch-src::gtkfiles.h
@@ -0,0 +1,10 @@
+--- src/gtkfiles.h.orig Wed Sep 15 23:25:47 2004
++++ src/gtkfiles.h Fri Oct 8 21:39:16 2004
+@@ -26,6 +26,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <unistd.h>
+
+ #include <gtk/gtk.h>
+