From bd157823b0d13c26039c16ab449f5bc9811c6a40 Mon Sep 17 00:00:00 2001 From: Martin Dummer Date: Mon, 7 Feb 2022 00:42:41 +0100 Subject: media-plugins/vdr-dvdswitch: update HOMEPAGE, SRC_URI media-plugins/vdr-dvdswitch: fix vdr home directory handling new acct-user/vdr dependency needs new home directory handling Signed-off-by: Martin Dummer Closes: https://github.com/gentoo/gentoo/pull/24100 Signed-off-by: Conrad Kostecki --- media-plugins/vdr-dvdswitch/Manifest | 1 + media-plugins/vdr-dvdswitch/files/confd | 17 ++++++++++++ media-plugins/vdr-dvdswitch/metadata.xml | 27 ++++++++++-------- .../vdr-dvdswitch/vdr-dvdswitch-0.2.3-r1.ebuild | 32 ++++++++++++++++++++++ 4 files changed, 65 insertions(+), 12 deletions(-) create mode 100644 media-plugins/vdr-dvdswitch/files/confd create mode 100644 media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.3-r1.ebuild (limited to 'media-plugins') diff --git a/media-plugins/vdr-dvdswitch/Manifest b/media-plugins/vdr-dvdswitch/Manifest index 422d1c4b810a..220697130428 100644 --- a/media-plugins/vdr-dvdswitch/Manifest +++ b/media-plugins/vdr-dvdswitch/Manifest @@ -1 +1,2 @@ +DIST vdr-dvdswitch-0.2.3.tar.gz 47597 BLAKE2B 27787afb9ef30dd4e7e6caf419d40b08a7ac5b9a3de08cc058c96ca8b1c7c3b1f2bde429bd974b40fe115aa635b2d4a2b95aec0cfe65b9c7a7801026eeda3371 SHA512 915e08849d737e48e2ba294dbd755b62ac278bc3798a10aea7d6d0ee28e84d3055683301ec2955c6f4a871f4a61ef2206df435b247e62e051ddae527b2dcd2be DIST vdr-dvdswitch-0.2.3.tgz 48515 BLAKE2B 5a342a518be0729be114500fe50d47330aa319fc84ef90e3fc1384be91b8e79748bf6c4301e549d7a7ce9d6d3b466ce89dfbba3f979be0e6927e7d8a4dcb6c06 SHA512 2c27b28a9b68f4880396c7297358eecb13d76341c98902c02eca86ef366709f38cba414b3e94445c52b56816e37e742340c93145816f5bae1b7ffca0bcd48df7 diff --git a/media-plugins/vdr-dvdswitch/files/confd b/media-plugins/vdr-dvdswitch/files/confd new file mode 100644 index 000000000000..f8e809bd127b --- /dev/null +++ b/media-plugins/vdr-dvdswitch/files/confd @@ -0,0 +1,17 @@ +# Global config file for vdrplugin dvdswitch + +# Script to use for reading DVDs +# default: Use standard-script +# +#DVDSWITCH_READ_DVD="/usr/share/vdr/dvdchanger/dvdchanger_readdvd.sh" + +# Script to use for writing DVDs +# default: Use standard-script +# +#DVDSWITCH_WRITE_DVD="/usr/share/vdr/dvdchanger/dvdchanger_writedvd.sh" + +# Slow down the burn speed +# parameters are numeric ( 1 ... n ) +# default: 0 (unbreaked) +# +#DVDSWITCH_BURNSPEED="0" diff --git a/media-plugins/vdr-dvdswitch/metadata.xml b/media-plugins/vdr-dvdswitch/metadata.xml index c08751971fb3..167b64f32c4b 100644 --- a/media-plugins/vdr-dvdswitch/metadata.xml +++ b/media-plugins/vdr-dvdswitch/metadata.xml @@ -1,16 +1,19 @@ - - martin.dummer@gmx.net - Martin Dummer - - - proxy-maint@gentoo.org - Proxy Maintainers - - - vdr@gentoo.org - Gentoo VDR Project - + + martin.dummer@gmx.net + Martin Dummer + + + proxy-maint@gentoo.org + Proxy Maintainers + + + vdr@gentoo.org + Gentoo VDR Project + + + vdr-projects/vdr-plugin-dvdswitch + diff --git a/media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.3-r1.ebuild b/media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.3-r1.ebuild new file mode 100644 index 000000000000..c2473144d6e3 --- /dev/null +++ b/media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.3-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit user-info vdr-plugin-2 + +DESCRIPTION="VDR Plugin: to play dvds and dvd file structures" +HOMEPAGE="https://github.com/vdr-projects/vdr-plugin-dvdswitch" +SRC_URI="https://github.com/vdr-projects/vdr-plugin-dvdswitch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/vdr-plugin-dvdswitch-${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="acct-user/vdr + media-video/vdr" +DEPEND="${BDEPEND}" +RDEPEND="${DEPEND} + media-plugins/vdr-dvd" + +QA_FLAGS_IGNORED=" + usr/lib/vdr/plugins/libvdr-.* + usr/lib64/vdr/plugins/libvdr-.*" + +src_prepare() { + vdr-plugin-2_src_prepare + + local vdr_user_home=$(egethome vdr) + sed -e "s:/video/dvd:${vdr_user_home}/video/dvd-images:" -i setup.c || die +} -- cgit v1.2.3-65-gdbad