1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

audio/mhwaveedit: update to 1.4.23

- Update to 1.4.23
- Use options ng helpers

PR:		191091
Submitted by:	tkato432 yahoo com
This commit is contained in:
William Grzybowski 2014-06-18 18:51:34 +00:00
parent a6b41e88ec
commit caf6f2df99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358299
2 changed files with 34 additions and 91 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= mhwaveedit PORTNAME= mhwaveedit
PORTVERSION= 1.4.22 PORTVERSION= 1.4.23
CATEGORIES= audio CATEGORIES= audio
MASTER_SITES= http://download.gna.org/mhwaveedit/ MASTER_SITES= http://download.gna.org/mhwaveedit/
@ -11,18 +11,17 @@ COMMENT= Graphical program for editing sound files
LICENSE= GPLv2 LICENSE= GPLv2
USES= tar:bzip2 pkgconfig pathfix USES= pathfix pkgconfig tar:bzip2
USE_GNOME= gtk20 USE_GNOME= gtk20
WANT_GNOME= yes
WANT_SDL= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-alsalib --without-arts
CPPFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-optimization --without-alsalib \
--without-arts
PLIST_FILES= bin/mhwaveedit \ PLIST_FILES= bin/mhwaveedit \
man/man1/mhwaveedit.1.gz \ man/man1/mhwaveedit.1.gz \
share/applications/mhwaveedit.desktop \
share/locale/de/LC_MESSAGES/mhwaveedit.mo \ share/locale/de/LC_MESSAGES/mhwaveedit.mo \
share/locale/es/LC_MESSAGES/mhwaveedit.mo \ share/locale/es/LC_MESSAGES/mhwaveedit.mo \
share/locale/fr/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/ru/LC_MESSAGES/mhwaveedit.mo \
share/locale/sv/LC_MESSAGES/mhwaveedit.mo \ share/locale/sv/LC_MESSAGES/mhwaveedit.mo \
share/locale/zh_CN/LC_MESSAGES/mhwaveedit.mo \ share/locale/zh_CN/LC_MESSAGES/mhwaveedit.mo \
share/applications/mhwaveedit.desktop \
share/pixmaps/mhwaveedit.xpm share/pixmaps/mhwaveedit.xpm
OPTIONS_DEFINE= DOUBLE_SAMPLES SNDFILE SAMPLERATE OSS \ BROKEN_sparc64= Does not compile on sparc64
PORTAUDIO SDL JACK \
ESD PULSEAUDIO LADSPA
DOUBLE_SAMPLES_DESC= increase quality for 24/32-bit samplerates OPTIONS_DEFINE= DOUBLE_SAMPLES ESOUND JACK LADSPA OSS PORTAUDIO \
SNDFILE_DESC= libsndfile support PULSEAUDIO SAMPLERATE SDL SNDFILE
SAMPLERATE_DESC= libsamplerate support OPTIONS_DEFAULT= OSS SAMPLERATE SNDFILE
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 DOUBLE_SAMPLES_DESC= Increase quality for 24/32-bit samplerates
DOUBLE_SAMPLES_CONFIGURE_WITH= double-samples
.include <bsd.port.options.mk> ESOUND_USE= gnome=esound
ESOUND_CONFIGURE_WITH= esound
.if ${ARCH} == "sparc64" JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack
BROKEN= Does not compile on sparc64 JACK_CONFIGURE_WITH= jack
.endif LADSPA_BUILD_DEPENDS= ladspa>0:${PORTSDIR}/audio/ladspa
LADSPA_RUN_DEPENDS= ladspa>0:${PORTSDIR}/audio/ladspa
.if ${PORT_OPTIONS:MDOUBLE_SAMPLES} LADSPA_CONFIGURE_ENV_OFF= ac_cv_header_ladspa_h=no
CONFIGURE_ARGS+= --with-double-samples OSS_CONFIGURE_WITH= oss
.endif PORTAUDIO_LIB_DEPENDS= libportaudio.so:${PORTSDIR}/audio/portaudio
PORTAUDIO_CONFIGURE_WITH= portaudio
.if empty(PORT_OPTIONS:MSNDFILE) PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
CONFIGURE_ARGS+= --without-libsndfile PULSEAUDIO_CONFIGURE_WITH= pulse
.else SAMPLERATE_LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate
LIB_DEPENDS+= libsndfile.so:${PORTSDIR}/audio/libsndfile SAMPLERATE_CONFIGURE_WITH= libsamplerate
.endif SDL_USE= sdl=sdl
SDL_CONFIGURE_WITH= sdl
.if empty(PORT_OPTIONS:MSAMPLERATE) SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile
CONFIGURE_ARGS+= --without-libsamplerate SNDFILE_CONFIGURE_WITH= libsndfile
.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
post-patch: 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> .include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (mhwaveedit-1.4.22.tar.bz2) = 0f7a5510ac6a3aca6df2295f66d77e8fc4af9caba2f261b6778104b14ce19a3c SHA256 (mhwaveedit-1.4.23.tar.bz2) = 2352175b63092fda786ca26095b2f6ff6d257a6fcfb18401213a0c932b991904
SIZE (mhwaveedit-1.4.22.tar.bz2) = 640430 SIZE (mhwaveedit-1.4.23.tar.bz2) = 642042