summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2011-12-15 10:06:37 +0000
committerphintuka <phintuka>2011-12-15 10:06:37 +0000
commitf006032fd8fec64e0ea8015a2b20d4361bfcbb92 (patch)
tree40867ad0bb22175989fdf9b615c28ee000fedd23
parent23d9acb7df0bfb2e5a4704c3583d92d5d0cf2cdd (diff)
downloadxineliboutput-f006032fd8fec64e0ea8015a2b20d4361bfcbb92.tar.gz
xineliboutput-f006032fd8fec64e0ea8015a2b20d4361bfcbb92.tar.bz2
Updated Makefile for xine-lib 1.1.21
-rw-r--r--xine/BluRay/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/xine/BluRay/Makefile b/xine/BluRay/Makefile
index 74e50f0b..b442500b 100644
--- a/xine/BluRay/Makefile
+++ b/xine/BluRay/Makefile
@@ -2,12 +2,22 @@
# select plugins
#
-ENABLE_DEMUX_PLUGIN ?= yes
+ifeq ($(shell pkg-config libxine --atleast-version=1.1.21 || echo "yes"), yes)
+ ENABLE_DEMUX_PLUGIN ?= yes
+else
+ ENABLE_DEMUX_PLUGIN ?= no
+ $(warning demux plugin is included in xine-lib 1.1.21+)
+endif
ifeq ($(shell pkg-config libbluray && echo yes), yes)
- ENABLE_INPUT_PLUGIN ?= yes
- CFLAGS_BD ?= $(shell pkg-config libbluray --cflags)
- LIBS_BD ?= $(shell pkg-config libbluray --libs)
+ ifeq ($(shell pkg-config libxine --atleast-version=1.1.21 || echo "yes"), yes)
+ ENABLE_INPUT_PLUGIN ?= yes
+ CFLAGS_BD ?= $(shell pkg-config libbluray --cflags)
+ LIBS_BD ?= $(shell pkg-config libbluray --libs)
+ else
+ ENABLE_DEMUX_PLUGIN ?= no
+ $(warning input plugin is included in xine-lib 1.1.21+)
+ endif
else
ENABLE_INPUT_PLUGIN ?= no
$(warning libbluray not found)