summaryrefslogtreecommitdiff
path: root/plugins/cutalot
diff options
context:
space:
mode:
authorroot <root@elwms02.(none)>2010-04-06 16:13:08 +0200
committerroot <root@elwms02.(none)>2010-04-06 16:13:08 +0200
commit0e7005fcc7483c01aa102fbea358c5ac65a48d62 (patch)
tree11517ce0d3d2977c6732b3aa583b0008083e0bd3 /plugins/cutalot
downloadx-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz
x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2
hello world
Diffstat (limited to 'plugins/cutalot')
-rw-r--r--plugins/cutalot/patches/cutalot-0.0.2a_vdr-1.5.1.diff12
-rw-r--r--plugins/cutalot/plugin.sh52
2 files changed, 64 insertions, 0 deletions
diff --git a/plugins/cutalot/patches/cutalot-0.0.2a_vdr-1.5.1.diff b/plugins/cutalot/patches/cutalot-0.0.2a_vdr-1.5.1.diff
new file mode 100644
index 0000000..cc51158
--- /dev/null
+++ b/plugins/cutalot/patches/cutalot-0.0.2a_vdr-1.5.1.diff
@@ -0,0 +1,12 @@
+diff -ruN cutalot-0.0.2a/cal-mpeg.h cutalot-0.0.2a_vdr-1.5.1/cal-mpeg.h
+--- cutalot-0.0.2a/cal-mpeg.h 2006-09-09 15:32:29.000000000 +0200
++++ cutalot-0.0.2a_vdr-1.5.1/cal-mpeg.h 2007-03-19 13:22:34.000000000 +0100
+@@ -8,7 +8,7 @@
+
+ #include <vdr/tools.h>
+
+-typedef uint64 pts_t;
++typedef uint64_t pts_t;
+
+ #define NO_PTS 8589934592LL
+ #define NO_DTS 8589934592LL
diff --git a/plugins/cutalot/plugin.sh b/plugins/cutalot/plugin.sh
new file mode 100644
index 0000000..8677147
--- /dev/null
+++ b/plugins/cutalot/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
+# 05.05.2008
+#
+# vdr-cutalot
+
+# defaults
+source ./../../x-vdr.conf
+source ./../../setup.conf
+source ./../../functions
+
+WEB="http://vdr-wiki.de/vdr/vdr-cutalot/vdr-cutalot-0.0.2a.tgz"
+VERSION="cutalot-0.0.2a"
+LINK="cutalot"
+
+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