diff options
| author | root <root@elwms02.(none)> | 2010-04-06 16:13:08 +0200 |
|---|---|---|
| committer | root <root@elwms02.(none)> | 2010-04-06 16:13:08 +0200 |
| commit | 0e7005fcc7483c01aa102fbea358c5ac65a48d62 (patch) | |
| tree | 11517ce0d3d2977c6732b3aa583b0008083e0bd3 /plugins/bitstreamout | |
| download | x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2 | |
hello world
Diffstat (limited to 'plugins/bitstreamout')
| -rw-r--r-- | plugins/bitstreamout/patches/bitstreamout-0.85.diff | 25 | ||||
| -rw-r--r-- | plugins/bitstreamout/plugin.sh | 52 |
2 files changed, 77 insertions, 0 deletions
diff --git a/plugins/bitstreamout/patches/bitstreamout-0.85.diff b/plugins/bitstreamout/patches/bitstreamout-0.85.diff new file mode 100644 index 0000000..91a5ee7 --- /dev/null +++ b/plugins/bitstreamout/patches/bitstreamout-0.85.diff @@ -0,0 +1,25 @@ +diff -Nur bitstreamout-0.85/types.h bitstreamout-0.85-n/types.h +--- bitstreamout-0.85/types.h 2006-02-07 15:31:11.000000000 +0100 ++++ bitstreamout-0.85-n/types.h 2006-11-07 02:30:48.000000000 +0100 +@@ -26,9 +26,9 @@ + #include <sys/mman.h> + #include <asm/types.h> + #include <sys/types.h> +-#if defined(__i386__) || defined(__x86_64__) +-# include <asm/bitops.h> +-#else ++//#if defined(__i386__) || defined(__x86_64__) ++//# include <asm/bitops.h> ++//#else + # define clear_bit(n,addr) (*(addr) &= ~(1 << (n))) + # define set_bit(n,addr) (*(addr) |= (1 << (n))) + # define test_bit(n,addr) (*(addr) & (1 << (n))) +@@ -47,7 +47,7 @@ + clear_bit(n, addr); + return result; + } +-#endif ++//#endif + + #ifndef AARONS_TYPES + #define AARONS_TYPES diff --git a/plugins/bitstreamout/plugin.sh b/plugins/bitstreamout/plugin.sh new file mode 100644 index 0000000..aafa641 --- /dev/null +++ b/plugins/bitstreamout/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 +# 15.05.2008 +# +# vdr-bitstreamout + +# defaults +source ./../../x-vdr.conf +source ./../../setup.conf +source ./../../functions + +WEB="http://downloads.sourceforge.net/bitstreamout/vdr-bitstreamout-0.89c.tar.bz2" +VERSION="bitstreamout-0.89c" +LINK="bitstreamout" + +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 |
