summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-01-01 07:43:10 +0000
committerphintuka <phintuka>2008-01-01 07:43:10 +0000
commitdc695eec89c468808cdcd87aae35a3672916d7a8 (patch)
treefaecbd9d40ddb049fa0b7013fbfd12ee531e5e15
parent1d5fc3762fee9b9b7355c320e2c0aa5cd3116229 (diff)
downloadxineliboutput-dc695eec89c468808cdcd87aae35a3672916d7a8.tar.gz
xineliboutput-dc695eec89c468808cdcd87aae35a3672916d7a8.tar.bz2
Don't use pkg-config for xine-lib < 1.2
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 6f847818..61dea712 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
# See the main source file 'xineliboutput.c' for copyright information and
# how to reach the author.
#
-# $Id: Makefile,v 1.26 2007-12-22 20:29:59 phintuka Exp $
+# $Id: Makefile,v 1.27 2008-01-01 07:43:10 phintuka Exp $
#
# The official name of this plugin.
@@ -184,7 +184,7 @@ ifeq ($(XINELIBOUTPUT_FB), 1)
endif
ifeq ($(XINELIBOUTPUT_XINEPLUGIN), 1)
XINEINPUTVDR_SO = $(XINEINPUTVDR)
- XINEPLUGINDIR = $(shell pkg-config libxine --variable=plugindir || xine-config --plugindir)
+ XINEPLUGINDIR = $(shell (pkg-config libxine --atleast-version=1.1.90 && pkg-config libxine --variable=plugindir) || xine-config --plugindir)
XINEPOSTAUTOCROP_SO = $(XINEPOSTAUTOCROP)
XINEPOSTAUDIOCHANNEL_SO = $(XINEPOSTAUDIOCHANNEL)
ifeq ($(ENABLE_TEST_POSTPLUGINS), 1)
@@ -201,7 +201,7 @@ endif
###
INCLUDES += -I$(VDRINCDIR)
-LIBS_XINE += $(shell pkg-config libxine --libs || xine-config --libs)
+LIBS_XINE += $(shell (pkg-config libxine --atleast-version=1.1.90 && pkg-config libxine --libs) || xine-config --libs)
LIBS_X11 += -L/usr/X11R6/lib -lX11 -lXv -lXext
ifeq ($(APPLE_DARWIN), 1)
@@ -224,7 +224,7 @@ endif
#DEFINES += $(shell grep -q 'vidWin' \$(VDRINCDIR)/vdr/osd.h && echo "-DYAEGP_PATCH")
ifeq ($(XINELIBOUTPUT_XINEPLUGIN), 1)
- CFLAGS += $(pkg-config libxine --cflags || shell xine-config --cflags)
+ CFLAGS += $(shell (pkg-config libxine --atleast-version=1.1.90 && pkg-config libxine --cflags) || xine-config --cflags)
endif
ifeq ($(ENABLE_TEST_POSTPLUGINS), 1)