diff options
author | Christian Wieninger <cwieninger@gmx.de> | 2015-07-15 22:57:39 +0200 |
---|---|---|
committer | Christian Wieninger <cwieninger@gmx.de> | 2015-07-15 22:57:39 +0200 |
commit | 0b09f90f361454d1d422cc750ee84359f11bd378 (patch) | |
tree | 0e0981e964790c765f5106967bf362351bce00ab | |
parent | 58519c44d5a4c395b0fddf092a822e812e33b3b8 (diff) | |
parent | a908daa4c5c6edd6c560ed96939358b4352e9b42 (diff) | |
download | vdr-plugin-epgsearch-0b09f90f361454d1d422cc750ee84359f11bd378.tar.gz vdr-plugin-epgsearch-0b09f90f361454d1d422cc750ee84359f11bd378.tar.bz2 |
Merge branch 'master' of git+ssh://gandalf/srv/git/epgsearch
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | uservars.h | 4 |
2 files changed, 7 insertions, 1 deletions
@@ -63,7 +63,9 @@ VERSION = $(shell grep 'static const char VERSION\[\] *=' $(PLUGIN).c | awk '{ p ### The directory environment: # Use package data if installed...otherwise assume we're under the VDR source directory: -PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc)) +#PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc)) +PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell PKG_CONFIG_PATH="$$PKG_CONFIG_PATH:../../.." pkg-config --variable=$(1) vdr)) + LIBDIR = $(call PKGCFG,libdir) LOCDIR = $(call PKGCFG,locdir) MANDIR = $(call PKGCFG,mandir) @@ -538,7 +538,11 @@ class cVideodirVar : public cInternalVar { cVideodirVar() : cInternalVar("videodir") {} string Evaluate(const cEvent*, bool escapeStrings = false) { +#if APIVERSNUM > 20101 + return cVideoDirectory::Name(); +#else return VideoDirectory; +#endif } }; |