summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/gentoo-vdr-scripts/Manifest20
-rw-r--r--media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-3.0_rc1.ebuild80
-rw-r--r--media-tv/gentoo-vdr-scripts/metadata.xml18
3 files changed, 102 insertions, 16 deletions
diff --git a/media-tv/gentoo-vdr-scripts/Manifest b/media-tv/gentoo-vdr-scripts/Manifest
index 9482396..27adb9a 100644
--- a/media-tv/gentoo-vdr-scripts/Manifest
+++ b/media-tv/gentoo-vdr-scripts/Manifest
@@ -1,20 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+DIST gentoo-vdr-scripts-3.0_rc1.tar.bz2 46962 BLAKE2B ad790680a5ece8df15939b09cb8cd389c89d4f262fcc1734936b0d6c42f546106d411b07be81b0471daa2b7f397fd4bfa935a9f4674b734d0b8b8cf4725c9467 SHA512 06db8eef1061fa87f887adea5194ea79997329c5145631c3009cf8247782000d3401bc492a519ff05ab5add95f7d9583882910fc72ab563935c6ee3965ba17f0
+EBUILD gentoo-vdr-scripts-3.0_rc1.ebuild 2291 BLAKE2B 38a0375c40a6b3015a029e39ca7c10a5634791f0979f3743c3c4a353835e8bf5cf46ee84c39df0bf7107829d5e3d1ce129eec137d0856a7878511ef5f025e31a SHA512 7825b841e4346a9cbd12bcb30e53671003fde89ddad80b4d5fe1b994166dcac59d6ab7d958bf4c424854d2ff25a9668f59f564fe002f71c7ddf2e1b9377ecabe
EBUILD gentoo-vdr-scripts-9999.ebuild 1035 BLAKE2B 1772fdf80fe7508d84679b73ae68db510c093b93e2fd6421d4d22fdd1381321bd9ec76a4f8d8c7c13b2401737e3ae1b944b53efc95b6799e48af250564b80a81 SHA512 efe0d3f3709c1efbe98e6d238faa5fd5fdbc11e8a13642804753970289603cb7a3fcd564294288799e645311db04ff5cfdd60ea1a3e5bdcd04868ed2d0b8e2c0
-MISC metadata.xml 354 BLAKE2B 74ce746b4c49b338ad17df430f4aa1c11cad86684bf3c3003f2c2c2fc979435b53b5e30a997f009c53ea57d8441d09cc113b45ceaabc0a1d62f58e78ba73daae SHA512 9607950224075c12bcd9a43aef5cc3dd640cedee6689986713b10b2df1441a7694f8a527f03b66c15139dcaab917249ebd0899031432f545fe74a62aeabdce9d
+MISC metadata.xml 456 BLAKE2B c703bb7781705223a6a89957a45e4215b83aec3830a158ed15d1d1a812cc6ac6a04d924f07e7de14ce51252f2056cc7e1d5c434ba37e275ef0097a2ee0a44ccf SHA512 4d568a384c73d5c3750cfa2248d3ec37d9e92dfc9c0c7b51fc8c840cf0fe499546f492b7b84cd79e1700050f329c4ac43879fe0a77d21d480f1a55e9ff3f3e0f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Signed-off-by: Jörg Bornkessel <hd_brummy@gentoo.org>
-iQGTBAEBCAB9FiEEmjwdqGe+yMep/PbRaMUd5tdw5KYFAl31lXFfFIAAAAAALgAo
+iQGTBAEBCAB9FiEEmjwdqGe+yMep/PbRaMUd5tdw5KYFAl4aKGJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDlB
M0MxREE4NjdCRUM4QzdBOUZDRjZEMTY4QzUxREU2RDc3MEU0QTYACgkQaMUd5tdw
-5KbTswgAmo9HPy0iX8goCbO7lB2P9zTU5b+T6u2UzTxA88I3fiFyA5jfit5dcUWA
-TrTHORRRbvemP2lvnq9qh+WA0tn5DYML0S+6jXtmqS43R5oxT3kzaN3tiX0Na7EY
-BAQgUPHEZsrM304BuYotq+LRWLUNdldTgDBDUaPpbqYXjEmEjMAXZ/J62IIWUKm0
-y18zuuKLbSihWyJ8OlG9sxy/X2X3c3tgs0BQWPGPjWSBnT9R7L4wA4L9DYJI/kRc
-wPW+yhzeNad8VbW+FkS3wVgIlrHeo0URjtA37DqmX0nHNuHzsfjV8GYYzpposZSZ
-3yKHzicBjrUAOcul2Uk5JktT5kEfAA==
-=zOQV
+5KbtLgf/cU39QKJXaLzHcp+arPiJMS1aDJu2RrOPhXgM02GkR44w4X1hHqtrjeeT
+hq3E4S6XmIavF7rm4gOZd1Fs9LzMejumtaLz+cFSDgFKqsTD54kkNWpx/myoqGV7
+m6unH+2dOtaCelzaQk+KhlRHSSPf75zQXRqDReKSBc0ESo+w2mgeUxvO6PXnGflX
+2u3xg2DE/KW5EhVbzkvA2w0A9BdoceZ2+WM9bHx49qwBwd70QbabgS1sDAueCewK
+OhNGvV7fwsmMYCwPhplsM3n5JtPmmg5pxuSg7AVcijwMXg3oh4SwRTQdeE/IvVDW
+19HYJaqui5snWUa7UqKNP7JM6wEhbw==
+=pPNz
-----END PGP SIGNATURE-----
diff --git a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-3.0_rc1.ebuild b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-3.0_rc1.ebuild
new file mode 100644
index 0000000..b683a0d
--- /dev/null
+++ b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-3.0_rc1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Scripts necessary for use of vdr as a set-top-box"
+HOMEPAGE="https://gitweb.gentoo.org/proj/gentoo-vdr-scripts.git/about/"
+SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="acct-group/vdr
+ acct-user/vdr"
+RDEPEND="app-admin/sudo
+ sys-process/wait_on_pid"
+
+S="${WORKDIR}/${PN}-${GVS_VERSION}"
+
+VDR_HOME=/var/vdr
+
+#pkg_setup() {
+# enewgroup vdr
+
+ # Add user vdr to these groups:
+ # video - accessing dvb-devices
+ # audio - playing sound when using software-devices
+ # cdrom - playing dvds/audio-cds ...
+# enewuser vdr -1 "${VDR_HOME}" vdr,video,audio,cdrom
+#}
+
+src_install() {
+ default
+
+ # create necessary directories
+ diropts -ovdr -gvdr
+ keepdir "${VDR_HOME}"
+
+ keepdir "${VDR_HOME}/shutdown-data"
+ keepdir "${VDR_HOME}/merged-config-files"
+ keepdir "${VDR_HOME}/dvd-images"
+}
+
+VDRSUDOENTRY="vdr ALL=NOPASSWD:/usr/share/vdr/bin/vdrshutdown-really.sh"
+
+pkg_postinst() {
+ elog "${CATEGORY}/${PN} supports an init script"
+ elog "to start a X server"
+ elog "Please refer for detailed info to"
+ elog "/usr/share/doc/${PF}/README.x11-setup\n"
+
+ elog "systemd is supported by ${CATEGORY}/${PN}"
+ elog "This are described in the README.systemd file"
+ elog "in /usr/share/doc/${PF}/"
+
+ einfo "nvram wakeup is supported optional."
+ einfo "To make use of it emerge sys-power/nvram-wakeup.\n"
+
+ elog "Plugins which should be used are set via"
+ elog "the config-file called /etc/conf.d/vdr.plugins"
+ elog "or enabled them via the frontend eselect vdr-plugin.\n"
+
+ if [[ -f "${EROOT}"/etc/conf.d/vdr.dvdswitch ]] &&
+ grep -q ^DVDSWITCH_BURNSPEED= "${EROOT}"/etc/conf.d/vdr.dvdswitch
+ then
+ ewarn "You are setting DVDSWITCH_BURNSPEED in /etc/conf.d/vdr.dvdswitch"
+ ewarn "This no longer has any effect, please use"
+ ewarn "VDR_DVDBURNSPEED in /etc/conf.d/vdr.cd-dvd"
+ fi
+
+ # backup routine for old /etc/sudoers entry
+ if grep -q /usr/share/vdr/bin/vdrshutdown-really.sh "${EROOT}"/etc/sudoers; then
+ ewarn "Please remove depricated entry from /etc/sudoers:"
+ ewarn "${VDRSUDOENTRY}"
+ ewarn "sudoers handling is supported by:"
+ ewarn "/etc/sudoers.d/vdr"
+ fi
+}
diff --git a/media-tv/gentoo-vdr-scripts/metadata.xml b/media-tv/gentoo-vdr-scripts/metadata.xml
index 973d978..769dab2 100644
--- a/media-tv/gentoo-vdr-scripts/metadata.xml
+++ b/media-tv/gentoo-vdr-scripts/metadata.xml
@@ -1,11 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>vdr@gentoo.org</email>
- <name>Gentoo VDR Project</name>
- </maintainer>
- <use>
- <flag name="nvram">Add support for using nvram-wakeup to set wakeup time in bios</flag>
- </use>
+<maintainer type="person">
+ <email>hd_brummy@gentoo.org</email>
+ <name>Joerg Bornkessel</name>
+</maintainer>
+<maintainer type="project">
+ <email>vdr@gentoo.org</email>
+ <name>Gentoo VDR Project</name>
+</maintainer>
+<use>
+ <flag name="nvram">Add support for using nvram-wakeup to set wakeup time in bios</flag>
+</use>
</pkgmetadata>