Index: head/audio/audacity/Makefile =================================================================== --- head/audio/audacity/Makefile (revision 392978) +++ head/audio/audacity/Makefile (revision 392979) @@ -1,133 +1,135 @@ # Created by: Marc van Woerkom <3d@FreeBSD.org> # $FreeBSD$ PORTNAME= audacity PORTVERSION= 2.1.0 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}-minsrc-${PORTVERSION} MAINTAINER= xxjack12xx@gmail.com COMMENT= GUI editor for digital audio waveforms LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile WRKSRC= ${WRKDIR}/${PORTNAME}-minsrc-${PORTVERSION} GNU_CONFIGURE= yes USES= cpe desktop-file-utils gettext gmake pkgconfig shared-mime-info \ tar:xz USE_WX= 2.8 WX_UNICODE= yes WX_COMPS= wx INSTALLS_ICONS= yes PORTDOCS= README.txt OPTIONS_DEFINE= DEBUG DOCS FFMPEG FLAC ID3TAG LADSPA LAME MAD MIDI NYQUIST \ PORTMIXER SBSMS SOUNDTOUCH TWOLAME VAMP VORBIS VST OPTIONS_SINGLE= SAMPLERATED OPTIONS_SINGLE_SAMPLERATED= SAMPLERATE #SOXR OPTIONS_DEFAULT= FFMPEG FLAC ID3TAG LADSPA MAD MIDI NYQUIST \ PORTMIXER SBSMS SOUNDTOUCH SAMPLERATE TWOLAME VAMP VORBIS VST DEBUG_DESC= Enable debug support LAME_DESC= Use lame for import and export support MAD_DESC= Use libmad for mp2/3 decoding support MIDI_DESC= Use portSMF for Midi support NYQUIST_DESC= Nyquist plug-in support SAMPLERATE_DESC= Use libsamplerate for sample rate conversion SAMPLERATED_DESC= Default sample rate conversion support PORTMIXER_DESC= Compile with PortMixer support SBSMS_DESC= Use libsbsms for pitch and tempo changing SOUNDTOUCH_DESC= Use libSoundTouch for pitch and tempo changing #SOXR_DESC= Use libsoxr for sample rate conversion TAGLIB_DESC= Use TagLib for metadata support TWOLAME_DESC= Use libtwolame for MP2 export support VAMP_DESC= Vamp plug-in support VST_DESC= VST plug-in support CONFIGURE_ENV+= WX_CONFIG="${WX_CONFIG}" CONFIGURE_ARGS+= --with-lib-preference="local system" \ --enable-portaudio --enable-unicode .if ${MACHINE_CPU:Msse} CONFIGURE_ARGS+= --enable-sse .else CONFIGURE_ARGS+= --disable-sse .endif DEBUG_CONFIGURE_WITH= debug FFMPEG_CONFIGURE_WITH= ffmpeg -FFMPEG_RUN_DEPENDS= ${LOCALBASE}/bin/ffmpeg:${PORTSDIR}/multimedia/ffmpeg +FFMPEG_RUN_DEPENDS= ${LOCALBASE}/bin/ffmpeg:${PORTSDIR}/multimedia/ffmpeg +FFMPEG_LIB_DEPENDS= libavformat.so:${PORTSDIR}/multimedia/ffmpeg FFMPEG_CFLAGS= -I${LOCALBASE}/include/ffmpeg FFMPEG_CPPFLAGS= -I${LOCALBASE}/include/ffmpeg FFMPEG_CXXFLAGS= -I${LOCALBASE}/include/ffmpeg FLAC_CONFIGURE_WITH= libflac FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac ID3TAG_CONFIGURE_WITH= libid3tag ID3TAG_LIB_DEPENDS= libid3tag.so:${PORTSDIR}/audio/libid3tag JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack LADSPA_CONFIGURE_ENABLE= ladspa LADSPA_RUN_DEPENDS= listplugins:${PORTSDIR}/audio/ladspa MAD_CONFIGURE_WITH= libmad MAD_LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad MIDI_CONFIGURE_WITH= midi LAME_CONFIGURE_WITH= lame LAME_LIB_DEPENDS= libmp3lame.so:${PORTSDIR}/audio/lame NYQUIST_CONFIGURE_ENABLE= nyquist PORTMIXER_CONFIGURE_WITH= portmixer SAMPLERATE_CONFIGURE_WITH= libsamplerate SAMPLERATE_LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate SBSMS_CONFIGURE_WITH= sbsms SOUNDTOUCH_CONFIGURE_WITH= soundtouch SOUNDTOUCH_LIB_DEPENDS= libSoundTouch.so:${PORTSDIR}/audio/soundtouch #SOXR_CONFIGURE_WITH= libsoxr #SOXR_BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake TWOLAME_CONFIGURE_WITH= libtwolame TWOLAME_LIB_DEPENDS= libtwolame.so:${PORTSDIR}/audio/twolame VAMP_CONFIGURE_WITH= libvamp VORBIS_CONFIGURE_WITH= libvorbis VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis VST_CONFIGURE_ENABLE= vst .include LDFLAGS+= -lpthread -L${LOCALBASE}/lib CPPFLAGS+= -I${WRKSRC}/lib-src/portsmf CXXFLAGS+= -I${WRKSRC}/lib-src/portsmf CFLAGS+= -I${WRKSRC}/lib-src/portsmf \ -I${WRKSRC}/lib-src/portaudio-v19/include \ -I${WRKSRC}/lib-src/lame -I${LOCALBASE}/include post-patch: .if ! ${PORT_OPTIONS:MPORTMIXER} @${REINPLACE_CMD} -e 's/ portmixer / /' ${WRKSRC}/lib-src/Makefile.in .endif @${REINPLACE_CMD} -e 's|inline void|static inline void|' ${WRKSRC}/lib-src/libnyquist/nyquist/ffts/src/fftlib.c post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/audio/audacity/files/patch-src_FFmpeg.h =================================================================== --- head/audio/audacity/files/patch-src_FFmpeg.h (nonexistent) +++ head/audio/audacity/files/patch-src_FFmpeg.h (revision 392979) @@ -0,0 +1,29 @@ +--- src/FFmpeg.h.orig 2015-03-02 01:06:57 UTC ++++ src/FFmpeg.h +@@ -688,7 +688,7 @@ extern "C" { + FFMPEG_FUNCTION_WITH_RETURN( + AVOutputFormat*, + av_oformat_next, +- (AVOutputFormat *f), ++ (const AVOutputFormat *f), + (f) + ); + FFMPEG_FUNCTION_WITH_RETURN( +@@ -755,7 +755,7 @@ extern "C" { + FFMPEG_FUNCTION_WITH_RETURN( + int, + av_fifo_size, +- (AVFifoBuffer *f), ++ (const AVFifoBuffer *f), + (f) + ); + FFMPEG_FUNCTION_WITH_RETURN( +@@ -801,7 +801,7 @@ extern "C" { + FFMPEG_FUNCTION_WITH_RETURN( + AVDictionaryEntry *, + av_dict_get, +- (AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags), ++ (const AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags), + (m, key, prev, flags) + ); + FFMPEG_FUNCTION_WITH_RETURN( Property changes on: head/audio/audacity/files/patch-src_FFmpeg.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property