diff options
| author | Daniel Meyerholt <dxm523@googlemail.com> | 2011-02-06 16:30:01 +0100 |
|---|---|---|
| committer | Daniel Meyerholt <dxm523@googlemail.com> | 2011-02-06 16:30:01 +0100 |
| commit | 1992d5222ff28d13269eb45187351bdef69e3bcd (patch) | |
| tree | 0385aeee88ff45ab942455a1d7929462a048a838 /Makefile | |
| parent | 7ced9f4f634a6123371076fd1fb9ac1d8ec9c0c8 (diff) | |
| download | vdr-plugin-vdrrip-1992d5222ff28d13269eb45187351bdef69e3bcd.tar.gz vdr-plugin-vdrrip-1992d5222ff28d13269eb45187351bdef69e3bcd.tar.bz2 | |
* patches by Thomas Günther <tom@toms-cafe.de> (stolen from e-tobi deb):
- maketempdir patch to create temporary directory
- greppid2 patch to detect second running process instead of third
- fix ogm/ac3 vdrsync 0.1.2.2dev1 creates bd.mpa, not bd.ac3 when demuxing
- preserve owner of queue.vdrrip in queuehandler.sh
- fix identification of aspect ratio (http://vdrportal.de/board/thread.php?threadid=53225 and http://vdrportal.de/board/thread.php?threadid=58775)
- change VDRVERSION define to APIVERSION in Makefile
- fix some menus for vdr>=1.3.7 (from user norad at vdrportal.de and thomas)
* patch by Herbert Attenberger <herbsl at a-land.de> and user micmac at vdrportal.de to change dvd-parameter to -dvd if the mencoder-version is 0.XX (stolen from e-tobi deb)
* patch by Stefan Wagner to change mencoder parameters when detecting cropping (stolen from e-tobi deb)
* patches by Tobias Grimm <etobi@debian.org> (stolen from e-tobi deb)
- use libdvdread's NEW_IFO_READ functions
- fix compilation for gcc4.4
Diffstat (limited to 'Makefile')
| -rwxr-xr-x | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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) |
