summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscop <scop>2006-04-18 21:30:10 +0000
committerscop <scop>2006-04-18 21:30:10 +0000
commit93ed3dd4f77d9e0448d4dd0060584ca9cdcf496a (patch)
tree51516b49ee43922b14648576ff552b5e7513a87a
parentb7859723cc0b21249c70c84b0a603e3cdf434bfa (diff)
downloadvdr-plugin-dxr3-93ed3dd4f77d9e0448d4dd0060584ca9cdcf496a.tar.gz
vdr-plugin-dxr3-93ed3dd4f77d9e0448d4dd0060584ca9cdcf496a.tar.bz2
Adapt to VDR 1.3.47.
-rw-r--r--HISTORY2
-rw-r--r--Makefile11
2 files changed, 6 insertions, 7 deletions
diff --git a/HISTORY b/HISTORY
index bcd9192..c913c49 100644
--- a/HISTORY
+++ b/HISTORY
@@ -311,6 +311,6 @@ NOTE: I havent found time to include all of the languages, will be done in pre2
- clean up leftovers from the image grab code removal in 0.2.5 (Ville Skyttä)
- add Czech i18n placeholders (Ville Skyttä)
-- adapt to VDR 1.3.42 (Ville Skyttä)
+- adapt to VDR 1.3.47, which is the oldest supported version now (Ville Skyttä)
- be less noisy about audio mode (non-)changes (Ville Skyttä)
- add work-in-progress AC3 patch to patches/ (Agneau Egare, Ville Skyttä)
diff --git a/Makefile b/Makefile
index 1dd6fbd..93cd715 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile,v 1.1.2.21 2006/01/08 17:58:34 scop Exp $
+# $Id: Makefile,v 1.1.2.22 2006/04/18 21:30:11 scop Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -20,7 +20,6 @@ CXXFLAGS = -O2 -Wall -Woverloaded-virtual
### The directory environment:
-DVBDIR = ../../../DVB
VDRDIR = ../../..
LIBDIR = ../../lib
TMPDIR = /tmp
@@ -31,9 +30,9 @@ EM8300 = /usr/include
-include $(VDRDIR)/Make.config
-### The version number of VDR (taken from VDR's "config.h"):
+### The version number of VDR's plugin API (taken from VDR's "config.h"):
-VDRVERSION = $(shell grep 'define VDRVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
+APIVERSION = $(shell grep 'define APIVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
### The name of the distribution archive:
@@ -42,7 +41,7 @@ PACKAGE = $(shell echo vdr-$(ARCHIVE) | sed -e 's/cvs$$/cvs'`date +%Y%m%d`/)
### Includes and Defines (add further entries here):
-INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include -I$(FFMDIR) -I$(EM8300)
+INCLUDES += -I$(VDRDIR)/include -I$(FFMDIR) -I$(EM8300)
LIBS = -L$(FFMDIR)/libavcodec -lavcodec
DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
DEFINES += -D_GNU_SOURCE
@@ -85,7 +84,7 @@ $(DEPFILE): Makefile
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@
- @cp $@ $(LIBDIR)/$@.$(VDRVERSION)
+ @cp $@ $(LIBDIR)/$@.$(APIVERSION)
dist: clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)