Index: head/audio/aqualung/Makefile =================================================================== --- head/audio/aqualung/Makefile (revision 416938) +++ head/audio/aqualung/Makefile (revision 416939) @@ -1,53 +1,53 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= aqualung PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= portmaster@BSDforge.com COMMENT= Music player with rich features LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libFLAC.so:audio/flac \ libmp3lame.so:audio/lame \ libcddb.so:audio/libcddb \ libmad.so:audio/libmad \ libmodplug.so:audio/libmodplug \ liboggz.so:audio/liboggz \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile \ libvorbis.so:audio/libvorbis \ libmac.so:audio/mac \ libmpcdec.so:audio/musepack \ libspeex.so:audio/speex \ libwavpack.so:audio/wavpack \ libavcodec.so:multimedia/ffmpeg \ libcdio_paranoia.so:sysutils/libcdio-paranoia \ liblrdf.so:textproc/liblrdf USES= gettext localbase lua pkgconfig USE_GNOME= gtk20 libxml2 libxslt GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ifp=no DESKTOP_ENTRIES="Aqualung" "" "${DATADIR}/general.png" "aqualung" \ "Audio;AudioVideo;GTK;" "" OPTIONS_DEFINE= ALSA DOCS JACK PULSEAUDIO ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ON= --with-alsa=yes ALSA_CONFIGURE_OFF= --with-alsa=no JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ON= --with-jack=yes JACK_CONFIGURE_OFF= --with-jack=no PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ON= --with-pulse=yes PULSEAUDIO_CONFIGURE_OFF= --with-pulse=no .include Index: head/audio/aqualung/files/patch-ffmpeg3 =================================================================== --- head/audio/aqualung/files/patch-ffmpeg3 (nonexistent) +++ head/audio/aqualung/files/patch-ffmpeg3 (revision 416939) @@ -0,0 +1,24 @@ +From 3f60efe3dbab8e9d2c07a7b183fd009b3c999d60 Mon Sep 17 00:00:00 2001 +From: Jamie Heilman +Date: Sun, 8 May 2016 19:34:36 +0000 +Subject: [PATCH] ffmpeg/libav: support libavcodec API 55 and later + +With FFmpeg 1.0 and libav 10, AVCodecContext.{get,release}_buffer() +were deprecated; the new default AVCodecContext.get_buffer2() +implementation works fine for us. + +--- src/decoder/dec_lavc.c.orig ++++ src/decoder/dec_lavc.c +@@ -280,10 +280,12 @@ lavc_decoder_open(decoder_t * dec, char * filename) { + return DECODER_OPEN_BADLIB; + + pd->avCodecCtx = pd->avFormatCtx->streams[pd->audioStream]->codec; ++#if LIBAVCODEC_VERSION_MAJOR < 55 + #if LIBAVCODEC_VERSION_MAJOR >= 53 + pd->avCodecCtx->get_buffer = avcodec_default_get_buffer; + pd->avCodecCtx->release_buffer = avcodec_default_release_buffer; + #endif /* LIBAVCODEC_VERSION_MAJOR >= 53 */ ++#endif /* LIBAVCODEC_VERSION_MAJOR < 55 */ + + pd->time_base = pd->avFormatCtx->streams[pd->audioStream]->time_base; + Property changes on: head/audio/aqualung/files/patch-ffmpeg3 ___________________________________________________________________ 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