summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-dvdswitch
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-dvdswitch')
-rw-r--r--media-plugins/vdr-dvdswitch/Manifest7
-rw-r--r--media-plugins/vdr-dvdswitch/files/confd17
-rw-r--r--media-plugins/vdr-dvdswitch/metadata.xml27
-rw-r--r--media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.2.ebuild30
-rw-r--r--media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.3-r1.ebuild32
5 files changed, 68 insertions, 45 deletions
diff --git a/media-plugins/vdr-dvdswitch/Manifest b/media-plugins/vdr-dvdswitch/Manifest
index 03a34d9ea112..ddd474ffd1e4 100644
--- a/media-plugins/vdr-dvdswitch/Manifest
+++ b/media-plugins/vdr-dvdswitch/Manifest
@@ -1,7 +1,8 @@
AUX 0.1.3/confd-r2 442 BLAKE2B 8a2aeaced6dd39881dea514730e3ad1bd96670894704876e62da9228992b5ef598faaa45572efd7a6e4f0a688937b1794ffed4c2b1e9472bc009acfdf8b27c0a SHA512 1fac756d1322e725a1fe54722be3066bda937867d3c13370a24e20218ec5f7c1b82e8e18c4e3e7b7a633facb2d008ed0159113260b59c6a0909bd7b9b1c69520
+AUX confd 441 BLAKE2B cafcfec3900950dcdea39f5dd3c1dd7f5fffc4512173bcfbe0384e0539887e02cb92a0c0557be91ad3280fcd21f25b8fc1b05e860449f87145838b7ea81de024 SHA512 5dd3fcff34871d46bb118994b016f603dba1a6ca0ff9f8b2a2f023e420381e05c41a85865f1f7273240f044c18e2a54b254b3745aa89582167dabd3660fb64fb
AUX rc-addon.sh 313 BLAKE2B 50098e5fe29f09a5841a253965ecfeae132b5991874768baa6358b5a83ad1bdd313650389309071bd0151a5ab241a7d9279400a86a3b37d12a7529982f9b1c22 SHA512 b886ace30d15a3b61f03caf3c34928ad39c05a00fdaec1f46619297c79a8f00b4be5f08a0e16e129208801de8c45a87dbdf99d0ea9ecb390348919ea12c85c07
-DIST vdr-dvdswitch-0.2.2.tgz 50332 BLAKE2B c84fe0c1525a037bb3509d240f6d2fcdf41560a705d064167f5a21316e33ce7dc0b072367a393ddf245e0a8a3c3a5dbb795bb2e61c0ef6d80507dbf069b082d8 SHA512 37a89f33a2280823a885fdb8aa4919c7bc438c26ba6273ec25a7c980d7dac6c57df125f560b6f2f04d46a1db623c129a6e598d61cde66f5944e5b349d65ffeb8
+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
-EBUILD vdr-dvdswitch-0.2.2.ebuild 679 BLAKE2B 71674fcf19f0d25d6d179a566b2ee752564612d22b9e049f843432f39df7e683562c22b8c9c7296168171e92a68e414f091c854cdc0e38e37402a443c859e8ab SHA512 b4833e10ca2e86c0f35aeebf8752cfbee8d5c9ca8d4022737c8aa5bd7f106353cf5d28436c7be11a1e36b39ae329bcb6625b415e30f42f7231193349401e2402
+EBUILD vdr-dvdswitch-0.2.3-r1.ebuild 821 BLAKE2B dc897a6a4045623c13738a265303f6c939d05ecd6671bda25947f8e6b3f37e42106b9eff50af674e3556e0867ebb167106461252be707c9ca495e5d4a747c6a5 SHA512 1a7ee4e892657dbb58bddbfba96d269fce4ec7c02f8079dc9be7e06da9dcfba61519e17ac624641152bf97060dee0c6b206ad2670d92fb25fcd9a3a447ca25f2
EBUILD vdr-dvdswitch-0.2.3.ebuild 672 BLAKE2B 6878e720d5f5ea8268e0a2a824f8f1f33a6f39653fbeadfedc50f4b047539098dbfa994a2e51e18c38079cae875f0cb335d4bad5eff2af5923830033b0d4e4f5 SHA512 549b3666e0ea49b02ea4ecaff8d1d2980aa41788f2d39968b6e3d6e0880c58f5f22452eea81a54c1124946ae5c0747e4929d8905d7c3d1fce912183619ba63f2
-MISC metadata.xml 562 BLAKE2B 6842a986585fef14cb5a59770ccbc727780d557c0368ede0e95a626c0ce89cb1374b87eb46bf1fad16531a6ec8b2fff3dcb6f5c0ed2f720323cc2efc4da9323b SHA512 19bdf1975d33057edf68b346c990a7524c4d8c8889ccf2a6314b239c28c7fcab1641321b1ebde4b7a66d66b901641b5e10d535fa735fdd483463bf105542bda8
+MISC metadata.xml 606 BLAKE2B 088e2346fef126c119f3f21260480a05802d6f3bdbc67242dd85765e2f6101afcaa48df01532f5162585e9c39bd10931f66a5fbe1db0bb3fbc4a5dcfdc388daa SHA512 b3fdfd8a4d81be340da77b85b0af7a64d0dbe952e86d30d733d49141d2123a7edf325a53421e3ad3cdba0e3dbd5f1dace2a60a6b80830c0c8816248768b25bc2
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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>martin.dummer@gmx.net</email>
- <name>Martin Dummer</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <maintainer type="project">
- <email>vdr@gentoo.org</email>
- <name>Gentoo VDR Project</name>
- </maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>martin.dummer@gmx.net</email>
+ <name>Martin Dummer</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>vdr@gentoo.org</email>
+ <name>Gentoo VDR Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">vdr-projects/vdr-plugin-dvdswitch</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.2.ebuild b/media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.2.ebuild
deleted file mode 100644
index 535cea6df0ce..000000000000
--- a/media-plugins/vdr-dvdswitch/vdr-dvdswitch-0.2.2.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit vdr-plugin-2
-
-VERSION="1323" # every bump, new version
-
-DESCRIPTION="VDR Plugin: to play dvds and dvd file structures"
-HOMEPAGE="https://projects.vdr-developer.org/projects/plg-dvdswitch"
-SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND=">=media-video/vdr-2"
-RDEPEND="media-plugins/vdr-dvd"
-
-DEFAULT_IMAGE_DIR="/var/vdr/video/dvd-images"
-
-VDR_CONFD_FILE="${FILESDIR}/0.1.3/confd-r2"
-
-src_prepare() {
- vdr-plugin-2_src_prepare
-
- sed -e "s:/video/dvd:${DEFAULT_IMAGE_DIR}:" -i setup.c
-}
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
+}