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.


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 00:49:55 -0000
@@ -9,10 +9,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 +30,7 @@ LIB_DEPENDS =         devel/libaudiofile \
                        audio/libmikmod \
                        audio/opus \
                        audio/libmpdclient \
+                       graphics/ffmpeg \
                        net/curl \
                        devel/glib2
 
@@ -39,7 +40,6 @@ FLAVOR ?=
 CONFIGURE_STYLE =      gnu
 CONFIGURE_ARGS +=      --bindir=${PREFIX}/sbin \
                        --disable-alsa \
-                       --disable-ffmpeg \
                        --disable-fluidsynth \
                        --disable-gme \
                        --disable-inotify \
@@ -62,6 +62,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