]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/vdr
vdr: fix and reenable build on arm.
[ipfire-2.x.git] / lfs / vdr
diff --git a/lfs/vdr b/lfs/vdr
index e98d845f45141f4818a5187140b14ca8157e8cff..af5b92150b1edf2be7264fe83f7acceb384e2c17 100644 (file)
--- a/lfs/vdr
+++ b/lfs/vdr
@@ -35,7 +35,6 @@ DL_FILE4   = vdr-epgsearch-0.9.24.tgz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
-SUP_ARCH   = i586
 PROG       = vdr
 PAK_VER    = 5
 
@@ -90,6 +89,10 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       
+       # Accept also DVB_API_VERSION 5
+       cd $(DIR_APP) && sed -i -e "s|DVB_API_VERSION != 3|& \&\& DVB_API_VERSION != 5|g" dvbdevice.h
+       
        cd $(DIR_APP)/PLUGINS/src && tar zxf $(DIR_DL)/$(DL_FILE1)
        cd $(DIR_APP)/PLUGINS/src && ln -s streamdev-0.3.3-20080325-http streamdev
        cd $(DIR_APP)/PLUGINS/src && tar zxf $(DIR_DL)/$(DL_FILE2)