diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2006-03-05 21:01:00 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2006-03-05 21:01:00 +0000 |
commit | ebf27f87a76884f9e3a037ebf31b0718294df0e8 (patch) | |
tree | e07d59347c4ab486d60df8a9a391e5b2802dc25b | |
parent | Marked ~alpha (bug #122726) (diff) | |
download | gentoo-2-ebf27f87a76884f9e3a037ebf31b0718294df0e8.tar.gz gentoo-2-ebf27f87a76884f9e3a037ebf31b0718294df0e8.tar.bz2 gentoo-2-ebf27f87a76884f9e3a037ebf31b0718294df0e8.zip |
import ebuild from gentoo.de CVS; rewritten
(Portage version: 2.0.54)
-rw-r--r-- | media-plugins/vdr-burn/ChangeLog | 11 | ||||
-rw-r--r-- | media-plugins/vdr-burn/Manifest | 8 | ||||
-rw-r--r-- | media-plugins/vdr-burn/files/confd | 62 | ||||
-rw-r--r-- | media-plugins/vdr-burn/files/digest-vdr-burn-0.0.9-r2 | 1 | ||||
-rw-r--r-- | media-plugins/vdr-burn/files/rc-addon.sh | 37 | ||||
-rw-r--r-- | media-plugins/vdr-burn/files/reccmds.burn.conf | 23 | ||||
-rw-r--r-- | media-plugins/vdr-burn/files/vdr-burn-0.0.9-gentoo.diff | 46 | ||||
-rw-r--r-- | media-plugins/vdr-burn/metadata.xml | 14 | ||||
-rw-r--r-- | media-plugins/vdr-burn/vdr-burn-0.0.9-r2.ebuild | 63 |
9 files changed, 265 insertions, 0 deletions
diff --git a/media-plugins/vdr-burn/ChangeLog b/media-plugins/vdr-burn/ChangeLog new file mode 100644 index 000000000000..2754cea3625d --- /dev/null +++ b/media-plugins/vdr-burn/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-plugins/vdr-burn +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/ChangeLog,v 1.1 2006/03/05 21:01:00 hd_brummy Exp $ + +*vdr-burn-0.0.9-r2 (05 Mar 2006) + + 05 Mar 2006; Joerg Bornkessel <hd_brummy@gentoo.org> + +files/vdr-burn-0.0.9-gentoo.diff, +files/confd, +files/rc-addon.sh, + +files/reccmds.burn.conf, +metadata.xml, +vdr-burn-0.0.9-r2.ebuild: + import ebuild from gentoo.de cvs, rewritten + diff --git a/media-plugins/vdr-burn/Manifest b/media-plugins/vdr-burn/Manifest new file mode 100644 index 000000000000..9556e7e7aa22 --- /dev/null +++ b/media-plugins/vdr-burn/Manifest @@ -0,0 +1,8 @@ +MD5 e0b0d10ee38340cd80fcf0346a21fa42 ChangeLog 216 +MD5 9aa12a45fbee48acf8954a22aab33418 files/confd 1541 +MD5 d0dd077979b3a526760828fcf25fbd4e files/digest-vdr-burn-0.0.9-r2 65 +MD5 b9ece90d8594b489ea0a030042565b57 files/rc-addon.sh 757 +MD5 4b9cd5bebdcfd5696d066bf30595978f files/reccmds.burn.conf 1325 +MD5 c8d63e7933a3dcb5b6e95929649a1e6d files/vdr-burn-0.0.9-gentoo.diff 2223 +MD5 55b1019701089e0f02884b2c57055e99 metadata.xml 457 +MD5 721dea7118907a5f6d07d867626db02c vdr-burn-0.0.9-r2.ebuild 1358 diff --git a/media-plugins/vdr-burn/files/confd b/media-plugins/vdr-burn/files/confd new file mode 100644 index 000000000000..42d6a2c52b2e --- /dev/null +++ b/media-plugins/vdr-burn/files/confd @@ -0,0 +1,62 @@ +# Global config file for vdr burn plugin +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/files/confd,v 1.1 2006/03/05 21:01:00 hd_brummy Exp $ + +############## Global config for vdr-burn ######################### +# +# Restart of VDR is needed after some changes + +# Set way to your DVD Writer Drive +# allowed values: directory names +# default: /dev/dvd +#BURN_DVDWRITER="/dev/dvd" + +# Set your tmp DIR where the files will be converted +# ! >= 10 Gb free Disc Space needed +# allowed values: directory names +# default: /var/vdr/video +#BURN_DATADIR="/var/vdr/video" + +# Way to your not burned iso files +# allowed values: directory names +# default: /var/vdr/video/dvd-images +#BURN_ISODIR="/var/vdr/video/dvd-images" + + +# This will create an ISO file _only_ +# allowed values: yes no +# default: no +# This value works only in burn-0.0.5 +# on >=vdr-burn-0.0.9 change this on OSD Menu +#BURN_CREATEONLY_ISO="no" + + +### +#### +##### Next Parameter are only availabel from vdr-burn-0.0.9 up ##### +#### +### + +# Length in minutes of each chapter when DVD without menues is created +# allowed values: time in minutes +# default: 5 +#CHAPTER_LEN="5" + +# Start Command with nice ? If not wished then set NICE="" +# allowed values: nice -n x +# default: nice -n 19 +#NICE="nice -n 19" + +# Use cut function of vdrsync +# allowed value: yes|no +# default: yes +#USE_CUT="yes" + +# Use "tcrequant" or plain "requant" command +# allowed values. yes|no +# default: yes +#USE_TCREQUANT="yes" + +# Use "tcmplex" or "mplex" command +# allowed value: yes|no +# default: no +#USE_TCMPLEX="no" diff --git a/media-plugins/vdr-burn/files/digest-vdr-burn-0.0.9-r2 b/media-plugins/vdr-burn/files/digest-vdr-burn-0.0.9-r2 new file mode 100644 index 000000000000..a6289aae6531 --- /dev/null +++ b/media-plugins/vdr-burn/files/digest-vdr-burn-0.0.9-r2 @@ -0,0 +1 @@ +MD5 77878ca94b4107335797bd4d7ae11dc2 vdr-burn-0.0.009.tgz 422213 diff --git a/media-plugins/vdr-burn/files/rc-addon.sh b/media-plugins/vdr-burn/files/rc-addon.sh new file mode 100644 index 000000000000..05ca745a1e3a --- /dev/null +++ b/media-plugins/vdr-burn/files/rc-addon.sh @@ -0,0 +1,37 @@ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/files/rc-addon.sh,v 1.1 2006/03/05 21:01:00 hd_brummy Exp $ +# +# rc-addon-script for plugin burn +# + +: ${BURN_DVDWRITER:=/dev/dvd} +: ${BURN_DATADIR:=/var/vdr/video} +: ${BURN_ISODIR:=/var/vdr/video/dvd-images} + +plugin_pre_vdr_start() { + +add_plugin_param "-d ${BURN_DATADIR}" + +if [[ ! -f /usr/bin/burnmark.sh ]] ; then + + # works on burn-0.0.5 + if [[ ${BURN_CREATEONLY_ISO:=no} == "yes" ]] ; then + add_plugin_param "-i ${BURN_ISODIR}" + else + add_plugin_param "-D ${BURN_DVDWRITER}" + fi + +else + + # works on >=burn-0.0.9 + add_plugin_param "-i ${BURN_ISODIR}" + add_plugin_param "-D ${BURN_DVDWRITER}" + +fi + +} + +# for compatibility +if [[ ${SCRIPT_API:-1} -lt 2 ]]; then + plugin_pre_vdr_start +fi + diff --git a/media-plugins/vdr-burn/files/reccmds.burn.conf b/media-plugins/vdr-burn/files/reccmds.burn.conf new file mode 100644 index 000000000000..15684f53158a --- /dev/null +++ b/media-plugins/vdr-burn/files/reccmds.burn.conf @@ -0,0 +1,23 @@ +Markiere f�r DVD-Writer : /usr/bin/burnmark.sh -add +L�sche Marke : /usr/bin/burnmark.sh -del +Entferne archivierte Aufzeichnung : /usr/bin/handlearchived.sh -clean +Spiele archivierte Aufzeichnung wieder ein : /usr/bin/handlearchived.sh -restore +L�sche Archivmarkierung : /usr/bin/handlearchived.sh -delmark + +## for english users, plz uncomment next lines +#Mark for DVD-Writer : /usr/bin/burnmark.sh -add +#Delete mark : /usr/bin/burnmark.sh -del +#Clean archived recording : /usr/bin/handlearchived.sh -clean +#Restore archived recording : /usr/bin/handlearchived.sh -restore +#Delete archive mark : /usr/bin/handlearchived.sh -delmark + +## for finish users, plz uncoment next lines +#Lis�� DVD-polttolistalle : /usr/bin/burnmark.sh -add +#Poista DVD-polttolistalta : /usr/bin/burnmark.sh -del +#Siivoa arkistoitu tallenne : /usr/bin/handlearchived.sh -clean +#Palauta arkistoitu tallenne : /usr/bin/handlearchived.sh -restore +#Poista arkistomerkint� : /usr/bin/handlearchived.sh -delmark + +## for italian users, plz uncomment next lines +#BURN - Aggiungi al DVD : /usr/bin/burnmark.sh -add +#BURN - Rimuovi dal DVD : /usr/bin/burnmark.sh -del diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.0.9-gentoo.diff b/media-plugins/vdr-burn/files/vdr-burn-0.0.9-gentoo.diff new file mode 100644 index 000000000000..fa9f32970cb5 --- /dev/null +++ b/media-plugins/vdr-burn/files/vdr-burn-0.0.9-gentoo.diff @@ -0,0 +1,46 @@ +diff -Naur burn-0.0.009.orig/render.c burn-0.0.009/render.c +--- burn-0.0.009.orig/render.c 2006-03-05 16:31:31.330198000 +0100 ++++ burn-0.0.009/render.c 2006-03-05 16:32:24.885545000 +0100 +@@ -27,12 +27,12 @@ + cBurnRender::cBurnRender(void) + { + asprintf(&mBackground, "%s/menu-bg.png", +- cPlugin::ConfigDirectory("burn")); ++ cPlugin::ConfigDirectory("../../../usr/share/vdr/burn")); + asprintf(&mButton, "%s/menu-button.png", +- cPlugin::ConfigDirectory("burn")); ++ cPlugin::ConfigDirectory("../../../usr/share/vdr/burn")); + mFontFace = strdup("helmetr"); + mFontSize = 16; +- mFontPath = strdup(cPlugin::ConfigDirectory("burn")); ++ mFontPath = strdup(cPlugin::ConfigDirectory("../../../usr/share/vdr/burn")); + mJob = NULL; + mRecording = NULL; + } +diff -Naur burn-0.0.009.orig/scripts/vdrburn.sh burn-0.0.009/scripts/vdrburn.sh +--- burn-0.0.009.orig/scripts/vdrburn.sh 2006-03-05 16:31:31.338198500 +0100 ++++ burn-0.0.009/scripts/vdrburn.sh 2006-03-05 16:34:42.974175000 +0100 +@@ -1,7 +1,7 @@ + #!/bin/bash + + # read user customization if any, otherwise use default values +-BURNSETUPCONF=/etc/vdr/plugins/burn/vdrburnscript.conf ++BURNSETUPCONF=/etc/conf.d/vdr.burn + if [ "!" -f "$BURNSETUPCONF" ]; then + echo "" + echo "You could customize '$0'" +@@ -190,12 +190,12 @@ + if [ "$USE_TCMPLEX" == "yes" ]; then + Png2Yuv "$2/menu-bg-$3.png" | + mpeg2enc -q 2 -a 2 -n p -f 8 -v 0 -o "$2/menu-bg-$3.m2v" && +- $TCMPLEX -i "$2/menu-bg-$3.m2v" -p "$4/menu-silence.mp2" -m d -o /dev/stdout | ++ $TCMPLEX -i "$2/menu-bg-$3.m2v" -p "/usr/share/vdr/burn/menu-silence.mp2" -m d -o /dev/stdout | + spumux -v 2 "$2/menu-$3.xml" > "$2/menu-bg-$3.mpg" + else + Png2Yuv "$2/menu-bg-$3.png" | + mpeg2enc -q 2 -a 2 -n p -f 8 -v 0 -o "$2/menu-bg-$3.m2v" && +- mplex -f 8 -vbr -v 0 -o /dev/stdout "$2/menu-bg-$3.m2v" "$4/menu-silence.mp2" | ++ mplex -f 8 -vbr -v 0 -o /dev/stdout "$2/menu-bg-$3.m2v" "/usr/share/vdr/burn/menu-silence.mp2" | + spumux -v 2 "$2/menu-$3.xml" > "$2/menu-bg-$3.mpg" + fi + ;; diff --git a/media-plugins/vdr-burn/metadata.xml b/media-plugins/vdr-burn/metadata.xml new file mode 100644 index 000000000000..bf1671aa13be --- /dev/null +++ b/media-plugins/vdr-burn/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-tv</herd> + <maintainer> + <email>hd_brummy@gentoo.org</email> + <name>Joerg Bornkessel</name> + </maintainer> + <maintainer> + <email>zzam@gentoo.org</email> + <name>Matthias Schwarzott</name> + </maintainer> + <longdescription>VDR plugin to burn DVD's and DVD file structures</longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-burn/vdr-burn-0.0.9-r2.ebuild b/media-plugins/vdr-burn/vdr-burn-0.0.9-r2.ebuild new file mode 100644 index 000000000000..bed3b03dcf37 --- /dev/null +++ b/media-plugins/vdr-burn/vdr-burn-0.0.9-r2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/vdr-burn-0.0.9-r2.ebuild,v 1.1 2006/03/05 21:01:00 hd_brummy Exp $ + +inherit vdr-plugin + +MY_PV="0.0.009" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="DVD Burn Plugin" +HOMEPAGE="http://www.xeatre.de/community/burn" +SRC_URI="http://vdr.unetz.com/download/burn/${MY_P}.tgz" + +KEYWORDS="~x86 ~amd64" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.2.6 + >=media-video/vdrsync-0.1.3_pre1-r5 + >=media-libs/imlib2-1.1.2 + >=media-video/requant-0.0.1 + >=media-video/transcode-0.6.11 + >=media-video/dvdauthor-0.6.10 + >=app-cdr/dvd+rw-tools-5.20 + >=media-video/mjpegtools-1.6.2 + >=media-gfx/imagemagick-6.1.3.2" + +S="${WORKDIR}/burn-${MY_PV}" + +PATCHES="${FILESDIR}/${P}-gentoo.diff" + +src_install() { + vdr-plugin_src_install + + dobin ${S}/scripts/*.sh + + insinto /usr/share/vdr/burn + doins ${S}/burn/{*.png,*.ttf,*.mp2} + + insinto /etc/vdr/reccmds + doins ${FILESDIR}/reccmds.burn.conf +} + +pkg_preinst() { + + if [[ -L ${ROOT}/etc/vdr/plugins/burn ]]; then + einfo "remove unneeded link /etc/vdr/plugins/burn" + einfo "from prior install" + unlink ${ROOT}/etc/vdr/plugins/burn + fi +} + +pkg_postinst() { + vdr-plugin_src_install + + echo + einfo "This ebuild comes only with the standard template" + einfo "'emerge vdr-burn-templates' for more templates" + einfo "To change the templates, use the vdr-image plugin" + echo +} + |