summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-12-16 09:41:03 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-12-16 09:51:01 +0200
commit17f8807f52f4ff5aae5fef539c56e6045802adff (patch)
treedd77a2e0d5fce855fc02740f6a2769de4acea37b /media-plugins
parentmedia-plugins/vdr-burn-templates: treeclean (diff)
downloadgentoo-17f8807f52f4ff5aae5fef539c56e6045802adff.tar.gz
gentoo-17f8807f52f4ff5aae5fef539c56e6045802adff.tar.bz2
gentoo-17f8807f52f4ff5aae5fef539c56e6045802adff.zip
media-plugins/vdr-burn: treeclean
Closes: https://bugs.gentoo.org/861311 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/vdr-burn/Manifest2
-rw-r--r--media-plugins/vdr-burn/files/confd26
-rw-r--r--media-plugins/vdr-burn/files/rc-addon.sh31
-rw-r--r--media-plugins/vdr-burn/files/vdr-burn-0.2.2-missing-include-for-function-setpriority.patch13
-rw-r--r--media-plugins/vdr-burn/files/vdr-burn-0.2.2-r1_gentoo-path.diff48
-rw-r--r--media-plugins/vdr-burn/files/vdr-burn-0.2.2_makefile.diff16
-rw-r--r--media-plugins/vdr-burn/files/vdr-burn-0.2.2_setdefaults.diff32
-rw-r--r--media-plugins/vdr-burn/files/vdr-burn-0.3.0_dmh-archive.patch14
-rw-r--r--media-plugins/vdr-burn/files/vdr-burn-0.3.0_gentoo-path.patch45
-rw-r--r--media-plugins/vdr-burn/files/vdr-burn-0.3.0_setdefaults.patch32
-rw-r--r--media-plugins/vdr-burn/metadata.xml11
-rw-r--r--media-plugins/vdr-burn/vdr-burn-0.2.2-r2.ebuild117
-rw-r--r--media-plugins/vdr-burn/vdr-burn-0.3.0-r2.ebuild105
13 files changed, 0 insertions, 492 deletions
diff --git a/media-plugins/vdr-burn/Manifest b/media-plugins/vdr-burn/Manifest
deleted file mode 100644
index 601c4107e685..000000000000
--- a/media-plugins/vdr-burn/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST vdr-burn-0.2.2.tgz 253570 BLAKE2B ac31f5d056e5fc92a43f12d506b7d91fc2063cd32f4dc591dd3c71003a98d1dd117c1869c954ac32ff85efea56429473f11429738d4d475f52c46bab1788c05a SHA512 06e490ff238f35122c2bcb7b2d98500a183409c8e855748609fa43dab661cd4ef5bf492cd17ccf5c7b9b26373cb994b3e35dd20edafccfa8bf186318c8fcc346
-DIST vdr-burn-0.3.0.tgz 469211 BLAKE2B e4448f40a058e6e51834966c8a8e6f407f8a2badaa1a5517a761a65d0087ef910445f8f35225c65335ac8407c1948fb7f35ed25c0fcf098addcfccfc9bf2b8df SHA512 a2ffe264c4fb33807bcc37f69e969a61c6af5de320a4564595f1520593dddb90f62d380ab1266ca07f7f2cda8b10b45f3cff545e185dbe1b204e813d2f06ccda
diff --git a/media-plugins/vdr-burn/files/confd b/media-plugins/vdr-burn/files/confd
deleted file mode 100644
index 8dd940ba6e1d..000000000000
--- a/media-plugins/vdr-burn/files/confd
+++ /dev/null
@@ -1,26 +0,0 @@
-# Global config file for vdr burn plugin
-
-############## 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"
-
-
diff --git a/media-plugins/vdr-burn/files/rc-addon.sh b/media-plugins/vdr-burn/files/rc-addon.sh
deleted file mode 100644
index 22764f5f7ca4..000000000000
--- a/media-plugins/vdr-burn/files/rc-addon.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# rc-addon-script for plugin burn
-#
-# Joerg Bornkessel hd_brummy@gentoo.org
-
-. /etc/conf.d/vdr.burn
-
-: ${BURN_TMPDIR:=/tmp}
-: ${BURN_DATADIR:=/var/vdr/video}
-: ${BURN_DVDWRITER:=/dev/dvd}
-: ${BURN_ISODIR:=/var/vdr/video/dvd-images}
-
-# be shure BURN_ISODIR is available!
-make_isodir() {
- if [ ! -e "${BURN_ISODIR}" ]; then
- mkdir "${BURN_ISODIR}"
- touch "${BURN_ISODIR}"/.keep.rc-burn
- chown -R vdr:vdr "${BURN_ISODIR}"
- fi
-}
-
-make_isodir
-
-plugin_pre_vdr_start() {
-
- add_plugin_param "-t ${BURN_TMPDIR}"
- add_plugin_param "-d ${BURN_DATADIR}"
- add_plugin_param "-D ${BURN_DVDWRITER}"
- add_plugin_param "-i ${BURN_ISODIR}"
-}
-
diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.2.2-missing-include-for-function-setpriority.patch b/media-plugins/vdr-burn/files/vdr-burn-0.2.2-missing-include-for-function-setpriority.patch
deleted file mode 100644
index 466c5672311c..000000000000
--- a/media-plugins/vdr-burn/files/vdr-burn-0.2.2-missing-include-for-function-setpriority.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-http://bugs.gentoo.org/425596
-
---- proctools/process.cc
-+++ proctools/process.cc
-@@ -8,6 +8,8 @@
- #include <cerrno>
- #include <sys/types.h>
- #include <sys/wait.h>
-+#include <sys/time.h>
-+#include <sys/resource.h>
- #include <unistd.h>
-
- namespace proctools
diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.2.2-r1_gentoo-path.diff b/media-plugins/vdr-burn/files/vdr-burn-0.2.2-r1_gentoo-path.diff
deleted file mode 100644
index cf1ab4ab628d..000000000000
--- a/media-plugins/vdr-burn/files/vdr-burn-0.2.2-r1_gentoo-path.diff
+++ /dev/null
@@ -1,48 +0,0 @@
-some path adaption to gentoo vdr
-use corefonts instead of ttf-bitstream-vera, #335782
-
-Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (1 Mar 2015)
-diff -Naur burn-0.2.0.orig/burn.c burn-0.2.0/burn.c
---- burn-0.2.0.orig/burn.c 2012-02-12 19:46:51.000000000 +0100
-+++ burn-0.2.0/burn.c 2012-02-12 19:49:21.000000000 +0100
-@@ -96,11 +96,11 @@
-
- bool plugin::Start()
- {
-- m_configPath = ConfigDirectory(PLUGIN_NAME);
-+ m_configPath = "/usr/share/vdr/burn";
-
- manager::start();
- logger_vdr::start();
-- gdwrapper::setup::set_font_path( m_configPath + "/fonts" );
-+ gdwrapper::setup::set_font_path( "/usr/share/fonts/corefonts" );
- if ( !skin_list::get().load( get_config_path() ) )
- return false;
-
-diff -Naur burn-0.2.0.orig/vdrburn-dvd.sh burn-0.2.0/vdrburn-dvd.sh
---- burn-0.2.0.orig/vdrburn-dvd.sh 2012-02-12 19:46:51.000000000 +0100
-+++ burn-0.2.0/vdrburn-dvd.sh 2012-02-12 19:52:22.000000000 +0100
-@@ -92,9 +92,8 @@
- CUT="-cut $MPEG_DATA_PATH/px.cut"
- fi
-
-- $IO_NICE $JAVA_EXE -Djava.awt.headless=true \
-- -jar $PROJECTX_JAR \
-- -ini $CONFIG_PATH/ProjectX.ini \
-+ /usr/bin/projectx_cli \
-+ -ini /usr/share/vdr/burn/projectx-vdr.ini \
- $TTXT_OPTS \
- $CUT -id $USED_TRACKS \
- -demux -out "$MPEG_DATA_PATH" -name vdrsync \
-diff -Naur burn-0.2.0.orig/vdrburn-dvd.sh burn-0.2.0/vdrburn-dvd.sh
---- burn-0.2.0.orig/vdrburn-dvd.sh 2012-02-15 21:58:34.000000000 +0100
-+++ burn-0.2.0/vdrburn-dvd.sh 2012-02-15 22:00:47.000000000 +0100
-@@ -78,7 +78,7 @@
- ;;
-
- demux)
-- [ -r $CONFIG_PATH/vdrburn-dvd.conf ] && . $CONFIG_PATH/vdrburn-dvd.conf
-+ PROJECTX_JAR="/usr/share/projectx/lib/projectx.jar"
- [ -z "$JAVA_EXE" ] && JAVA_EXE=$(which java)
-
- [ ! -x "$JAVA_EXE" ] && echo "ERROR: java executable \"$JAVA_EXE\" not found" && exit 1
diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.2.2_makefile.diff b/media-plugins/vdr-burn/files/vdr-burn-0.2.2_makefile.diff
deleted file mode 100644
index 0612ec9292ab..000000000000
--- a/media-plugins/vdr-burn/files/vdr-burn-0.2.2_makefile.diff
+++ /dev/null
@@ -1,16 +0,0 @@
-support for DMH_ARCHIVE in makefile
-
-Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org> (12 Dec 2019)
-diff -Naur burn-0.2.2.orig/Makefile burn-0.2.2/Makefile
---- burn-0.2.2.orig/Makefile 2019-12-12 21:01:38.000000000 +0100
-+++ burn-0.2.2/Makefile 2019-12-12 21:02:43.000000000 +0100
-@@ -12,6 +12,9 @@
-
- PLUGIN = burn
-
-+# Enable DMH Archive
-+#ENABLE_DMH_ARCHIVE = 1
-+
- ### The version number of this plugin (taken from the main source file):
-
- VERSION = $(shell grep 'const char\* plugin::VERSION *=' $(PLUGIN).c | awk '{ print $$5 }' | sed -e 's/[";]//g')
diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.2.2_setdefaults.diff b/media-plugins/vdr-burn/files/vdr-burn-0.2.2_setdefaults.diff
deleted file mode 100644
index 676b11a9ceb4..000000000000
--- a/media-plugins/vdr-burn/files/vdr-burn-0.2.2_setdefaults.diff
+++ /dev/null
@@ -1,32 +0,0 @@
-set default settings
-unset gentoo unsupportede packages (m2vrequantizer)
-disable unneeded menuentrys
-
-Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (12 Feb 2012)
-diff -Naur burn-0.2.0.orig/setup.c burn-0.2.0/setup.c
---- burn-0.2.0.orig/setup.c 2012-02-12 20:14:01.000000000 +0100
-+++ burn-0.2.0/setup.c 2012-02-12 20:18:10.000000000 +0100
-@@ -88,10 +88,10 @@
- //!--- 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( RequantType, requanttype_metakine ),
-+ PROCTOOLS_INIT_PROPERTY( RequantType, requanttype_transcode ),
- PROCTOOLS_INIT_PROPERTY( PreserveLogFiles, false ),
- PROCTOOLS_INIT_PROPERTY( DefaultLanguage, 0 ),
- PROCTOOLS_INIT_PROPERTY( MainMenuStatus, true ),
-@@ -226,8 +226,8 @@
- 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::list_edit_item( tr("Requant using"), m_setup.RequantType, requanttype_strings ) );
-+// Add( new menu::bool_edit_item( tr("Remove path component"), m_setup.RemovePath ) );
-+// 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/files/vdr-burn-0.3.0_dmh-archive.patch b/media-plugins/vdr-burn/files/vdr-burn-0.3.0_dmh-archive.patch
deleted file mode 100644
index bd5f47853e1c..000000000000
--- a/media-plugins/vdr-burn/files/vdr-burn-0.3.0_dmh-archive.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org> (27 Dev 2019)
-diff -Naur burn-0.3.0.orig/Makefile burn-0.3.0/Makefile
---- burn-0.3.0.orig/Makefile 2019-12-27 17:55:11.518492713 +0100
-+++ burn-0.3.0/Makefile 2019-12-27 17:55:53.903492713 +0100
-@@ -12,6 +12,9 @@
-
- PLUGIN = burn
-
-+# Enable DMH Archive
-+#ENABLE_DMH_ARCHIVE = 1
-+
- ### The version number of this plugin (taken from the main source file):
-
- VERSION = $(shell grep 'const char\* plugin::VERSION *=' $(PLUGIN).c | awk '{ print $$5 }' | sed -e 's/[";]//g')
diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.3.0_gentoo-path.patch b/media-plugins/vdr-burn/files/vdr-burn-0.3.0_gentoo-path.patch
deleted file mode 100644
index 6c16cdab9888..000000000000
--- a/media-plugins/vdr-burn/files/vdr-burn-0.3.0_gentoo-path.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-fixed some path for gentoo
-
-Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org> (27 Dec 2019)
-diff -Naur burn-0.3.0.orig/burn.c burn-0.3.0/burn.c
---- burn-0.3.0.orig/burn.c 2019-12-27 17:35:29.724492713 +0100
-+++ burn-0.3.0/burn.c 2019-12-27 17:40:46.640492713 +0100
-@@ -90,12 +90,12 @@
-
- bool plugin::Start()
- {
-- m_configPath = ConfigDirectory(PLUGIN_NAME);
-+ m_configPath = "/usr/share/vdr/burn";
- m_resourcePath = ResourceDirectory(PLUGIN_NAME);
-
- manager::start();
- logger_vdr::start();
-- gdwrapper::setup::set_font_path( get_resource_path() + "/fonts" );
-+ gdwrapper::setup::set_font_path( "/usr/share/fonts/corefonts" );
- if ( !skin_list::get().load( get_resource_path() ) )
- return false;
-
-diff -Naur burn-0.3.0.orig/scripts/vdrburn-dvd.sh burn-0.3.0/scripts/vdrburn-dvd.sh
---- burn-0.3.0.orig/scripts/vdrburn-dvd.sh 2019-12-27 17:35:29.726492713 +0100
-+++ burn-0.3.0/scripts/vdrburn-dvd.sh 2019-12-27 17:44:42.407492713 +0100
-@@ -78,7 +78,7 @@
- ;;
-
- demux)
-- [ -r $CONFIG_PATH/vdrburn-dvd.conf ] && . $CONFIG_PATH/vdrburn-dvd.conf
-+ PROJECTX_JAR="/usr/share/projectx/lib/projectx.jar"
- [ -z "$JAVA_EXE" ] && JAVA_EXE=$(which java)
-
- [ ! -x "$JAVA_EXE" ] && echo "ERROR: java executable \"$JAVA_EXE\" not found" && exit 1
-@@ -92,9 +92,8 @@
- CUT="-cut $MPEG_DATA_PATH/px.cut"
- fi
-
-- $IO_NICE $JAVA_EXE -Djava.awt.headless=true \
-- -jar $PROJECTX_JAR \
-- -ini $CONFIG_PATH/ProjectX.ini \
-+ /usr/bin/projectx_cli \
-+ -ini /usr/share/vdr/burn/projectx-vdr.ini \
- $TTXT_OPTS \
- $CUT -id $USED_TRACKS \
- -demux -out "$MPEG_DATA_PATH" -name vdrsync \
diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.3.0_setdefaults.patch b/media-plugins/vdr-burn/files/vdr-burn-0.3.0_setdefaults.patch
deleted file mode 100644
index ce8b968e5bc0..000000000000
--- a/media-plugins/vdr-burn/files/vdr-burn-0.3.0_setdefaults.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-set default settings
-unset gentoo unsupported packages (m2vrequantizer)
-disable unneeded menuentrys
-
-Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (27 Dec 2019)
-diff -Naur burn-0.3.0.orig/setup.c burn-0.3.0/setup.c
---- burn-0.3.0.orig/setup.c 2019-12-27 17:47:45.556492713 +0100
-+++ burn-0.3.0/setup.c 2019-12-27 17:50:10.063492713 +0100
-@@ -85,10 +85,10 @@
- //!--- 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( RequantType, requanttype_m2vrequantiser ),
-+ PROCTOOLS_INIT_PROPERTY( RequantType, requanttype_transcode ),
- PROCTOOLS_INIT_PROPERTY( PreserveLogFiles, false ),
- PROCTOOLS_INIT_PROPERTY( DefaultLanguage, 0 ),
- PROCTOOLS_INIT_PROPERTY( MainMenuStatus, true ),
-@@ -228,8 +228,8 @@
- 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::list_edit_item( tr("Requant using"), m_setup.RequantType, requanttype_strings ) );
-+// Add( new menu::bool_edit_item( tr("Remove path component"), m_setup.RemovePath ) );
-+// 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
deleted file mode 100644
index 1ab77c61d0e9..000000000000
--- a/media-plugins/vdr-burn/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>vdr@gentoo.org</email>
- <name>Gentoo VDR Project</name>
- </maintainer>
- <use>
- <flag name="dvdarchive">DMH DVD - Archive</flag>
- </use>
-</pkgmetadata>
diff --git a/media-plugins/vdr-burn/vdr-burn-0.2.2-r2.ebuild b/media-plugins/vdr-burn/vdr-burn-0.2.2-r2.ebuild
deleted file mode 100644
index 42d747fd50f2..000000000000
--- a/media-plugins/vdr-burn/vdr-burn-0.2.2-r2.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit vdr-plugin-2
-
-VERSION="1252" # every bump, new version!
-
-RESTRICT="test"
-
-DESCRIPTION="VDR Plugin: burn records on DVD"
-HOMEPAGE="https://projects.vdr-developer.org/projects/plg-burn"
-SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-LICENSE="GPL-2"
-IUSE="dvdarchive"
-
-DEPEND="media-libs/gd[png,truetype,jpeg]
- media-video/vdr"
-RDEPEND="${DEPEND}
- dvdarchive? ( media-video/vdrtools-genindex )
- >=app-cdr/dvd+rw-tools-5.21
- >=dev-libs/libcdio-0.71
- media-fonts/corefonts
- >=media-video/dvdauthor-0.6.14
- >=media-video/mjpegtools-1.6.2[png]
- >=media-video/projectx-0.90.4.00_p32
- media-video/transcode
- sys-apps/util-linux"
-
-# depends that are not rdepend
-DEPEND="${DEPEND}
- dev-libs/boost"
-
-S="${WORKDIR}/${P#vdr-}"
-
-src_prepare() {
- vdr-plugin-2_src_prepare
-
- eapply \
- "${FILESDIR}"/${P}-r1_gentoo-path.diff \
- "${FILESDIR}"/${P}_setdefaults.diff \
- "${FILESDIR}"/${P}_makefile.diff
- eapply -p0 "${FILESDIR}"/${P}-missing-include-for-function-setpriority.patch
-
- use dvdarchive && sed -i Makefile \
- -e "s:#ENABLE_DMH_ARCHIVE:ENABLE_DMH_ARCHIVE:"
-
- sed -i Makefile \
- -e 's:^ISODIR=.*$:ISODIR=/var/vdr/video/dvd-images:'
-
- sed -i Makefile -e 's:DEFINES += -DTTXT_SUBTITLES:#DEFINES += -DTTXT_SUBTITLES:'
-
- if has_version ">=media-video/vdr-2.1.2"; then
- sed -e "s#VideoDirectory#cVideoDirectory::Name\(\)#" \
- -i jobs.c
- fi
-
- # ttf-bitstream-vera deprecated, bug #335782
- sed -e "s:Vera:arial:" -i skins.c
-
- fix_vdr_libsi_include scanner.c
-}
-
-src_install() {
- vdr-plugin-2_src_install
-
- 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
-
- 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-2_pkg_postinst
-
- 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
-}
diff --git a/media-plugins/vdr-burn/vdr-burn-0.3.0-r2.ebuild b/media-plugins/vdr-burn/vdr-burn-0.3.0-r2.ebuild
deleted file mode 100644
index af941eb2a615..000000000000
--- a/media-plugins/vdr-burn/vdr-burn-0.3.0-r2.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit vdr-plugin-2
-
-VERSION="2028" # every bump, new version!
-
-DESCRIPTION="VDR Plugin: burn records on DVD"
-HOMEPAGE="https://projects.vdr-developer.org/projects/plg-burn"
-SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-LICENSE="GPL-2"
-IUSE="dvdarchive"
-
-DEPEND="media-libs/gd[png,truetype,jpeg]
- media-video/vdr"
-RDEPEND="${DEPEND}
- app-cdr/dvd+rw-tools
- dev-libs/libcdio
- media-fonts/corefonts
- media-video/dvdauthor
- media-video/mjpegtools[png]
- media-video/projectx
- media-video/transcode
- sys-apps/util-linux"
-
-# depends that are not rdepend
-DEPEND="${DEPEND}
- dev-libs/boost"
-
-S="${WORKDIR}/${P#vdr-}"
-
-src_prepare() {
- vdr-plugin-2_src_prepare
-
- eapply \
- "${FILESDIR}"/${P}_gentoo-path.patch \
- "${FILESDIR}"/${P}_setdefaults.patch \
- "${FILESDIR}"/${P}_dmh-archive.patch
-
- if use dvdarchive; then
- sed -i Makefile \
- -e "s:#ENABLE_DMH_ARCHIVE:ENABLE_DMH_ARCHIVE:" || die
- fi
-
- sed -i Makefile \
- -e 's:^ISODIR=.*$:ISODIR=/var/vdr/video/dvd-images:' || die
-
- sed -i Makefile -e 's:DEFINES += -DTTXT_SUBTITLES:#DEFINES += -DTTXT_SUBTITLES:' || die
-
- # do not install deprecated fonts, do not install in /etc/vdr/plugin config dir
- sed -i Makefile \
- -e "s:install-res install-conf::" || die
-
- # ttf-bitstream-vera deprecated, bug #335782
- sed -e "s:Vera:arial:" -i skins.c || die
-
- # fix deprecated warnings pkg-config
- sed -i Makefile \
- -e "s:gdlib-config:pkg-config gdlib:" || die
-
- # 786492
- sed -e "s|=min|=std::min|" -i genindex/pes.c || die
-
- fix_vdr_libsi_include scanner.c
-}
-
-src_install() {
- vdr-plugin-2_src_install
-
- insinto /usr/share/vdr/burn
- doins "${S}"/resource/menu-silence.mp2
- newins "${S}"/resource/menu-button.png menu-button-default.png
- newins "${S}"/resource/menu-bg.png menu-bg-default.png
-
- newins "${S}"/config/ProjectX.ini projectx-vdr.ini
-
- dosym menu-bg-default.png /usr/share/vdr/burn/menu-bg.png
- dosym menu-button-default.png /usr/share/vdr/burn/menu-button.png
-
- insinto /usr/share/vdr/burn/counters/
- doins "${S}/config/counters/standard"
-
- fowners -R vdr:vdr /usr/share/vdr/burn
-}
-
-pkg_preinst() {
- if [[ -d ${EROOT}/etc/vdr/plugins/burn && ( ! -L ${EROOT}/etc/vdr/plugins/burn ) ]]; then
- einfo "Moving /etc/vdr/plugins/burn away"
- mv "${EROOT}"/etc/vdr/plugins/burn "${EROOT}"/etc/vdr/plugins/burn_old
- fi
-}
-
-pkg_postinst() {
- vdr-plugin-2_pkg_postinst
-
- if [[ -e ${EROOT}/etc/vdr/reccmds/reccmds.burn.conf ]]; then
- eerror "\nPlease remove the following unneeded file:"
- eerror "\t/etc/vdr/reccmds/reccmds.burn.conf\n"
- fi
-}