diff --git a/bs/config.mk.default b/bs/config.mk.default index be46f5e78..765cda236 100644 --- a/bs/config.mk.default +++ b/bs/config.mk.default @@ -47,6 +47,8 @@ HAVE_SHOUT := # HAVE_AUDIOFILE := HAVE_FAAD := +HAVE_FAAD_BUFLEN_FUNCS := +HAVE_MP4AUDIOSPECIFICCONFIG := HAVE_FAACDECCONFIGURATION_DONTUPSAMPLEIMPLICITSBR := HAVE_FAACDECCONFIGURATION_DOWNMATRIX := HAVE_FAACDECFRAMEINFO_SAMPLERATE := diff --git a/bs/deps-input.mk b/bs/deps-input.mk index b9f13b471..c45a788b6 100644 --- a/bs/deps-input.mk +++ b/bs/deps-input.mk @@ -41,5 +41,6 @@ ifeq ($(HAVE_OGGVORBIS),1) endif endif - - +ifeq ($(HAVE_WAVPACK),1) + mpd_LDFLAGS += -lwavpack +endif diff --git a/bs/mkconfig.h.mk b/bs/mkconfig.h.mk index 816eb4f2e..8466fb83c 100644 --- a/bs/mkconfig.h.mk +++ b/bs/mkconfig.h.mk @@ -7,6 +7,7 @@ have += FAACDECCONFIGURATION_DONTUPSAMPLEIMPLICITSBR have += FAACDECCONFIGURATION_DOWNMATRIX have += FAACDECFRAMEINFO_SAMPLERATE have += MP4AUDIOSPECIFICCONFIG +have += FAAD_BUFLEN_FUNCS have += FLAC have += HELIXMP3 have += MIKMOD @@ -15,7 +16,7 @@ have += MPCDEC have += OGGFLAC have += OGGVORBIS have += TREMOR - +have += WAVPACK have += ALSA have += AO have += FIFO diff --git a/build.mk b/build.mk index 6962d00c2..a8f46525c 100755 --- a/build.mk +++ b/build.mk @@ -42,7 +42,7 @@ ifneq ($(HOST),$(build)) endif endif -mpd_CFLAGS += -I$(O)/src +mpd_CFLAGS += -I$(O)/src -I$(O) mpd_LDFLAGS += -lm mpd_DIRS := $(O)/src/inputPlugins $(O)/src/audioOutputs