summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2014-01-08 12:07:25 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2014-01-08 12:07:25 +0000
commit5f5dd4117ef3fc1b2f7b6a629e45c93b9780963a (patch)
treea799fd4f2b89ff85554872dafdcbd9fe7dfff9b6 /media-plugins/vdr-burn
parentRemove old, proxied commit for Nikoli. (diff)
downloadgentoo-2-5f5dd4117ef3fc1b2f7b6a629e45c93b9780963a.tar.gz
gentoo-2-5f5dd4117ef3fc1b2f7b6a629e45c93b9780963a.tar.bz2
gentoo-2-5f5dd4117ef3fc1b2f7b6a629e45c93b9780963a.zip
clean up
(Portage version: 2.2.1/cvs/Linux i686, signed Manifest commit with key 34C2808A)
Diffstat (limited to 'media-plugins/vdr-burn')
-rw-r--r--media-plugins/vdr-burn/ChangeLog16
-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/i18n.diff29
-rw-r--r--media-plugins/vdr-burn/files/0.1.0_pre21/menuburn.diff20
-rw-r--r--media-plugins/vdr-burn/files/0.1.0_pre21/menuitems.diff11
-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/vdr-burn-0.1.0_pre21-gcc43.patch63
-rw-r--r--media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff51
-rw-r--r--media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21-makefile.diff22
-rw-r--r--media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21_setdefaults-V2.diff44
-rw-r--r--media-plugins/vdr-burn/metadata.xml2
-rw-r--r--media-plugins/vdr-burn/vdr-burn-0.1.0_pre21-r6.ebuild127
12 files changed, 14 insertions, 406 deletions
diff --git a/media-plugins/vdr-burn/ChangeLog b/media-plugins/vdr-burn/ChangeLog
index c6f135f7898d..f72db47a943b 100644
--- a/media-plugins/vdr-burn/ChangeLog
+++ b/media-plugins/vdr-burn/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for media-plugins/vdr-burn
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/ChangeLog,v 1.59 2013/04/01 19:20:13 hd_brummy Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/ChangeLog,v 1.60 2014/01/08 12:07:25 hd_brummy Exp $
+
+ 08 Jan 2014; Joerg Bornkessel <hd_brummy@gentoo.org>
+ -vdr-burn-0.1.0_pre21-r6.ebuild, -files/0.1.0_pre21/i18n.diff,
+ -files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gcc43.patch,
+ -files/0.1.0_pre21/menuburn.diff,
+ -files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff,
+ -files/0.1.0_pre21/menuitems.diff,
+ -files/0.1.0_pre21/vdr-burn-0.1.0_pre21-makefile.diff,
+ -files/0.1.0_pre21/requantfactor.diff,
+ -files/0.1.0_pre21/vdr-burn-0.1.0_pre21_setdefaults-V2.diff,
+ -files/0.1.0_pre21/charset-vdr-1.5.diff, metadata.xml:
+ clean up
01 Apr 2013; Joerg Bornkessel <hd_brummy@gentoo.org>
files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff,
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
deleted file mode 100644
index e4efdd296e51..000000000000
--- a/media-plugins/vdr-burn/files/0.1.0_pre21/charset-vdr-1.5.diff
+++ /dev/null
@@ -1,20 +0,0 @@
-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/i18n.diff b/media-plugins/vdr-burn/files/0.1.0_pre21/i18n.diff
deleted file mode 100644
index 09f57abc89e9..000000000000
--- a/media-plugins/vdr-burn/files/0.1.0_pre21/i18n.diff
+++ /dev/null
@@ -1,29 +0,0 @@
---- i18n.c 2006-09-16 20:33:36.000000000 +0200
-+++ i18n.c.patched 2007-01-03 13:37:08.000000000 +0100
-@@ -210,7 +210,7 @@
- #endif
- #endif
- },
-- { "Total size: %1$.1f MB %2$s",
-+ { "$Total size: %1$.1f MB %2$s",
- "Gesamtgröße: %1$.1f MB %2$s",
- "",
- "",
-@@ -782,7 +782,7 @@
- #endif
- #endif
- },
-- { "Job active (Writing: %1$d%%)",
-+ { "$Job active (Writing: %1$d%%)",
- "Auftrag aktiv (Schreibe: %1$d%%)",
- "",
- "",
-@@ -1874,7 +1874,7 @@
- #endif
- #endif
- },
-- { "Recordings: %1$d, total size: %2$.1f MB",
-+ { "$Recordings: %1$d, total size: %2$.1f MB",
- "Aufzeichnungen: %1$d, Gesamtgröße: %2$.1f MB",
- "",
- "",
diff --git a/media-plugins/vdr-burn/files/0.1.0_pre21/menuburn.diff b/media-plugins/vdr-burn/files/0.1.0_pre21/menuburn.diff
deleted file mode 100644
index e941ca269a6c..000000000000
--- a/media-plugins/vdr-burn/files/0.1.0_pre21/menuburn.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- menuburn.c 2006-09-16 20:33:36.000000000 +0200
-+++ menuburn.c.patched 2007-01-03 13:37:41.000000000 +0100
-@@ -226,7 +226,7 @@
- {
- const recording_list& recordings( job_.get_recordings() );
- if ( recordings.size() > 0 )
-- return str( boost::format( tr("Recordings: %1$d, total size: %2$.1f MB") )
-+ return str( boost::format( tr("$Recordings: %1$d, total size: %2$.1f MB") )
- % recordings.size() % ( double( job_.get_tracks_size() ) / MEGABYTE(1) ) );
- else
- return tr("No recordings marked for burning");
-@@ -566,7 +566,7 @@
-
- int percent;
- if (manager::get_active()->get_is_burning(percent))
-- Add( new menu::text_item( str( boost::format( tr("Job active (Writing: %1$d%%)") ) % percent ) ) );
-+ Add( new menu::text_item( str( boost::format( tr("$Job active (Writing: %1$d%%)") ) % percent ) ) );
- else
- Add(new menu::text_item(tr("Job active (Converting)")));
-
diff --git a/media-plugins/vdr-burn/files/0.1.0_pre21/menuitems.diff b/media-plugins/vdr-burn/files/0.1.0_pre21/menuitems.diff
deleted file mode 100644
index 0e40cb1be6df..000000000000
--- a/media-plugins/vdr-burn/files/0.1.0_pre21/menuitems.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- menuitems.c 2006-09-16 20:33:36.000000000 +0200
-+++ menuitems.c.patched 2007-01-03 13:38:09.000000000 +0100
-@@ -102,7 +102,7 @@
-
- void size_text_item::update( bool cut_ )
- {
-- SetText( str( boost::format( tr("Total size: %1$.1f MB %2$s") )
-+ SetText( str( boost::format( tr("$Total size: %1$.1f MB %2$s") )
- % ( double( m_job.get_tracks_size( cut_ ) ) / MEGABYTE(1) )
- % ( m_job.get_requant_factor( cut_ ) > 1 ? tr("(would be shrinked)") : "" ) ).c_str() );
- }
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
deleted file mode 100644
index a595ab62a8ba..000000000000
--- a/media-plugins/vdr-burn/files/0.1.0_pre21/requantfactor.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- 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/vdr-burn-0.1.0_pre21-gcc43.patch b/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gcc43.patch
deleted file mode 100644
index 38ce2aa55780..000000000000
--- a/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gcc43.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-add missing includes for gcc-4.3.x
-bug 227161
-diff -ruN burn-0.1.0-pre21_orig/adaptor.h burn-0.1.0-pre21/adaptor.h
---- burn-0.1.0-pre21_orig/adaptor.h 2006-09-16 20:33:36.000000000 +0200
-+++ burn-0.1.0-pre21/adaptor.h 2008-06-15 13:59:43.000000000 +0200
-@@ -8,6 +8,7 @@
- #ifndef VDR_BURN_ADAPTOR_H
- #define VDR_BURN_ADAPTOR_H
-
-+#include <algorithm>
- #include <iterator>
- #include <vdr/epg.h>
- #include <vdr/tools.h>
-diff -ruN burn-0.1.0-pre21_orig/filter.h burn-0.1.0-pre21/filter.h
---- burn-0.1.0-pre21_orig/filter.h 2006-09-16 20:33:36.000000000 +0200
-+++ burn-0.1.0-pre21/filter.h 2008-06-15 14:00:07.000000000 +0200
-@@ -9,6 +9,7 @@
- #define VDR_BURN_FILTER_H
-
- #include "common.h"
-+#include <algorithm>
- #include <iterator>
-
- namespace vdr_burn
-diff -ruN burn-0.1.0-pre21_orig/iconvwrapper.c burn-0.1.0-pre21/iconvwrapper.c
---- burn-0.1.0-pre21_orig/iconvwrapper.c 2006-09-16 20:33:36.000000000 +0200
-+++ burn-0.1.0-pre21/iconvwrapper.c 2008-06-15 14:05:04.000000000 +0200
-@@ -6,6 +6,10 @@
- */
-
- #include "iconvwrapper.h"
-+
-+#include <stdlib.h>
-+#include <string.h>
-+
- #include <cerrno>
- #include <sstream>
-
-diff -ruN burn-0.1.0-pre21_orig/menuitems.h burn-0.1.0-pre21/menuitems.h
---- burn-0.1.0-pre21_orig/menuitems.h 2006-09-16 20:33:36.000000000 +0200
-+++ burn-0.1.0-pre21/menuitems.h 2008-06-15 13:50:00.000000000 +0200
-@@ -18,6 +18,7 @@
- #include <memory>
- #include <string>
- #include <vector>
-+#include <limits>
- #include "boost/bind.hpp"
- #include <vdr/menuitems.h>
-
-diff -ruN burn-0.1.0-pre21_orig/proctools/logger.cc burn-0.1.0-pre21/proctools/logger.cc
---- burn-0.1.0-pre21_orig/proctools/logger.cc 2006-09-16 17:22:02.000000000 +0200
-+++ burn-0.1.0-pre21/proctools/logger.cc 2008-06-15 14:08:37.000000000 +0200
-@@ -1,6 +1,9 @@
- #include "logger.h"
- #include "functions.h"
- #include "format.h"
-+
-+#include <string.h>
-+
- #include <functional>
- #include <iterator>
- #include <sstream>
-
diff --git a/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff b/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff
deleted file mode 100644
index 18243a37fd6d..000000000000
--- a/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -Naur burn-0.1.0-pre21.orig/burn.c burn-0.1.0-pre21/burn.c
---- burn-0.1.0-pre21.orig/burn.c 2006-09-17 18:36:06.572462419 +0200
-+++ burn-0.1.0-pre21/burn.c 2006-09-17 18:40:10.319695668 +0200
-@@ -80,7 +80,7 @@
-
- bool plugin::Start()
- {
-- m_configPath = ConfigDirectory(PLUGIN_NAME);
-+ m_configPath = ("/usr/share/vdr/burn");
-
- manager::start();
- logger_vdr::start();
-diff -Naur burn-0.1.0-pre21.orig/vdrburn-dvd.sh burn-0.1.0-pre21/vdrburn-dvd.sh
---- burn-0.1.0-pre21.orig/vdrburn-dvd.sh 2006-09-17 18:36:06.732472419 +0200
-+++ burn-0.1.0-pre21/vdrburn-dvd.sh 2006-09-17 18:45:42.924482170 +0200
-@@ -32,10 +32,6 @@
- export JAVA_HOME=/opt/j2re1.4.2
- fi
-
--if [ -z $PROJECTX_HOME ]; then
-- export PROJECTX_HOME=/opt/ProjectX
--fi
--
- # Some versions of growisofs refuse to start when run with sudo, and may
- # misdetect this condition if vdr itself is started from a sudo session.
- unset SUDO_COMMAND
-@@ -75,9 +71,8 @@
- CUT="-cut $MPEG_DATA_PATH/px.cut"
- fi
-
-- $JAVA_HOME/bin/java -Djava.awt.headless=true \
-- -jar $PROJECTX_HOME/ProjectX.jar \
-- -ini $CONFIG_PATH/ProjectX.ini \
-+ /usr/bin/projectx_cli \
-+ -ini /usr/share/vdr/burn/projectx-vdr.ini \
- $CUT -id $USED_TRACKS,0x1f,0x20 \
- -demux -out "$MPEG_DATA_PATH" -name vdrsync \
- $(ls "$MPEG_TMP_PATH/convert/"[0-9][0-9][0-9].vdr)
-
-diff -Naur burn-0.1.0-pre21.orig/burn.c burn-0.1.0-pre21/burn.c
---- burn-0.1.0-pre21.orig/burn.c 2006-09-19 21:23:48.871275190 +0200
-+++ burn-0.1.0-pre21/burn.c 2006-09-19 21:31:52.173479689 +0200
-@@ -85,7 +85,7 @@
- manager::start();
- logger_vdr::start();
- RegisterI18n( i18n::get_phrases() );
-- gdwrapper::setup::set_font_path( m_configPath + "/fonts" );
-+ gdwrapper::setup::set_font_path( "/usr/share/fonts/ttf-bitstream-vera" );
- if ( !skin_list::get().load( get_config_path() ) )
- return false;
-
diff --git a/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21-makefile.diff b/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21-makefile.diff
deleted file mode 100644
index d066b85abe0b..000000000000
--- a/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21-makefile.diff
+++ /dev/null
@@ -1,22 +0,0 @@
-Index: burn-0.1.0-pre21/Makefile
-===================================================================
---- burn-0.1.0-pre21.orig/Makefile
-+++ burn-0.1.0-pre21/Makefile
-@@ -133,7 +133,7 @@ all: libvdr-$(PLUGIN).so burn-buffers i1
-
- SUBDIRS:
- @for dir in $(SUBDIRS); do \
-- make -C $$dir CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" lib$$dir.a ; \
-+ $(MAKE) -C $$dir CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" lib$$dir.a ; \
- done
-
- libvdr-$(PLUGIN).so: $(OBJS) SUBDIRS Makefile
-@@ -165,7 +165,7 @@ clean:
- @-rm -f *.o genindex/*.o $(DEPFILE) *.so *.tgz core* *~ burn-buffers \
- scan-test test t/*.o
- @for dir in $(SUBDIRS); do \
-- make -C $$dir clean ; \
-+ $(MAKE) -C $$dir clean ; \
- done
-
- ### Implicit rules:
diff --git a/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21_setdefaults-V2.diff b/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21_setdefaults-V2.diff
deleted file mode 100644
index 4039d1a43a48..000000000000
--- a/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21_setdefaults-V2.diff
+++ /dev/null
@@ -1,44 +0,0 @@
-will set a always missconfigured part to a default setup
-remove the config part (RemovePath, RequantTyp)
-from osd plugin setup
-
-12 Mar 2009 ,Joerg Bornkessel <hd_brummy@gentoo.org>
-
-diff -Naur burn-0.1.0-pre21.orig/setup.c burn-0.1.0-pre21/setup.c
---- burn-0.1.0-pre21.orig/setup.c 2009-03-12 03:33:46.387393024 +0100
-+++ burn-0.1.0-pre21/setup.c 2009-03-12 03:37:56.204037636 +0100
-@@ -83,11 +83,11 @@
- //!--- plugin_setup -----------------------------------------------------------
-
- plugin_setup::plugin_setup():
-- PROCTOOLS_INIT_PROPERTY( RemovePath, false ),
-+ PROCTOOLS_INIT_PROPERTY( RemovePath, true ),
- PROCTOOLS_INIT_PROPERTY( CustomDiskSize, 200 ),
- PROCTOOLS_INIT_PROPERTY( BurnSpeed, 0 ),
- PROCTOOLS_INIT_PROPERTY( DemuxType, demuxtype_vdrsync ),
-- PROCTOOLS_INIT_PROPERTY( RequantType, requanttype_metakine ),
-+ PROCTOOLS_INIT_PROPERTY( RequantType, requanttype_transcode ),
- PROCTOOLS_INIT_PROPERTY( PreserveLogFiles, false ),
- PROCTOOLS_INIT_PROPERTY( DefaultLanguage, 0 ),
- PROCTOOLS_INIT_PROPERTY( MainMenuStatus, true ),
-@@ -115,7 +115,7 @@
- PROCTOOLS_INIT_PROPERTY( SkinIndex, 0 ),
- PROCTOOLS_INIT_PROPERTY( ChaptersMode, chaptersmode_10 ),
- PROCTOOLS_INIT_PROPERTY( StoreMode, storemode_burn ),
-- PROCTOOLS_INIT_PROPERTY( DmhArchiveMode, true ),
-+ PROCTOOLS_INIT_PROPERTY( DmhArchiveMode, false ),
- PROCTOOLS_INIT_PROPERTY( DiskSize, disksize_singlelayer ),
- PROCTOOLS_INIT_PROPERTY( CutOnDemux, false ),
- PROCTOOLS_INIT_PROPERTY( SkipTitlemenu, true ),
-@@ -199,9 +199,9 @@
- m_defaults = job_defaults();
-
- Add( new menu::text_item( tr("--- Common settings --------------------------------------------------") ) );
-- Add( new menu::bool_edit_item( tr("Remove path component"), m_setup.RemovePath ) );
-+// Add( new menu::bool_edit_item( tr("Remove path component"), m_setup.RemovePath ) );
- Add( new menu::list_edit_item( tr("Demux using"), m_setup.DemuxType, demuxtype_strings ) );
-- Add( new menu::list_edit_item( tr("Requant using"), m_setup.RequantType, requanttype_strings ) );
-+// Add( new menu::list_edit_item( tr("Requant using"), m_setup.RequantType, requanttype_strings ) );
- Add( new menu::number_edit_item( tr("Burn speed"), m_setup.BurnSpeed, 0, 32, tr("unlimited") ) );
- Add( new menu::bool_edit_item( tr("Preserve logfiles"), m_setup.PreserveLogFiles ) );
- Add( new menu::list_edit_item( tr("Spare language code"), m_setup.DefaultLanguage, track_info::get_language_codes(), false ) );
diff --git a/media-plugins/vdr-burn/metadata.xml b/media-plugins/vdr-burn/metadata.xml
index 1573b4e12d73..073e3273a77c 100644
--- a/media-plugins/vdr-burn/metadata.xml
+++ b/media-plugins/vdr-burn/metadata.xml
@@ -8,8 +8,6 @@
</maintainer>
<longdescription>VDR plugin to burn DVD's and DVD file structures</longdescription>
<use>
- <flag name='projectx'>Enables support for
- <pkg>media-video/projectx</pkg></flag>
<flag name='dvdarchive'>DMH DVD - Archive</flag>
</use>
</pkgmetadata>
diff --git a/media-plugins/vdr-burn/vdr-burn-0.1.0_pre21-r6.ebuild b/media-plugins/vdr-burn/vdr-burn-0.1.0_pre21-r6.ebuild
deleted file mode 100644
index 7ed260614597..000000000000
--- a/media-plugins/vdr-burn/vdr-burn-0.1.0_pre21-r6.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2011 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-r6.ebuild,v 1.6 2011/01/28 17:53:27 hd_brummy Exp $
-
-EAPI="3"
-
-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"
-RESTRICT="test"
-
-PATCHES=("${FILESDIR}/${PV}/i18n.diff"
- "${FILESDIR}/${PV}/menuburn.diff"
- "${FILESDIR}/${PV}/menuitems.diff"
- "${FILESDIR}/${PV}/${P}-gentoo.diff"
- "${FILESDIR}/${PV}/${P}_setdefaults-V2.diff"
- "${FILESDIR}/${PV}/requantfactor.diff"
- "${FILESDIR}/${PV}/charset-vdr-1.5.diff"
- "${FILESDIR}/${PV}/${P}-gcc43.patch"
- "${FILESDIR}/${PV}/${P}-makefile.diff")
-
-DEPEND=">=media-video/vdr-1.4
- >=dev-libs/libcdio-0.71
- >=dev-libs/boost-1.32.0
- media-libs/gd[png,truetype,jpeg]"
-
-RDEPEND="${DEPEND}
- >=media-video/dvdauthor-0.6.10
- >=media-video/mjpegtools-1.6.2[png]
- >=media-video/vdrsync-0.1.3_pre1-r5
- media-video/transcode
- media-fonts/ttf-bitstream-vera
- media-video/vdrtools-genindex
- virtual/eject
- virtual/cdrtools
- >=app-cdr/dvd+rw-tools-5.21
- projectx? ( >=media-video/projectx-0.90.4.00-r3 )"
-
-VDR_CONFD_FILE="${FILESDIR}/confd"
-VDR_RCADDON_FILE="${FILESDIR}/rc-addon.sh"
-
-pkg_setup() {
- local error=0
-
- if use projectx && [[ ! -d /usr/share/java-config-2 ]] ; then
- eerror
- eerror "ProjectX need an upgraded version of your Java install"
- eerror "Please upgrade your Java/Java-config install"
- eerror "\thttp://www.gentoo.org/proj/en/java/java-upgrade.xml"
- eerror
- die "Requirements not satisfied"
- fi
-
- vdr-plugin_pkg_setup
-}
-
-src_prepare() {
- vdr-plugin_src_prepare
- 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
-
- einfo
- 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
- eerror
- eerror "Please remove the following unneeded file:"
- eerror "\t/etc/vdr/reccmds/reccmds.burn.conf"
- eerror
- fi
-}