Kristian Pj Koivisto wrote: > Lauri Tischler wrote: > > >>Great, it even works with vdr-1.4, only Makefile changes >>are necessary, patching of vdr is not needed. > > > Any chance of a diff for the Makefile? --- Makefile 2004-06-17 08:33:40.000000000 +0300 +++ /root/VDR/PLUGINS/src/dvd/Makefile 2006-05-02 21:22:53.000000000 +0300 @@ -21,7 +21,7 @@ ### The directory environment: -DVBDIR = ../../../../DVB +##DVBDIR = ../../../../DVB VDRDIR = ../../.. LIBDIR = ../../lib TMPDIR = /tmp @@ -33,7 +33,9 @@ ### The version number of VDR (taken from VDR's "config.h"): -VDRVERSION = $(shell grep 'define VDRVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g') +## VDRVERSION = $(shell grep 'define VDRVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g') +APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h) + ### The name of the distribution archive: @@ -90,7 +92,7 @@ libvdr-$(PLUGIN).so: $(OBJS) retain-sym $(CXX) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@ - @cp $@ $(LIBDIR)/$@.$(VDRVERSION) + @cp $@ $(LIBDIR)/$@.$(APIVERSION) dist: clean @-rm -rf $(TMPDIR)/$(ARCHIVE)