aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2014-06-19 02:51:34 +0800
committerwg <wg@FreeBSD.org>2014-06-19 02:51:34 +0800
commit3ce0fe41232a3cb1b5773143c6755568f98ca878 (patch)
tree16a90d598d7ffd93509eeb8b91c3a69e368066a2 /audio
parent19e0f752500a878358eabdeb5cc17621502d2dae (diff)
downloadfreebsd-ports-gnome-3ce0fe41232a3cb1b5773143c6755568f98ca878.tar.gz
freebsd-ports-gnome-3ce0fe41232a3cb1b5773143c6755568f98ca878.tar.zst
freebsd-ports-gnome-3ce0fe41232a3cb1b5773143c6755568f98ca878.zip
audio/mhwaveedit: update to 1.4.23
- Update to 1.4.23 - Use options ng helpers PR: 191091 Submitted by: tkato432 yahoo com
Diffstat (limited to 'audio')
-rw-r--r--audio/mhwaveedit/Makefile125
-rw-r--r--audio/mhwaveedit/distinfo4
2 files changed, 36 insertions, 93 deletions
diff --git a/audio/mhwaveedit/Makefile b/audio/mhwaveedit/Makefile
index 2337636ed14d..6301316632ee 100644
--- a/audio/mhwaveedit/Makefile
+++ b/audio/mhwaveedit/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mhwaveedit
-PORTVERSION= 1.4.22
+PORTVERSION= 1.4.23
CATEGORIES= audio
MASTER_SITES= http://download.gna.org/mhwaveedit/
@@ -11,18 +11,17 @@ COMMENT= Graphical program for editing sound files
LICENSE= GPLv2
-USES= tar:bzip2 pkgconfig pathfix
+USES= pathfix pkgconfig tar:bzip2
USE_GNOME= gtk20
-WANT_GNOME= yes
-WANT_SDL= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --without-alsalib --without-arts
+
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ARGS= --disable-optimization --without-alsalib \
- --without-arts
PLIST_FILES= bin/mhwaveedit \
man/man1/mhwaveedit.1.gz \
+ share/applications/mhwaveedit.desktop \
share/locale/de/LC_MESSAGES/mhwaveedit.mo \
share/locale/es/LC_MESSAGES/mhwaveedit.mo \
share/locale/fr/LC_MESSAGES/mhwaveedit.mo \
@@ -31,94 +30,38 @@ PLIST_FILES= bin/mhwaveedit \
share/locale/ru/LC_MESSAGES/mhwaveedit.mo \
share/locale/sv/LC_MESSAGES/mhwaveedit.mo \
share/locale/zh_CN/LC_MESSAGES/mhwaveedit.mo \
- share/applications/mhwaveedit.desktop \
share/pixmaps/mhwaveedit.xpm
-OPTIONS_DEFINE= DOUBLE_SAMPLES SNDFILE SAMPLERATE OSS \
- PORTAUDIO SDL JACK \
- ESD PULSEAUDIO LADSPA
-
-DOUBLE_SAMPLES_DESC= increase quality for 24/32-bit samplerates
-SNDFILE_DESC= libsndfile support
-SAMPLERATE_DESC= libsamplerate support
-OSS_DESC= OSS sound driver
-PORTAUDIO_DESC= PortAudio sound driver
-SDL_DESC= SDL sound driver
-JACK_DESC= JACK sound driver
-ESD_DESC= EsounD sound driver
-PULSEAUDIO_DESC= PULSEAUDIO support
-LADSPA_DESC= LADSPA support
-
-OPTIONS_DEFAULT=SNDFILE SAMPLERATE OSS
-
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= Does not compile on sparc64
-.endif
-
-.if ${PORT_OPTIONS:MDOUBLE_SAMPLES}
-CONFIGURE_ARGS+= --with-double-samples
-.endif
-
-.if empty(PORT_OPTIONS:MSNDFILE)
-CONFIGURE_ARGS+= --without-libsndfile
-.else
-LIB_DEPENDS+= libsndfile.so:${PORTSDIR}/audio/libsndfile
-.endif
-
-.if empty(PORT_OPTIONS:MSAMPLERATE)
-CONFIGURE_ARGS+= --without-libsamplerate
-.else
-LIB_DEPENDS+= libsamplerate.so:${PORTSDIR}/audio/libsamplerate
-.endif
-
-.if empty(PORT_OPTIONS:MOSS)
-CONFIGURE_ARGS+= --without-oss
-.endif
-
-.if ${PORT_OPTIONS:MPORTAUDIO}
-LIB_DEPENDS+= libportaudio.so:${PORTSDIR}/audio/portaudio
-.else
-CONFIGURE_ARGS+= --without-portaudio
-.endif
-
-.if ${PORT_OPTIONS:MSDL}
-USE_SDL+= sdl
-.else
-CONFIGURE_ARGS+= --without-sdl
-.endif
-
-.if ${PORT_OPTIONS:MJACK}
-LIB_DEPENDS+= libjack.so:${PORTSDIR}/audio/jack
-.else
-CONFIGURE_ARGS+= --without-jack
-.endif
-
-.if ${PORT_OPTIONS:MESD}
-USE_GNOME+= esound
-.else
-CONFIGURE_ARGS+= --without-esound
-.endif
-
-.if ${PORT_OPTIONS:MPULSEAUDIO}
-LIBS_DEPENDS+= libpulse.so:${PORTSDIR}/audio/pulseaudio
-CONFIGURE_ARGS+= --with-pulse
-.else
-CONFIGURE_ARGS+= --without-pulse
-.endif
-
-.if ${PORT_OPTIONS:MLADSPA}
-BUILD_DEPENDS+= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
-RUN_DEPENDS+= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
-.else
-CONFIGURE_ENV+= ac_cv_header_ladspa_h=no
-.endif
-
-post-extract:
- @${CHMOD} +x ${WRKSRC}/install-sh
+BROKEN_sparc64= Does not compile on sparc64
+
+OPTIONS_DEFINE= DOUBLE_SAMPLES ESOUND JACK LADSPA OSS PORTAUDIO \
+ PULSEAUDIO SAMPLERATE SDL SNDFILE
+OPTIONS_DEFAULT= OSS SAMPLERATE SNDFILE
+
+DOUBLE_SAMPLES_DESC= Increase quality for 24/32-bit samplerates
+DOUBLE_SAMPLES_CONFIGURE_WITH= double-samples
+ESOUND_USE= gnome=esound
+ESOUND_CONFIGURE_WITH= esound
+JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack
+JACK_CONFIGURE_WITH= jack
+LADSPA_BUILD_DEPENDS= ladspa>0:${PORTSDIR}/audio/ladspa
+LADSPA_RUN_DEPENDS= ladspa>0:${PORTSDIR}/audio/ladspa
+LADSPA_CONFIGURE_ENV_OFF= ac_cv_header_ladspa_h=no
+OSS_CONFIGURE_WITH= oss
+PORTAUDIO_LIB_DEPENDS= libportaudio.so:${PORTSDIR}/audio/portaudio
+PORTAUDIO_CONFIGURE_WITH= portaudio
+PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
+PULSEAUDIO_CONFIGURE_WITH= pulse
+SAMPLERATE_LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate
+SAMPLERATE_CONFIGURE_WITH= libsamplerate
+SDL_USE= sdl=sdl
+SDL_CONFIGURE_WITH= sdl
+SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile
+SNDFILE_CONFIGURE_WITH= libsndfile
post-patch:
- @${REINPLACE_CMD} -e '/AM_CFLAGS=/s|-g||g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ '/^Icon/s|=.*|=${PREFIX}/share/pixmaps/mhwaveedit.xpm|' \
+ ${WRKSRC}/share/applications/mhwaveedit.desktop
.include <bsd.port.mk>
diff --git a/audio/mhwaveedit/distinfo b/audio/mhwaveedit/distinfo
index 63e44801ab7b..71cbcdcb164f 100644
--- a/audio/mhwaveedit/distinfo
+++ b/audio/mhwaveedit/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mhwaveedit-1.4.22.tar.bz2) = 0f7a5510ac6a3aca6df2295f66d77e8fc4af9caba2f261b6778104b14ce19a3c
-SIZE (mhwaveedit-1.4.22.tar.bz2) = 640430
+SHA256 (mhwaveedit-1.4.23.tar.bz2) = 2352175b63092fda786ca26095b2f6ff6d257a6fcfb18401213a0c932b991904
+SIZE (mhwaveedit-1.4.23.tar.bz2) = 642042