From 1992d5222ff28d13269eb45187351bdef69e3bcd Mon Sep 17 00:00:00 2001 From: Daniel Meyerholt Date: Sun, 6 Feb 2011 16:30:01 +0100 Subject: =?UTF-8?q?*=20patches=20by=20Thomas=20G=C3=BCnther=20=20(stolen=20from=20e-tobi=20deb):=20=20=20-=20maketempdi?= =?UTF-8?q?r=20patch=20to=20create=20temporary=20directory=20=20=20-=20gre?= =?UTF-8?q?ppid2=20patch=20to=20detect=20second=20running=20process=20inst?= =?UTF-8?q?ead=20of=20third=20=20=20-=20fix=20ogm/ac3=20vdrsync=200.1.2.2d?= =?UTF-8?q?ev1=20creates=20bd.mpa,=20not=20bd.ac3=20when=20demuxing=20=20?= =?UTF-8?q?=20-=20preserve=20owner=20of=20queue.vdrrip=20in=20queuehandler?= =?UTF-8?q?.sh=20=20=20-=20fix=20identification=20of=20aspect=20ratio=20(h?= =?UTF-8?q?ttp://vdrportal.de/board/thread.php=3Fthreadid=3D53225=20and=20?= =?UTF-8?q?http://vdrportal.de/board/thread.php=3Fthreadid=3D58775)=20=20?= =?UTF-8?q?=20-=20change=20VDRVERSION=20define=20to=20APIVERSION=20in=20Ma?= =?UTF-8?q?kefile=20=20=20-=20fix=20some=20menus=20for=20vdr>=3D1.3.7=20(f?= =?UTF-8?q?rom=20user=20norad=20at=20vdrportal.de=20and=20thomas)=20*=20pa?= =?UTF-8?q?tch=20by=20Herbert=20Attenberger=20=20?= =?UTF-8?q?and=20user=20micmac=20at=20vdrportal.de=20to=20change=20dvd-par?= =?UTF-8?q?ameter=20to=20-dvd=20if=20the=20mencoder-version=20is=200.XX=20?= =?UTF-8?q?(stolen=20from=20e-tobi=20deb)=20*=20patch=20by=20Stefan=20Wagn?= =?UTF-8?q?er=20to=20change=20mencoder=20parameters=20when=20detecting=20c?= =?UTF-8?q?ropping=20(stolen=20from=20e-tobi=20deb)=20*=20patches=20by=20T?= =?UTF-8?q?obias=20Grimm=20=20(stolen=20from=20e-tobi=20?= =?UTF-8?q?deb)=20=20=20-=20use=20libdvdread's=20NEW=5FIFO=5FREAD=20functi?= =?UTF-8?q?ons=20=20=20-=20fix=20compilation=20for=20gcc4.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 83f9308..e69ef9d 100755 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ TMPDIR = /tmp ### 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') +APIVERSION = $(shell grep 'define APIVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g') ### The name of the distribution archive: @@ -45,7 +45,12 @@ PACKAGE = vdr-$(ARCHIVE) INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include -DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' +DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -D__STDC_LIMIT_MACROS + +NEW_IFO_READ := $(wildcard /usr/include/dvdread/ifo_read.h) +ifneq ($(strip $(NEW_IFO_READ)),) + DEFINES += -DNEW_IFO_READ +endif ### The object files (add further files here): @@ -77,7 +82,7 @@ all: libvdr-$(PLUGIN).so libvdr-$(PLUGIN).so: $(OBJS) $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@ - @cp $@ $(LIBDIR)/$@.$(VDRVERSION) + @cp $@ $(LIBDIR)/$@.$(APIVERSION) dist: clean @-rm -rf $(TMPDIR)/$(ARCHIVE) -- cgit v1.2.3