updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / vdr-burn / 02_projectx.dpatch
bloba85f21132fa95f93a634303ae96f1fa64422b945
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 02_projectx.dpatch by Tobias Grimm <tg@e-tobi.net>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Set paths in vdrburn-dvd.sh to make it work with projectx Debian package.
7 @DPATCH@
8 diff -urNad vdr-plugin-burn-0.0.009+pre21~/vdrburn-dvd.sh vdr-plugin-burn-0.0.009+pre21/vdrburn-dvd.sh
9 --- vdr-plugin-burn-0.0.009+pre21~/vdrburn-dvd.sh 2006-09-23 21:23:06.000000000 +0200
10 +++ vdr-plugin-burn-0.0.009+pre21/vdrburn-dvd.sh 2006-09-23 21:23:45.000000000 +0200
11 @@ -28,14 +28,6 @@
12 # $TEMP_PATH Full path to burn's temp directory (namely the same
13 # as $MPEG_TMP_PATH)
15 -if [ -z $JAVA_HOME ]; then
16 - export JAVA_HOME=/opt/j2re1.4.2
17 -fi
19 -if [ -z $PROJECTX_HOME ]; then
20 - export PROJECTX_HOME=/opt/ProjectX
21 -fi
23 # Some versions of growisofs refuse to start when run with sudo, and may
24 # misdetect this condition if vdr itself is started from a sudo session.
25 unset SUDO_COMMAND
26 @@ -75,8 +67,7 @@
27 CUT="-cut $MPEG_DATA_PATH/px.cut"
30 - $JAVA_HOME/bin/java -Djava.awt.headless=true \
31 - -jar $PROJECTX_HOME/ProjectX.jar \
32 + /usr/bin/projectx \
33 -ini $CONFIG_PATH/ProjectX.ini \
34 $CUT -id $USED_TRACKS,0x1f,0x20 \
35 -demux -out "$MPEG_DATA_PATH" -name vdrsync \