diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-08-31 06:48:44 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-08-31 06:48:44 +0800 |
commit | f8c77f329aff75caa3bc4189ec0714020f40eb86 (patch) | |
tree | aed30f73c9ba4fb62cb9268e412c86f3a76107e6 | |
parent | 2cbf3bcc3b9c8f515a687590b0c81594b7bfbefe (diff) | |
download | freebsd-ports-gnome-f8c77f329aff75caa3bc4189ec0714020f40eb86.tar.gz freebsd-ports-gnome-f8c77f329aff75caa3bc4189ec0714020f40eb86.tar.zst freebsd-ports-gnome-f8c77f329aff75caa3bc4189ec0714020f40eb86.zip |
- Update to 1.4.4 [1]
- OPTIONSify
[1]:
PR: ports/85471
Submitted by: Herbert J. Skuhra <h.skuhra@gmail.com>
-rw-r--r-- | audio/mhwaveedit/Makefile | 67 | ||||
-rw-r--r-- | audio/mhwaveedit/distinfo | 4 |
2 files changed, 43 insertions, 28 deletions
diff --git a/audio/mhwaveedit/Makefile b/audio/mhwaveedit/Makefile index 44ce6b578794..0f456dc6652d 100644 --- a/audio/mhwaveedit/Makefile +++ b/audio/mhwaveedit/Makefile @@ -7,18 +7,13 @@ # PORTNAME= mhwaveedit -PORTVERSION= 1.4.3 +PORTVERSION= 1.4.4 CATEGORIES= audio MASTER_SITES= http://download.gna.org/mhwaveedit/ MAINTAINER= ports@FreeBSD.org COMMENT= A graphical program for editing sound files -BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa -LIB_DEPENDS= samplerate.1:${PORTSDIR}/audio/libsamplerate \ - sndfile.1:${PORTSDIR}/audio/libsndfile \ - portaudio.0:${PORTSDIR}/audio/portaudio - USE_BZIP2= yes USE_GNOME= gnomehack gnometarget gtk20 WANT_GNOME= yes @@ -30,48 +25,68 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ARGS= --disable-optimization --without-alsalib PLIST_FILES= bin/mhwaveedit \ + share/locale/fr/LC_MESSAGES/mhwaveedit.mo \ share/locale/ru/LC_MESSAGES/mhwaveedit.mo \ share/locale/sv/LC_MESSAGES/mhwaveedit.mo +OPTIONS= DOUBLE_SAMPLES "increase quality for 24/32-bit samplerates" off \ + SNDFILE "libsndfile support" on \ + SAMPLERATE "libsamplerate support" on \ + OSS "OSS sound driver" on \ + PORTAUDIO "PortAudio sound driver" off \ + SDL "SDL sound driver" off \ + JACK "JACK sound driver" off \ + ESD "EsounD sound driver" off + .include <bsd.port.pre.mk> .if defined(WITH_DOUBLE_SAMPLES) CONFIGURE_ARGS+= --with-double-samples .endif -.if defined(WITH_JACK) -LIB_DPENDS+= jack:${PORTSDIR}/audio/jack +.if defined(WITH_SNDFILE) +LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile .else -CONFIGURE_ARGS+= --without-jack +CONFIGURE_ARGS+= --without-libsndfile +.endif + +.if defined(WITH_SAMPLERATE) +LIB_DEPENDS+= samplerate.1:${PORTSDIR}/audio/libsamplerate +.else +CONFIGURE_ARGS+= --without-libsamplerate +.endif + +.if defined(WITHOUT_OSS) +CONFIGURE_ARGS+= --without-oss .endif -.if ${HAVE_SDL:Msdl}!="" +.if defined(WITH_PORTAUDIO) +LIB_DEPENDS+= portaudio.0:${PORTSDIR}/audio/portaudio +.else +CONFIGURE_ARGS+= --without-portaudio +.endif + +.if defined(WITH_SDL) USE_SDL+= sdl .else CONFIGURE_ARGS+= --without-sdl .endif -.if ${HAVE_GNOME:Mesound}!="" +.if defined(WITH_JACK) +LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack +.else +CONFIGURE_ARGS+= --without-jack +.endif + +.if defined(WITH_ESD) USE_GNOME+= esound .else CONFIGURE_ARGS+= --without-esound .endif -pre-everything:: - @${ECHO_MSG} "" - @${ECHO_MSG} "mhWaveEdit has the following tunable option:" - @${ECHO_MSG} "" - @${ECHO_MSG} " WITH_DOUBLE_SAMPLES=yes" - @${ECHO_MSG} " Use double precision floating point numbers for sound" - @${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} "" - @${ECHO_MSG} " WITH_GNOME=esound" - @${ECHO_MSG} " Support EsounD driver" - @${ECHO_MSG} "" +.if exists(${LOCALBASE}/include/ladspa.h) +RUN_DEPENDS+= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa +.endif post-patch: @${REINPLACE_CMD} -e 's|^AM_CFLAGS=|#AM_CFLAGS=|g ; \ diff --git a/audio/mhwaveedit/distinfo b/audio/mhwaveedit/distinfo index 34946cfde135..84edd3466c92 100644 --- a/audio/mhwaveedit/distinfo +++ b/audio/mhwaveedit/distinfo @@ -1,2 +1,2 @@ -MD5 (mhwaveedit-1.4.3.tar.bz2) = faa12cb041bf96d1328bc65014ad9635 -SIZE (mhwaveedit-1.4.3.tar.bz2) = 378437 +MD5 (mhwaveedit-1.4.4.tar.bz2) = f0eddfb357ea3c4b90c170c3397f24f5 +SIZE (mhwaveedit-1.4.4.tar.bz2) = 402971 |