aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-01-05 21:46:32 +0100
committerMax Kellermann <max@duempel.org>2010-01-06 08:50:52 +0100
commit030e61115c9dcc804a5441329a9aef2ac9c3619b (patch)
treef764f5b1fa8d8d5684ac80689c8537ee0e05f88d /Makefile.am
parentd6d5caae23f5b452a3d2de9f576d0137bbc472e3 (diff)
downloadmpd-030e61115c9dcc804a5441329a9aef2ac9c3619b.tar.gz
mpd-030e61115c9dcc804a5441329a9aef2ac9c3619b.tar.xz
mpd-030e61115c9dcc804a5441329a9aef2ac9c3619b.zip
playlist: added a FLAC playlist plugin
This playlist plugin handles FLAC files with embedded CUE sheets.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 5e8a6b4d9..c84362c0d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -162,6 +162,7 @@ mpd_headers = \
src/playlist/asx_playlist_plugin.h \
src/playlist/lastfm_playlist_plugin.h \
src/playlist/cue_playlist_plugin.h \
+ src/playlist/flac_playlist_plugin.h \
src/poison.h \
src/riff.h \
src/aiff.h \
@@ -720,6 +721,10 @@ if HAVE_CUE
PLAYLIST_SRC += src/playlist/cue_playlist_plugin.c
endif
+if HAVE_FLAC
+PLAYLIST_SRC += src/playlist/flac_playlist_plugin.c
+endif
+
#
# Filter plugins
@@ -799,10 +804,12 @@ test_run_input_SOURCES = test/run_input.c \
test_dump_playlist_CPPFLAGS = $(AM_CPPFLAGS) \
$(CUE_CFLAGS) \
+ $(patsubst -I%/FLAC,-I%,$(FLAC_CFLAGS)) \
$(ARCHIVE_CFLAGS) \
$(INPUT_CFLAGS)
test_dump_playlist_LDADD = $(MPD_LIBS) \
$(CUE_LIBS) \
+ $(FLAC_LIBS) \
$(ARCHIVE_LIBS) \
$(INPUT_LIBS) \
$(GLIB_LIBS)
@@ -820,6 +827,12 @@ if HAVE_CUE
test_dump_playlist_SOURCES += src/cue/cue_tag.c
endif
+if HAVE_FLAC
+test_dump_playlist_SOURCES += \
+ src/replay_gain_info.c \
+ src/decoder/flac_metadata.c
+endif
+
test_run_decoder_CPPFLAGS = $(AM_CPPFLAGS) \
$(TAG_CFLAGS) \
$(ARCHIVE_CFLAGS) \