summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2010-08-08 10:20:28 +0000
committerphintuka <phintuka>2010-08-08 10:20:28 +0000
commit36e4ccadaebc37e6ed4b4d3b4201034c884090be (patch)
treeb76bacc28f1914a2544a08be31a1a0ce38ae93c2
parentdbff1ade9ba36f8dc9e4f044f2838924658e6f0e (diff)
downloadxineliboutput-36e4ccadaebc37e6ed4b4d3b4201034c884090be.tar.gz
xineliboutput-36e4ccadaebc37e6ed4b4d3b4201034c884090be.tar.bz2
demux plugin won't build with xine-lib 1.2, so disable it if xine-lib version >= 1.1.90
-rw-r--r--xine/BluRay/Makefile7
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