diff options
Diffstat (limited to 'plugins/undelete')
| -rw-r--r-- | plugins/undelete/patches/undelete-0.0.6-vdr-1.5.7.diff | 14 | ||||
| -rw-r--r-- | plugins/undelete/plugin.sh | 52 |
2 files changed, 66 insertions, 0 deletions
diff --git a/plugins/undelete/patches/undelete-0.0.6-vdr-1.5.7.diff b/plugins/undelete/patches/undelete-0.0.6-vdr-1.5.7.diff new file mode 100644 index 0000000..91f69f6 --- /dev/null +++ b/plugins/undelete/patches/undelete-0.0.6-vdr-1.5.7.diff @@ -0,0 +1,14 @@ +--- undelete-0.0.6/undelete.c.orig 2007-08-13 06:46:16.000000000 -0700 ++++ undelete-0.0.6/undelete.c 2007-08-13 06:59:10.000000000 -0700 +@@ -198,7 +198,11 @@ + private: + // Add any member variables or functions you may need here. + void FreeKeyNames(void); ++#if VDRVERSNUM >= 10507 ++ char* OSDLanguage; ++#else + int OSDLanguage; ++#endif + void TestAndSetOSDLanguage(void); + bool ProcessArg(int argc, char *argv[]); + #ifdef UND_Debug diff --git a/plugins/undelete/plugin.sh b/plugins/undelete/plugin.sh new file mode 100644 index 0000000..67abf49 --- /dev/null +++ b/plugins/undelete/plugin.sh @@ -0,0 +1,52 @@ +#!/bin/sh + +# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis) +# von Marc Wernecke - www.zulu-entertainment.de +# 02.03.2009 +# +# vdr-undelete + +# defaults +source ./../../x-vdr.conf +source ./../../setup.conf +source ./../../functions + +WEB="http://www.zulu-entertainment.de/files/vdr-undelete/vdr-undelete-0.0.6.tgz" +VERSION="undelete-0.0.6" +LINK="undelete" + +VAR=`basename $WEB` +DIR=`pwd` + +# plugin entfernen +function clean_plugin() { + cd $SOURCEDIR/VDR/PLUGINS/src + rm -rf $LINK* + rm -f $VDRLIBDIR/libvdr-$LINK* + log "cleaning $LINK" +} + +# plugin installieren +function install_plugin() { + download_plugin + extract_plugin + cd $SOURCEDIR/VDR/PLUGINS/src + rm -f $LINK + ln -vfs $VERSION $LINK + patch_plugin + + ## plugin specials - start ## + + ## plugin specials - ende ## +} + +# plugin commands +if [ $# \> 0 ]; then + cmd=$1 + cmd_plugin +else + install_plugin + log "install-plugin fuer $VERSION ist fertig" +fi + +exit 0 |
