diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-08-16 04:17:54 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-08-16 04:17:54 +0000 |
commit | f9f70860622613686e6ac0bf7ebd448f437d92a7 (patch) | |
tree | 40db43350aaee44d072610a008d2f91aeced32c3 | |
parent | a889684acdabb5936813f047439937f842221ce1 (diff) | |
download | mpd-svn/trunk.tar.gz mpd-svn/trunk.tar.xz mpd-svn/trunk.zip |
bs: better support for mp4/faad/aac and wavpack buildssvn/trunk
* 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
-rw-r--r-- | bs/config.mk.default | 2 | ||||
-rw-r--r-- | bs/deps-input.mk | 5 | ||||
-rw-r--r-- | bs/mkconfig.h.mk | 3 | ||||
-rwxr-xr-x | build.mk | 2 |
4 files changed, 8 insertions, 4 deletions
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 @@ -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 |