summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-plugins/vdr-burn/ChangeLog11
-rw-r--r--media-plugins/vdr-burn/Manifest33
-rw-r--r--media-plugins/vdr-burn/files/0.1.0_pre21/charset-vdr-1.5.diff20
-rw-r--r--media-plugins/vdr-burn/files/0.1.0_pre21/requantfactor.diff15
-rw-r--r--media-plugins/vdr-burn/files/0.1.0_pre21/series8
-rw-r--r--media-plugins/vdr-burn/files/digest-vdr-burn-0.1.0_pre21-r33
-rw-r--r--media-plugins/vdr-burn/vdr-burn-0.1.0_pre21-r3.ebuild128
7 files changed, 210 insertions, 8 deletions
diff --git a/media-plugins/vdr-burn/ChangeLog b/media-plugins/vdr-burn/ChangeLog
index 94ff5f895084..c45c2a3d10a0 100644
--- a/media-plugins/vdr-burn/ChangeLog
+++ b/media-plugins/vdr-burn/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for media-plugins/vdr-burn
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/ChangeLog,v 1.23 2007/05/22 17:40:56 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/ChangeLog,v 1.24 2007/06/30 17:19:43 zzam Exp $
+
+*vdr-burn-0.1.0_pre21-r3 (30 Jun 2007)
+
+ 30 Jun 2007; Matthias Schwarzott <zzam@gentoo.org>
+ +files/0.1.0_pre21/requantfactor.diff,
+ +files/0.1.0_pre21/charset-vdr-1.5.diff, +files/0.1.0_pre21/series,
+ +vdr-burn-0.1.0_pre21-r3.ebuild:
+ Corrected calculation of requant factor. Added patch to get correct charset
+ for vdr-1.5.
22 May 2007; Matthias Schwarzott <zzam@gentoo.org>
files/0.1.0_pre21/rc-addon.sh:
diff --git a/media-plugins/vdr-burn/Manifest b/media-plugins/vdr-burn/Manifest
index 6954d21c62b4..c2a367983849 100644
--- a/media-plugins/vdr-burn/Manifest
+++ b/media-plugins/vdr-burn/Manifest
@@ -1,6 +1,10 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX 0.1.0_pre21/charset-vdr-1.5.diff 517 RMD160 b7ae6632050b62bd132d4c36beb7377d3e1a02d9 SHA1 25a0297f4167274fd3016f007c153043f1d7fcf7 SHA256 71f6871b026d50eea98d54f46a7262dc357682796eab7b4ef44d4d700d951cbe
+MD5 a03e85c9fa5a76dda4619392266e4d30 files/0.1.0_pre21/charset-vdr-1.5.diff 517
+RMD160 b7ae6632050b62bd132d4c36beb7377d3e1a02d9 files/0.1.0_pre21/charset-vdr-1.5.diff 517
+SHA256 71f6871b026d50eea98d54f46a7262dc357682796eab7b4ef44d4d700d951cbe files/0.1.0_pre21/charset-vdr-1.5.diff 517
AUX 0.1.0_pre21/confd 739 RMD160 f260dddcd9806e00baa09790e31e4accd3259f20 SHA1 1eb4fd5cb403a3edc407bf549f39a547bee18200 SHA256 81dc2df24b8658230f38af8055e5aab7dbf284390f21e091463721370c074d2c
MD5 bf4311537cbf67efd7ad84538a9bee37 files/0.1.0_pre21/confd 739
RMD160 f260dddcd9806e00baa09790e31e4accd3259f20 files/0.1.0_pre21/confd 739
@@ -21,6 +25,14 @@ AUX 0.1.0_pre21/rc-addon.sh 551 RMD160 faedf35c86b3d761b8a5604012ffa054d4d3ce58
MD5 0089e4fa0759a1a3b5805520d3f5000a files/0.1.0_pre21/rc-addon.sh 551
RMD160 faedf35c86b3d761b8a5604012ffa054d4d3ce58 files/0.1.0_pre21/rc-addon.sh 551
SHA256 6628e002fb5df33e61635a1e77ade611baf16d86a67c1e199f4d5cb849f12ac5 files/0.1.0_pre21/rc-addon.sh 551
+AUX 0.1.0_pre21/requantfactor.diff 691 RMD160 6fbe6ab9c7329562f23675823f64cc97e9192a27 SHA1 0fd8a4b88f07191b561607f9c0f9792abb5933ff SHA256 dbd168033ef4623d5ce97fb307a1ed19c4dee23cfc71f4cd2ca9c83812f6cbca
+MD5 9839c3581fd34656ba5e0a6ace9c11dd files/0.1.0_pre21/requantfactor.diff 691
+RMD160 6fbe6ab9c7329562f23675823f64cc97e9192a27 files/0.1.0_pre21/requantfactor.diff 691
+SHA256 dbd168033ef4623d5ce97fb307a1ed19c4dee23cfc71f4cd2ca9c83812f6cbca files/0.1.0_pre21/requantfactor.diff 691
+AUX 0.1.0_pre21/series 167 RMD160 cbe8bf45bc394e0530d74c460193fe8cbe49b66d SHA1 e9e32d8d0af7c281bd9f5f4156124cbfb34525cd SHA256 25bc18f3c98ae72661cc030f480472960864a56a99560a9f065ff19798d1974a
+MD5 ddd6fb72e510becb87d3b0938bff1445 files/0.1.0_pre21/series 167
+RMD160 cbe8bf45bc394e0530d74c460193fe8cbe49b66d files/0.1.0_pre21/series 167
+SHA256 25bc18f3c98ae72661cc030f480472960864a56a99560a9f065ff19798d1974a files/0.1.0_pre21/series 167
AUX 0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff 1847 RMD160 2870491be90fc6143a1fd02e89e1605a776c84b8 SHA1 320eec0a457ce544f8c0ffb894fd8f8e744b62a9 SHA256 3b0e233e26ef2b057d9dcff88e5c4cff6091e7d9e3853de6333dca65636dc972
MD5 49f221e838eb6e87a4ed574214c65543 files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff 1847
RMD160 2870491be90fc6143a1fd02e89e1605a776c84b8 files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff 1847
@@ -67,10 +79,14 @@ EBUILD vdr-burn-0.1.0_pre21-r2.ebuild 3334 RMD160 41cf3acf5b6a2036e28400a466bf9e
MD5 0fdd275ca81e9e1866546049484caca5 vdr-burn-0.1.0_pre21-r2.ebuild 3334
RMD160 41cf3acf5b6a2036e28400a466bf9e0649c1d7ab vdr-burn-0.1.0_pre21-r2.ebuild 3334
SHA256 1788f578da40061802c681cfb2b6492790e2d7df7be9794e42c972ca800fc2f5 vdr-burn-0.1.0_pre21-r2.ebuild 3334
-MISC ChangeLog 4058 RMD160 3cba41ee096aa1b5910c16f20a53dd2ba24317cc SHA1 5012f8b44c45fb40da0045d6934b28781d1b1acf SHA256 47824775f90f104abd56b9afead70cf6988d976c38506366fd3308bee37d3bcf
-MD5 e2dd06ebbb1ccf0d9c85158fc9f96e8c ChangeLog 4058
-RMD160 3cba41ee096aa1b5910c16f20a53dd2ba24317cc ChangeLog 4058
-SHA256 47824775f90f104abd56b9afead70cf6988d976c38506366fd3308bee37d3bcf ChangeLog 4058
+EBUILD vdr-burn-0.1.0_pre21-r3.ebuild 3402 RMD160 a8ed8c7c010d7562017e299052d8e023ee969f56 SHA1 83441c04197fa919c64e5a1727cdc81b765955ca SHA256 852d332a9667cfe59dcb7c91b73f2f6918d639346d7d14eed5a9a9cf4490f050
+MD5 5248262fdba208ffca41c5ae9f0836ad vdr-burn-0.1.0_pre21-r3.ebuild 3402
+RMD160 a8ed8c7c010d7562017e299052d8e023ee969f56 vdr-burn-0.1.0_pre21-r3.ebuild 3402
+SHA256 852d332a9667cfe59dcb7c91b73f2f6918d639346d7d14eed5a9a9cf4490f050 vdr-burn-0.1.0_pre21-r3.ebuild 3402
+MISC ChangeLog 4391 RMD160 2fa3ef38b624ac02c1560e8918264c8a6ff0e05f SHA1 43119fec4812e094331b28415dada6bcbf88bf1d SHA256 33fa3a81f89504fe7397e0c607a0f8b583a2c186abf5ce81d47dd0cd32cfa598
+MD5 4cc8094ce71cdbcb7352cab100c03f18 ChangeLog 4391
+RMD160 2fa3ef38b624ac02c1560e8918264c8a6ff0e05f ChangeLog 4391
+SHA256 33fa3a81f89504fe7397e0c607a0f8b583a2c186abf5ce81d47dd0cd32cfa598 ChangeLog 4391
MISC metadata.xml 350 RMD160 d0b901374bdc1a0891427d10fc60e9105b91e9d7 SHA1 5c83b2fadb6e91b9b019c2c8bd2e4bbd4d324cbd SHA256 900ccfedc8cb763645f7677742bc2ab59d09a332e465875fd1faf4912c13b171
MD5 35e2c1345c89be1c7032114adeb7ad39 metadata.xml 350
RMD160 d0b901374bdc1a0891427d10fc60e9105b91e9d7 metadata.xml 350
@@ -84,10 +100,13 @@ SHA256 2e4b89253892bff360cbd57dce405b726c05c88da6d249201c187be75522a255 files/di
MD5 0d4f65205f442134f526b2c5483606ae files/digest-vdr-burn-0.1.0_pre21-r2 253
RMD160 e5b38fe9e276199f66befaea27dbbce1afa28a4c files/digest-vdr-burn-0.1.0_pre21-r2 253
SHA256 bca1dc80cfd0435e9a670c4b83329893a8a28a9e54105a1b1ab6c674679fe07c files/digest-vdr-burn-0.1.0_pre21-r2 253
+MD5 0d4f65205f442134f526b2c5483606ae files/digest-vdr-burn-0.1.0_pre21-r3 253
+RMD160 e5b38fe9e276199f66befaea27dbbce1afa28a4c files/digest-vdr-burn-0.1.0_pre21-r3 253
+SHA256 bca1dc80cfd0435e9a670c4b83329893a8a28a9e54105a1b1ab6c674679fe07c files/digest-vdr-burn-0.1.0_pre21-r3 253
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (GNU/Linux)
-iD8DBQFGUystt2vP6XvVdOcRAqnHAKDPMcm5eHly93zUria7xIuEFTv1sACdH9Yf
-H5BQ9+bU1yIQ6P4NdENifTA=
-=bwfV
+iD8DBQFGhpC6t2vP6XvVdOcRAoPfAJwN4nqw06OPcfLcC1jQdcS2lolM+wCff8Rd
+Oxi17CZ5h2zlKLkytPp7qGc=
+=J7Hg
-----END PGP SIGNATURE-----
diff --git a/media-plugins/vdr-burn/files/0.1.0_pre21/charset-vdr-1.5.diff b/media-plugins/vdr-burn/files/0.1.0_pre21/charset-vdr-1.5.diff
new file mode 100644
index 000000000000..e4efdd296e51
--- /dev/null
+++ b/media-plugins/vdr-burn/files/0.1.0_pre21/charset-vdr-1.5.diff
@@ -0,0 +1,20 @@
+Index: burn-0.1.0-pre21/burn.c
+===================================================================
+--- burn-0.1.0-pre21.orig/burn.c
++++ burn-0.1.0-pre21/burn.c
+@@ -45,8 +45,13 @@ namespace vdr_burn
+
+ string plugin::get_character_encoding()
+ {
+-#ifdef UTF8PATCH
+- return "utf8";
++#if VDRVERSNUM >= 10503
++ if (cCharSetConv::SystemCharacterTable())
++ return cCharSetConv::SystemCharacterTable();
++ else
++ return "utf-8";
++#elif defined(UTF8PATCH)
++ return "utf-8";
+ #else
+ return tr("iso8859-15");
+ #endif
diff --git a/media-plugins/vdr-burn/files/0.1.0_pre21/requantfactor.diff b/media-plugins/vdr-burn/files/0.1.0_pre21/requantfactor.diff
new file mode 100644
index 000000000000..a595ab62a8ba
--- /dev/null
+++ b/media-plugins/vdr-burn/files/0.1.0_pre21/requantfactor.diff
@@ -0,0 +1,15 @@
+--- jobs.c.orig 2006-09-16 20:33:36.000000000 +0200
++++ jobs.c 2006-09-20 21:50:33.000000000 +0200
+@@ -304,10 +304,10 @@
+ size_pair::size_type diskFree =
+ size_pair::size_type( get_disk_size_mb() ) * MEGABYTE(1) - get_tracks_size( cut_, track_info::streamtype_audio );
+ size_pair::size_type videoSize =
+- size_pair::size_type( double( get_tracks_size( cut_, track_info::streamtype_video ) ) * 1.06 );
++ size_pair::size_type( double( get_tracks_size( cut_, track_info::streamtype_video ) ) * 1.04 );
+
+ return videoSize > diskFree
+- ? double( get_tracks_size( cut_, track_info::streamtype_video ) ) / diskFree + .12
++ ? double( videoSize ) / diskFree
+ : 1;
+ }
+
diff --git a/media-plugins/vdr-burn/files/0.1.0_pre21/series b/media-plugins/vdr-burn/files/0.1.0_pre21/series
new file mode 100644
index 000000000000..883c1f17be46
--- /dev/null
+++ b/media-plugins/vdr-burn/files/0.1.0_pre21/series
@@ -0,0 +1,8 @@
+i18n.diff -p0
+menuburn.diff -p0
+menuitems.diff -p0
+vdr-burn-0.1.0_pre21_setdefaults.diff
+vdr-burn-0.1.0_pre21-gentoo.diff
+requantfactor.diff -p0
+charset-vdr-1.5.diff
+
diff --git a/media-plugins/vdr-burn/files/digest-vdr-burn-0.1.0_pre21-r3 b/media-plugins/vdr-burn/files/digest-vdr-burn-0.1.0_pre21-r3
new file mode 100644
index 000000000000..1c12b83dff38
--- /dev/null
+++ b/media-plugins/vdr-burn/files/digest-vdr-burn-0.1.0_pre21-r3
@@ -0,0 +1,3 @@
+MD5 11217a15e753b7affaf663a0446e22bb vdr-burn-0.1.0-pre21.tgz 257165
+RMD160 a1c838c698c71b4be626ec5e1bd089a1655f68c4 vdr-burn-0.1.0-pre21.tgz 257165
+SHA256 43bdcb6d52fc01f56cb36e865f2ed98f7a05d689c565b18de20a0a6830a68159 vdr-burn-0.1.0-pre21.tgz 257165
diff --git a/media-plugins/vdr-burn/vdr-burn-0.1.0_pre21-r3.ebuild b/media-plugins/vdr-burn/vdr-burn-0.1.0_pre21-r3.ebuild
new file mode 100644
index 000000000000..d6f0d66d0134
--- /dev/null
+++ b/media-plugins/vdr-burn/vdr-burn-0.1.0_pre21-r3.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2007 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.1.0_pre21-r3.ebuild,v 1.1 2007/06/30 17:19:43 zzam Exp $
+
+inherit vdr-plugin eutils
+
+MY_PV="${PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+S="${WORKDIR}/burn-${MY_PV}"
+
+DESCRIPTION="VDR: DVD Burn Plugin"
+HOMEPAGE="http://www.xeatre.de/community/burn"
+SRC_URI="http://www.magoa.net/linux/contrib/${MY_P}.tgz"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="projectx"
+
+PATCHES="${FILESDIR}/${PV}/i18n.diff
+ ${FILESDIR}/${PV}/menuburn.diff
+ ${FILESDIR}/${PV}/menuitems.diff
+ ${FILESDIR}/${PV}/${P}_setdefaults.diff
+ ${FILESDIR}/${PV}/${P}-gentoo.diff
+ ${FILESDIR}/${PV}/requantfactor.diff
+ ${FILESDIR}/${PV}/charset-vdr-1.5.diff"
+
+DEPEND=">=media-video/vdr-1.4
+ >=dev-libs/libcdio-0.71
+ >=dev-libs/boost-1.32.0
+ media-libs/gd"
+
+RDEPEND=">=media-video/dvdauthor-0.6.10
+ >=media-video/mjpegtools-1.6.2
+ >=media-video/vdrsync-0.1.3_pre1-r5
+ >=media-video/m2vrequantizer-20060306
+ media-video/transcode
+ media-fonts/ttf-bitstream-vera
+ media-video/vdrtools-genindex
+ virtual/cdrtools
+ >=app-cdr/dvd+rw-tools-5.21
+ projectx? ( >=media-video/projectx-0.90.4.00-r2 )"
+
+VDR_CONFD_FILE="${FILESDIR}/${PV}/confd"
+VDR_RCADDON_FILE="${FILESDIR}/${PV}/rc-addon.sh"
+
+pkg_setup() {
+
+ if use projectx && [[ ! -d /usr/share/java-config-2 ]] ; then
+ echo
+ eerror "ProjectX need an upgraded version of your Java install"
+ eerror "Please upgrade your Java/Java-config install"
+ einfo "http://www.gentoo.org/proj/en/java/java-upgrade.xml"
+ die "ProjectX need an upgrade of Java/Java-config"
+ echo
+ fi
+
+ if ! built_with_use media-libs/gd png truetype ; then
+ echo
+ eerror "Please recompile media-libs/gd with"
+ eerror "USE=\"png truetype\""
+ die "media-libs/gd need png and truetype support"
+ fi
+
+ vdr-plugin_pkg_setup
+}
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ sed -i Makefile \
+ -e 's#^TMPDIR = .*$#TMPDIR = /tmp#' \
+ -e 's#^ISODIR=.*$#ISODIR=/var/vdr/video/dvd-images#'
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ dobin ${S}/burn-buffers
+ dobin ${S}/*.sh
+
+ insinto /usr/share/vdr/burn
+ doins ${S}/burn/menu-silence.mp2
+ newins ${S}/burn/menu-button.png menu-button-default.png
+ newins ${S}/burn/menu-bg.png menu-bg-default.png
+ dosym menu-bg-default.png /usr/share/vdr/burn/menu-bg.png
+ dosym menu-button-default.png /usr/share/vdr/burn/menu-button.png
+
+ use projectx && newins ${S}/burn/ProjectX.ini projectx-vdr.ini
+
+ fowners -R vdr:vdr /usr/share/vdr/burn
+
+ (
+ diropts -ovdr -gvdr
+ keepdir /usr/share/vdr/burn/counters
+ )
+}
+
+pkg_preinst() {
+ if [[ -d ${ROOT}/etc/vdr/plugins/burn && ( ! -L ${ROOT}/etc/vdr/plugins/burn ) ]]; then
+ einfo "Moving /etc/vdr/plugins/burn away"
+ mv ${ROOT}/etc/vdr/plugins/burn ${ROOT}/etc/vdr/plugins/burn_old
+ fi
+}
+
+pkg_postinst() {
+
+ local DMH_FILE="${ROOT}/usr/share/vdr/burn/counters/standard"
+ if [[ ! -e "${DMH_FILE}" ]]; then
+ echo 0001 > "${DMH_FILE}"
+ chown vdr:vdr "${DMH_FILE}"
+ fi
+
+ vdr-plugin_pkg_postinst
+
+ 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"
+
+ if [[ -e ${ROOT}/etc/vdr/reccmds/reccmds.burn.conf ]]; then
+ echo
+ eerror "Please remove the following unneeded file:"
+ einfo "--> /etc/vdr/reccmds/reccmds.burn.conf"
+ echo
+ fi
+}