diff options
| author | phintuka <phintuka> | 2010-02-06 23:40:20 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2010-02-06 23:40:20 +0000 |
| commit | 7a47234e4ed7c1761e4d3478dee2db9779ad79e3 (patch) | |
| tree | fca7b97ed8adf31a252afb77cde605d0f1f23726 | |
| parent | 8e004047c0ac131738a21f94c342821bab05e958 (diff) | |
| download | xineliboutput-7a47234e4ed7c1761e4d3478dee2db9779ad79e3.tar.gz xineliboutput-7a47234e4ed7c1761e4d3478dee2db9779ad79e3.tar.bz2 | |
Build PCM plugin by default only for xine-lib <= 1.1.17
| -rw-r--r-- | xine/BluRay/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/xine/BluRay/Makefile b/xine/BluRay/Makefile index 97f10ca7..861be796 100644 --- a/xine/BluRay/Makefile +++ b/xine/BluRay/Makefile @@ -9,7 +9,6 @@ BLURAY_INC_DIR ?= /usr/src/libbluray/src/ # ENABLE_DEMUX_PLUGIN ?= yes -ENABLE_PCM_PLUGIN ?= yes ifeq ($(shell grep BLURAY $(BLURAY_INC_DIR)/bluray.h > /dev/null && echo yes), yes) ENABLE_INPUT_PLUGIN ?= yes @@ -25,6 +24,13 @@ else $(warning SPU plugin is included in xine-lib 1.1.17+) endif +ifeq ($(shell pkg-config libxine --atleast-version=1.1.17.1 || echo "yes"), yes) + ENABLE_PCM_PLUGIN ?= yes +else + ENABLE_PCM_PLUGIN ?= no + $(warning PCM plugin is included in xine-lib 1.1.17.1+) +endif + # # compiler options # |
