From f9f70860622613686e6ac0bf7ebd448f437d92a7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 16 Aug 2008 04:17:54 +0000 Subject: bs: better support for mp4/faad/aac and wavpack builds * Correctly define the following CPP directives: HAVE_FAAD_BUFLEN_FUNCS HAVE_MP4AUDIOSPECIFICCONFIG * link against libwavpack correctly in bs * fix include path for the mpd config.h for mp4ff git-svn-id: https://svn.musicpd.org/mpd/trunk@7399 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- bs/config.mk.default | 2 ++ bs/deps-input.mk | 5 +++-- bs/mkconfig.h.mk | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) (limited to 'bs') 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 -- cgit v1.2.3