diff options
Diffstat (limited to 'PLUGINS/src/rcu')
-rw-r--r-- | PLUGINS/src/rcu/HISTORY | 4 | ||||
-rw-r--r-- | PLUGINS/src/rcu/Makefile | 7 | ||||
-rw-r--r-- | PLUGINS/src/rcu/rcu.c | 4 |
3 files changed, 12 insertions, 3 deletions
diff --git a/PLUGINS/src/rcu/HISTORY b/PLUGINS/src/rcu/HISTORY index 87b9413..4d03e49 100644 --- a/PLUGINS/src/rcu/HISTORY +++ b/PLUGINS/src/rcu/HISTORY @@ -8,3 +8,7 @@ VDR Plugin 'rcu' Revision History 2012-03-07: Version 0.0.2 - Added new parameter LiveView to ChannelSwitch(). + +2012-12-27: Version 0.0.3 + +- Adapted Makefile to changes introduced in recent VDR versions. diff --git a/PLUGINS/src/rcu/Makefile b/PLUGINS/src/rcu/Makefile index d1b162a..db0818c 100644 --- a/PLUGINS/src/rcu/Makefile +++ b/PLUGINS/src/rcu/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 1.8 2012/12/23 10:04:15 kls Exp $ +# $Id: Makefile 1.11 2012/12/29 10:29:09 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -18,6 +18,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri # 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)) LIBDIR = $(DESTDIR)$(call PKGCFG,libdir) +PLGCFG = $(call PKGCFG,plgcfg) # TMPDIR ?= /tmp @@ -30,6 +31,10 @@ export CXXFLAGS = $(call PKGCFG,cxxflags) APIVERSION = $(call PKGCFG,apiversion) +### Allow user defined options to overwrite defaults: + +-include $(PLGCFG) + ### The name of the distribution archive: ARCHIVE = $(PLUGIN)-$(VERSION) diff --git a/PLUGINS/src/rcu/rcu.c b/PLUGINS/src/rcu/rcu.c index 79f4612..dab7bba 100644 --- a/PLUGINS/src/rcu/rcu.c +++ b/PLUGINS/src/rcu/rcu.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: rcu.c 1.2 2012/03/07 14:22:44 kls Exp $ + * $Id: rcu.c 1.3 2012/12/27 10:37:31 kls Exp $ */ #include <getopt.h> @@ -16,7 +16,7 @@ #include <vdr/thread.h> #include <vdr/tools.h> -static const char *VERSION = "0.0.2"; +static const char *VERSION = "0.0.3"; static const char *DESCRIPTION = "Remote Control Unit"; #define REPEATLIMIT 150 // ms |