Index: head/audio/dvda-author/Makefile =================================================================== --- head/audio/dvda-author/Makefile (revision 385176) +++ head/audio/dvda-author/Makefile (revision 385177) @@ -1,49 +1,49 @@ # Created by: dieringe@zedat.fu-berlin.de # $FreeBSD$ PORTNAME= dvda-author PORTVERSION= 09.05 -PORTREVISION= 12 +PORTREVISION= 13 PORTEPOCH= 1 CATEGORIES= audio MASTER_SITES= SF/dvd-audio/${PORTNAME}-core/${PORTNAME}-${PORTVERSION}-core DISTNAME= ${PORTNAME}-${PORTVERSION}-7 MAINTAINER= martin.dieringer@gmx.de COMMENT= Author and playback unencrypted and uncompressed Audio-DVDs BROKEN= Fails to fetch LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac \ libogg.so:${PORTSDIR}/audio/libogg \ libsox.so:${PORTSDIR}/audio/sox \ libsamplerate.so:${PORTSDIR}/audio/libsamplerate \ libltdl.so:${PORTSDIR}/devel/libltdl \ libpng.so:${PORTSDIR}/graphics/png WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/FLAC USES= tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-flac=${LOCALBASE}/lib/libFLAC.so \ --with-ogg=${LOCALBASE}/lib/libogg.so \ --enable-glibc USE_CSTD= gnu89 OPTIONS_DEFINE= DOCS .include .if ! ${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+= --docdir=${WRKDIR}/doc .endif post-patch: @${REINPLACE_CMD} 's|-std=c99||g' \ ${WRKSRC}/configure \ ${WRKSRC}/libats2wav/Makefile.in @${REINPLACE_CMD} 's|-std=c99 -O3||' \ ${WRKSRC}/fixwav/src/Makefile.in .include Index: head/audio/sox/files/patch-avcodec54 =================================================================== --- head/audio/sox/files/patch-avcodec54 (revision 385176) +++ head/audio/sox/files/patch-avcodec54 (nonexistent) @@ -1,100 +0,0 @@ -Index: m4/ffmpeg.m4 -=================================================================== ---- m4/ffmpeg.m4.orig -+++ m4/ffmpeg.m4 -@@ -49,7 +49,7 @@ then - LIBS="$LIBS $FFMPEG_LIBS" - have_ffmpeg="no" - AC_CHECK_HEADERS([libavformat/avformat.h ffmpeg/avformat.h], -- [AC_CHECK_LIB(avformat, av_open_input_file, -+ [AC_CHECK_LIB(avformat, avformat_open_input, - [AC_CHECK_HEADERS([libavcodec/avcodec.h ffmpeg/avcodec.h], - [AC_CHECK_LIB(avcodec, avcodec_decode_audio3, have_ffmpeg=yes)])]) - break]) -Index: src/ffmpeg.c -=================================================================== ---- src/ffmpeg.c.orig -+++ src/ffmpeg.c -@@ -92,8 +92,10 @@ static int stream_component_open(priv_t - enc->workaround_bugs = 1; - #if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0) - enc->error_resilience = 1; --#else -+#elif LIBAVCODEC_VERSION_INT < ((54<<16)+(0<<8)+0) - enc->error_recognition = 1; -+#else -+ ic->error_recognition = 1; - #endif - - if (!codec || avcodec_open(enc, codec) < 0) -@@ -157,7 +159,7 @@ static int audio_decode_frame(priv_t * f - static int startread(sox_format_t * ft) - { - priv_t * ffmpeg = (priv_t *)ft->priv; -- AVFormatParameters params; -+ AVDictionary *params; - int ret; - int i; - -@@ -172,7 +174,7 @@ static int startread(sox_format_t * ft) - - /* Open file and get format */ - memset(¶ms, 0, sizeof(params)); -- if ((ret = av_open_input_file(&ffmpeg->ctxt, ft->filename, NULL, 0, ¶ms)) < 0) { -+ if ((ret = avformat_open_input(&ffmpeg->ctxt, ft->filename, NULL, ¶ms)) < 0) { - lsx_fail("ffmpeg cannot open file for reading: %s (code %d)", ft->filename, ret); - return SOX_EOF; - } -@@ -231,7 +233,7 @@ static size_t read_samples(sox_format_t - /* If input buffer empty, read more data */ - if (ffmpeg->audio_buf_index * 2 >= ffmpeg->audio_buf_size) { - if ((ret = av_read_frame(ffmpeg->ctxt, pkt)) < 0 && -- (ret == AVERROR_EOF || url_ferror(ffmpeg->ctxt->pb))) -+ (ret == AVERROR_EOF || ( ffmpeg->ctxt->pb && ffmpeg->ctxt->pb->error))) - break; - ffmpeg->audio_buf_size = audio_decode_frame(ffmpeg, ffmpeg->audio_buf_aligned, AVCODEC_MAX_AUDIO_FRAME_SIZE); - ffmpeg->audio_buf_index = 0; -@@ -373,13 +375,6 @@ static int startwrite(sox_format_t * ft) - return SOX_EOF; - } - -- /* set the output parameters (must be done even if no -- parameters). */ -- if (av_set_parameters(ffmpeg->ctxt, NULL) < 0) { -- lsx_fail("ffmpeg invalid output format parameters"); -- return SOX_EOF; -- } -- - /* Next line for debugging */ - /* dump_format(ffmpeg->ctxt, 0, ft->filename, 1); */ - -@@ -391,14 +386,14 @@ static int startwrite(sox_format_t * ft) - - /* open the output file, if needed */ - if (!(ffmpeg->fmt->flags & AVFMT_NOFILE)) { -- if (url_fopen(&ffmpeg->ctxt->pb, ft->filename, URL_WRONLY) < 0) { -+ if (avio_open(&ffmpeg->ctxt->pb, ft->filename, AVIO_FLAG_WRITE) < 0) { - lsx_fail("ffmpeg could not open `%s'", ft->filename); - return SOX_EOF; - } - } - - /* write the stream header, if any */ -- av_write_header(ffmpeg->ctxt); -+ avformat_write_header(ffmpeg->ctxt, NULL); - - return SOX_SUCCESS; - } -@@ -475,11 +470,7 @@ static int stopwrite(sox_format_t * ft) - - if (!(ffmpeg->fmt->flags & AVFMT_NOFILE)) { - /* close the output file */ --#if (LIBAVFORMAT_VERSION_INT < 0x340000) -- url_fclose(&ffmpeg->ctxt->pb); --#else -- url_fclose(ffmpeg->ctxt->pb); --#endif -+ avio_close(ffmpeg->ctxt->pb); - } - - /* Free the output context */ Property changes on: head/audio/sox/files/patch-avcodec54 ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/sox/files/patch-ffmpeg =================================================================== --- head/audio/sox/files/patch-ffmpeg (revision 385176) +++ head/audio/sox/files/patch-ffmpeg (nonexistent) @@ -1,11 +0,0 @@ ---- src/ffmpeg.h.orig -+++ src/ffmpeg.h -@@ -27,6 +27,8 @@ - #include - #endif - -+#include -+ - #if defined __SUNPRO_C - #pragma enable_warn - #elif defined _MSC_VER Property changes on: head/audio/sox/files/patch-ffmpeg ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/sox/files/patch-libav9 =================================================================== --- head/audio/sox/files/patch-libav9 (revision 385176) +++ head/audio/sox/files/patch-libav9 (nonexistent) @@ -1,39 +0,0 @@ -diff -burN src/ffmpeg.c sox-14.4.0/src/ffmpeg.c ---- src/ffmpeg.c.orig 2012-11-25 21:59:45.990825656 +0100 -+++ src/ffmpeg.c 2012-11-25 22:07:06.436809624 +0100 -@@ -98,7 +98,7 @@ - ic->error_recognition = 1; - #endif - -- if (!codec || avcodec_open(enc, codec) < 0) -+ if (!codec || avcodec_open2(enc, codec, NULL) < 0) - return -1; - if (enc->codec_type != AVMEDIA_TYPE_AUDIO) { - lsx_fail("ffmpeg CODEC %x is not an audio CODEC", enc->codec_type); -@@ -180,7 +180,7 @@ - } - - /* Get CODEC parameters */ -- if ((ret = av_find_stream_info(ffmpeg->ctxt)) < 0) { -+ if ((ret = avformat_find_stream_info(ffmpeg->ctxt, NULL)) < 0) { - lsx_fail("ffmpeg could not find CODEC parameters for %s", ft->filename); - return SOX_EOF; - } -@@ -274,7 +274,7 @@ - AVCodecContext *c; - AVStream *st; - -- st = av_new_stream(oc, 1); -+ st = avformat_new_stream(oc, NULL); - if (!st) { - lsx_fail("ffmpeg could not alloc stream"); - return NULL; -@@ -308,7 +308,7 @@ - } - - /* open it */ -- if (avcodec_open(c, codec) < 0) { -+ if (avcodec_open2(c, codec, NULL) < 0) { - lsx_fail("ffmpeg could not open CODEC"); - return SOX_EOF; - } Property changes on: head/audio/sox/files/patch-libav9 ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/sox/files/patch-Makefile.am =================================================================== --- head/audio/sox/files/patch-Makefile.am (revision 385176) +++ head/audio/sox/files/patch-Makefile.am (nonexistent) @@ -1,14 +0,0 @@ -Work around a ports bug wrt symlinking manpages in different -categories, by copying the manpage instead. - ---- Makefile.am.orig 2013-01-30 11:40:06.000000000 +0900 -+++ Makefile.am 2014-02-08 01:46:11.000000000 +0900 -@@ -118,7 +118,7 @@ - install-data-hook: - cd $(DESTDIR)$(mandir)/man1 && $(RM) play.1 && $(LN_S) sox.1 play.1 - cd $(DESTDIR)$(mandir)/man1 && $(RM) rec.1 && $(LN_S) sox.1 rec.1 -- cd $(DESTDIR)$(mandir)/man7 && $(RM) soxeffect.7 && $(LN_S) ../man1/sox.1 soxeffect.7 -+ cd $(DESTDIR)$(mandir)/man7 && $(RM) soxeffect.7 && cp ../man1/sox.1 soxeffect.7 - - uninstall-hook: - $(RM) $(DESTDIR)$(mandir)/man1/play.1 Property changes on: head/audio/sox/files/patch-Makefile.am ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/sox/files/patch-ffmpeg2 =================================================================== --- head/audio/sox/files/patch-ffmpeg2 (revision 385176) +++ head/audio/sox/files/patch-ffmpeg2 (nonexistent) @@ -1,16 +0,0 @@ -Index: src/ffmpeg.c -=================================================================== ---- src/ffmpeg.c.orig -+++ src/ffmpeg.c -@@ -57,6 +57,11 @@ - #define PKT_FLAG_KEY AV_PKT_FLAG_KEY - #endif - -+#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE -+#define AVCODEC_MAX_AUDIO_FRAME_SIZE (192000 * 4) -+#endif -+ -+ - /* Private data for ffmpeg files */ - typedef struct { - int audio_index; Property changes on: head/audio/sox/files/patch-ffmpeg2 ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/sox/Makefile =================================================================== --- head/audio/sox/Makefile (revision 385176) +++ head/audio/sox/Makefile (revision 385177) @@ -1,106 +1,106 @@ # Created by: torstenb # $FreeBSD$ PORTNAME= sox -PORTVERSION= 14.4.1 -PORTREVISION= 7 +PORTVERSION= 14.4.2 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= dnelson@allantgroup.com COMMENT= SOund eXchange - universal sound sample translator LICENSE= LGPL21 GPLv2 LICENSE_COMB= dual LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl CONFLICTS= play-[0-9]* GNU_CONFIGURE= yes USES= autoreconf pkgconfig libtool USE_LDCONFIG= yes -OPTIONS_DEFINE= ALSA AO AMRNB AMRWB FFMPEG FLAC GSM ID3TAG LADSPA LAME \ - MAD PNG PULSEAUDIO SNDFILE VORBIS WAVPACK -OPTIONS_DEFAULT= AO FFMPEG FLAC GSM ID3TAG MAD PNG SNDFILE VORBIS +OPTIONS_DEFINE= ALSA AO AMRNB AMRWB FLAC GSM ID3TAG LADSPA LAME \ + MAD OPUS PNG PULSEAUDIO SNDFILE TWOLAME VORBIS WAVPACK +OPTIONS_DEFAULT= AO FLAC GSM ID3TAG MAD OPUS PNG SNDFILE VORBIS # Default LAME to off for packages so we don't end up RESTRICTED .if !defined(PACKAGE_BUILDING) OPTIONS_DEFAULT+= LAME .endif AMRNB_DESC= AMR Speech Codec (Narrowband) AMRWB_DESC= AMR Speech Codec (Wideband) GSM_DESC= Use libgsm from ports (else use bundled lib) PNG_DESC= PNG spectrogram creation CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib CONFIGURE_ARGS+= --with-pkgconfigdir="${PREFIX}/libdata/pkgconfig" -CONFIGURE_ARGS+= --with-distro="${CONFIGURE_TARGET} ${PKGNAME}" \ - --with-gsm +CONFIGURE_ARGS+= --with-distro="${CONFIGURE_TARGET} ${PKGNAME}" +CONFIGURE_ARGS+= --with-gsm +CONFIGURE_ARGS+= --disable-stack-protector ALSA_CONFIGURE_WITH= alsa ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins AO_CONFIGURE_WITH= ao AO_LIB_DEPENDS= libao.so:${PORTSDIR}/audio/libao AMRNB_CONFIGURE_WITH= amrnb AMRNB_LIB_DEPENDS= libamrnb.so:${PORTSDIR}/audio/libamrnb AMRWB_CONFIGURE_WITH= amrwb AMRWB_LIB_DEPENDS= libamrwb.so:${PORTSDIR}/audio/libamrwb -FFMPEG_CONFIGURE_WITH= ffmpeg -FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg - VORBIS_CONFIGURE_WITH= oggvorbis VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis SNDFILE_CONFIGURE_WITH= sndfile SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile LADSPA_CONFIGURE_WITH= ladspa LADSPA_RUN_DEPENDS= ${LOCALBASE}/lib/ladspa/filter.so:${PORTSDIR}/audio/ladspa LADSPA_BUILD_DEPENDS= ${LOCALBASE}/lib/ladspa/filter.so:${PORTSDIR}/audio/ladspa LAME_CONFIGURE_WITH= lame LAME_LIB_DEPENDS= libmp3lame.so:${PORTSDIR}/audio/lame FLAC_CONFIGURE_WITH= flac FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac MAD_CONFIGURE_WITH= mad MAD_LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png PULSEAUDIO_CONFIGURE_WITH= pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio GSM_LIB_DEPENDS= libgsm.so:${PORTSDIR}/audio/gsm ID3TAG_CONFIGURE_WITH= id3tag ID3TAG_LIB_DEPENDS= libid3tag.so:${PORTSDIR}/audio/libid3tag WAVPACK_CONFIGURE_WITH= wavpack WAVPACK_LIB_DEPENDS= libwavpack.so:${PORTSDIR}/audio/wavpack +TWOLAME_CONFIGURE_WITH= twolame +TWOLAME_LIB_DEPENDS= libtwolame.so:${PORTSDIR}/audio/twolame + +OPUS_CONFIGURE_WITH= opus +OPUS_LIB_DEPENDS= libopusfile.so:${PORTSDIR}/audio/opusfile + .include .if ! ${PORT_OPTIONS:MGSM} # We cannot ask for gsm to be enabled without it trying to use external gsm, # so force the autoconf checks to fail CONFIGURE_ENV+= ac_cv_header_gsm_h=no ac_cv_header_gsm_gsm_h=no \ ac_cv_lib_gsm_gsm_create=no .endif -post-patch: - @${REINPLACE_CMD} -e 's/ CODEC_ID/ AV_CODEC_ID/g' \ - -e 's/ CodecID/ AVCodecID/g' \ - ${WRKSRC}/src/ffmpeg.c +INSTALL_TARGET= install-strip .include Index: head/audio/sox/distinfo =================================================================== --- head/audio/sox/distinfo (revision 385176) +++ head/audio/sox/distinfo (revision 385177) @@ -1,2 +1,2 @@ -SHA256 (sox-14.4.1.tar.gz) = 9a8c2c6fe51e608da346a157e111508a957af9e3ecf3de26781d36e9a67fa89b -SIZE (sox-14.4.1.tar.gz) = 1111653 +SHA256 (sox-14.4.2.tar.gz) = b45f598643ffbd8e363ff24d61166ccec4836fea6d3888881b8df53e3bb55f6c +SIZE (sox-14.4.2.tar.gz) = 1134299 Index: head/audio/sox/pkg-plist =================================================================== --- head/audio/sox/pkg-plist (revision 385176) +++ head/audio/sox/pkg-plist (revision 385177) @@ -1,17 +1,17 @@ bin/play bin/rec bin/sox bin/soxi include/sox.h lib/libsox.a lib/libsox.so -lib/libsox.so.2 -lib/libsox.so.2.0.1 +lib/libsox.so.3 +lib/libsox.so.3.0.0 man/man1/play.1.gz man/man1/rec.1.gz man/man1/sox.1.gz man/man1/soxi.1.gz man/man3/libsox.3.gz man/man7/soxeffect.7.gz man/man7/soxformat.7.gz libdata/pkgconfig/sox.pc Index: head/multimedia/imagination/Makefile =================================================================== --- head/multimedia/imagination/Makefile (revision 385176) +++ head/multimedia/imagination/Makefile (revision 385177) @@ -1,34 +1,34 @@ # Created by: Jesse # $FreeBSD$ PORTNAME= imagination PORTVERSION= 3.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/ MAINTAINER= jessefrgsmith@yahoo.ca COMMENT= DVD slideshow maker LIB_DEPENDS= libsox.so:${PORTSDIR}/audio/sox \ libavcodec.so:${PORTSDIR}/multimedia/ffmpeg GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib USES= gmake pkgconfig libtool USE_GNOME= gtk20 intltool libxslt INSTALLS_ICONS= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext post-patch: @${REINPLACE_CMD} '/^SUBDIRS =/s/doc//' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} '/^imagination_LDADD =/s/$$/ -lm/' \ ${WRKSRC}/src/Makefile.in .include Index: head/multimedia/mlt/Makefile =================================================================== --- head/multimedia/mlt/Makefile (revision 385176) +++ head/multimedia/mlt/Makefile (revision 385177) @@ -1,138 +1,138 @@ # $FreeBSD$ PORTNAME= mlt PORTVERSION= 0.9.2 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES?= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME} MAINTAINER?= avilla@FreeBSD.org COMMENT?= Multimedia framework for TV broadcasting LICENSE?= GPLv2 GPLv3 LGPL21 LICENSE_COMB?= multi SLAVE_PORT?= no .if ${SLAVE_PORT} == "no" # They both install bin/melt. CONFLICTS_INSTALL= freeze-[0-9]* USE_GNOME= libxml2 USE_SDL= image USES= alias gmake iconv pathfix pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-gpl --enable-gpl3 --target-os=FreeBSD USE_LDCONFIG= yes .ifndef(WITH_DEBUG) CONFIGURE_ARGS+=--disable-debug .else CONFIGURE_ARGS+=--enable-debug .endif PLIST_SUB= PORTVERSION="${PORTVERSION}" PORTDOCS= AUTHORS ChangeLog NEWS README docs PORTEXAMPLES= demo OPTIONS_DEFINE= DOCS EXAMPLES FFMPEG FREI0R GTK2 JACK KDE4 QT4 \ SAMPLERATE SOX SWFDEC VDPAU VIDSTAB OPTIONS_DEFAULT=FFMPEG FREI0R GTK2 QT4 SAMPLERATE SOX SWFDEC VIDSTAB OPTIONS_SUB= yes GTK2_DESC= Images and text rendering via GTK+ 2 KDE4_DESC= Qt extra image formats support QT4_DESC= Kdenlive titles and images support via Qt 4 SOX_DESC= SoX audio effects support VIDSTAB_DESC= Video stabilization support via Vid.Stab FFMPEG_SUFX= # Currently empty. FFMPEG_LIB_DEPENDS= libavformat${FFMPEG_SUFX}.so:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFX} FFMPEG_CONFIGURE_ENABLE=avformat FFMPEG_CONFIGURE_ON= --avformat-suffix="${FFMPEG_SUFX}" FREI0R_BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r FREI0R_CONFIGURE_ENABLE=frei0r GTK2_LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif GTK2_USE= GNOME=gdkpixbuf2,gtk20,pango GTK2_CONFIGURE_ENABLE= gtk2 JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack JACK_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa JACK_CONFIGURE_ENABLE= jackrack KDE4_CONFIGURE_ENV= PATH="${KDE4_PREFIX}/bin:$$PATH" KDE4_CONFIGURE_WITH= kde QT4_LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif QT4_USE= QT4=corelib,gui,opengl,svg,xml QT4_CONFIGURE_ENABLE= qt QT4_CONFIGURE_ON= --qt-libdir="${QT_LIBDIR}" \ --qt-includedir="${QT_INCDIR}" SAMPLERATE_LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate SAMPLERATE_CONFIGURE_ENABLE=resample SOX_LIB_DEPENDS= libsox.so:${PORTSDIR}/audio/sox SOX_CONFIGURE_ENABLE= sox SWFDEC_LIB_DEPENDS= libswfdec-0.8.so:${PORTSDIR}/graphics/swfdec SWFDEC_CONFIGURE_ENABLE=swfdec VDPAU_CONFIGURE_ON= --avformat-vdpau VDPAU_CONFIGURE_OFF= --avformat-no-vdpau VIDSTAB_LIB_DEPENDS= libvidstab.so:${PORTSDIR}/multimedia/vid.stab VIDSTAB_CONFIGURE_ENABLE=vid.stab .include .if ${ARCH} == "sparc64" BROKEN= does not compile on sparc64 (invokes i386 asm) .endif .if ${PORT_OPTIONS:MKDE4} && ${PORT_OPTIONS:MQT4} USE_KDE4+= kdelibs .endif .if ${PORT_OPTIONS:MVDPAU} && ${PORT_OPTIONS:MFFMPEG} USE_XORG+= x11 .endif pre-configure: @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' \ ${WRKSRC}/src/modules/avformat/vdpau.c \ ${WRKSRC}/src/modules/frei0r/factory.c \ ${WRKSRC}/src/modules/jackrack/plugin_mgr.c @${REINPLACE_CMD} -e 's,-lpthread,-pthread,' \ -e 's,-liconv,${ICONV_LIB},' \ ${WRKSRC}/src/framework/Makefile \ ${WRKSRC}/src/melt/Makefile \ ${WRKSRC}/src/modules/*/Makefile @${REINPLACE_CMD} -e 's,$$(libdir)/pkgconfig,${PREFIX}/libdata/pkgconfig,' \ ${WRKSRC}/Makefile post-install: ${INSTALL_MAN} ${WRKSRC}/docs/melt.1 ${STAGEDIR}${MANPREFIX}/man/man1/melt.1 @${RM} -f ${WRKSRC}/docs/melt.1 .if ${PORT_OPTIONS:MDOCS} . for f in ${PORTDOCS} cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${DOCSDIR} . endfor .endif .if ${PORT_OPTIONS:MEXAMPLES} . for f in ${PORTEXAMPLES} cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${EXAMPLESDIR} . endfor .endif ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/melt ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmlt.so.${PORTVERSION} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmlt++.so.${PORTVERSION} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mlt/* .endif # ${SLAVE_PORT} == "no" .include