On Thu, Jun 05, 2014 at 01:38:10PM -0500, Nicholas Fleisher wrote:
> > On Wed, Jun 04, 2014 at 08:54:34PM -0400, James Turner wrote:
> >> With the mpd 0.18.10 update m4a playback support went a way for me. In
> >> order to regain m4a playback support in mpd I had to enable ffmpeg
> >> support.
> >> 
> >> With this a number of other formats come along with it. Can others
> >> confirm m4a files are no longer found or play with the current mpd and
> >> that the attached diff brings back said support?
> >> 
> >> Thanks.
> >> 
> >
> > And to clarify a bit, in 0.18 the mp4ff plugin was removed which
> > provided m4a support from audio/faad so it appears ffmpeg is the only
> > option now for m4a support.
> 
> And, can now confirm that the diff brings back m4a support to mpd.  My
> large collection of songs ripped via iTunes in the mid-aughts and I
> thank you!
> 
> This would certainly be a nice thing to have enabled by default / in the 
> package.
> 

Thanks for testing and confirming Nicholas. I forgot to bump the
REVISION in my previous diff so updated diff below.

Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/mpd/Makefile,v
retrieving revision 1.58
diff -u -p -u -p -r1.58 Makefile
--- Makefile    19 May 2014 07:52:07 -0000      1.58
+++ Makefile    5 Jun 2014 23:04:31 -0000
@@ -2,6 +2,7 @@
 
 COMMENT =              Music Player Daemon
 DISTNAME =             mpd-0.18.11
+REVISION =             0
 CATEGORIES =           audio
 HOMEPAGE =             http://www.musicpd.org/
 MAINTAINER =           David Coppa <[email protected]>
@@ -9,10 +10,10 @@ MAINTAINER =         David Coppa <dcoppa@openbs
 # GPLv2+
 PERMIT_PACKAGE_CDROM = Yes
 
-WANTLIB =              FLAC ao audiofile c cdio cdio_cdda cdio_paranoia \
-                       curl glib-2.0 gthread-2.0 id3tag m mad \
-                       mikmod ogg pthread samplerate sndfile sndio \
-                       bz2 mpdclient opus z
+WANTLIB =              FLAC ao audiofile avcodec avformat avutil c \
+                       cdio cdio_cdda cdio_paranoia curl glib-2.0 \
+                       gthread-2.0 id3tag m mad mikmod ogg pthread \
+                       samplerate sndfile sndio bz2 mpdclient opus z
 
 MASTER_SITES =         http://www.musicpd.org/download/mpd/stable/
 
@@ -30,6 +31,7 @@ LIB_DEPENDS =         devel/libaudiofile \
                        audio/libmikmod \
                        audio/opus \
                        audio/libmpdclient \
+                       graphics/ffmpeg \
                        net/curl \
                        devel/glib2
 
@@ -39,7 +41,6 @@ FLAVOR ?=
 CONFIGURE_STYLE =      gnu
 CONFIGURE_ARGS +=      --bindir=${PREFIX}/sbin \
                        --disable-alsa \
-                       --disable-ffmpeg \
                        --disable-fluidsynth \
                        --disable-gme \
                        --disable-inotify \
@@ -62,6 +63,7 @@ CONFIGURE_ARGS +=     --bindir=${PREFIX}/sbi
                        --enable-audiofile \
                        --enable-cdio-paranoia \
                        --enable-curl \
+                       --enable-ffmpeg \
                        --enable-lsr \
                        --enable-mad \
                        --enable-mikmod \

-- 
James Turner

Reply via email to