]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
vdr: fix and reenable build on arm.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 28 Sep 2011 18:20:17 +0000 (20:20 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 28 Sep 2011 18:20:17 +0000 (20:20 +0200)
lfs/vdr
lfs/vdr_epgsearch
lfs/vdr_softdevice

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)
index 6b6dff8243a9e734fc8579732b610e7fdd731338..ead59a1524916bd404795892c1e801560ec0bfcb 100644 (file)
@@ -28,7 +28,6 @@ VER        = plugin
 
 THISAPP    = vdr_epgsearch-$(VER)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
-SUP_ARCH   = i586
 PROG       = vdr_epgsearch
 PAK_VER    = 5
 
index dc7f4c91699b2334396aa65fe75806abb9b4669b..c836e2e6dd3a02a06cb82fa58639029f53247446 100644 (file)
@@ -28,7 +28,6 @@ VER        = plugin
 
 THISAPP    = vdr_softdevice-$(VER)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
-SUP_ARCH   = i586
 PROG       = vdr_softdevice
 PAK_VER    = 5