diff options
-rw-r--r-- | xine/BluRay/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xine/BluRay/Makefile b/xine/BluRay/Makefile index c202c136..6ed1c074 100644 --- a/xine/BluRay/Makefile +++ b/xine/BluRay/Makefile @@ -2,7 +2,12 @@ # select plugins # -ENABLE_DEMUX_PLUGIN ?= yes +ifeq ($(shell pkg-config libxine --atleast-version=1.1.90 || echo "yes"), yes) + ENABLE_DEMUX_PLUGIN ?= yes +else + ENABLE_DEMUX_PLUGIN ?= no + $(warning demux plugin is not compatible with xine-lib-1.2. Track languages are not available.) +endif ifeq ($(shell PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ pkg-config libbluray && echo yes), yes) ENABLE_INPUT_PLUGIN ?= yes |