diff options
author | Martin Dummer <martin.dummer@gmx.net> | 2022-02-12 15:59:14 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-02-13 22:34:40 +0100 |
commit | a4981ac115ee3c2dded2c211045e43ab9c67c6f1 (patch) | |
tree | ff2a3d776c6d8eb7888b2df02539b368106f0280 /media-tv | |
parent | dev-python/scipy: Fix src_prepare phase on x86 (diff) | |
download | gentoo-a4981ac115ee3c2dded2c211045e43ab9c67c6f1.tar.gz gentoo-a4981ac115ee3c2dded2c211045e43ab9c67c6f1.tar.bz2 gentoo-a4981ac115ee3c2dded2c211045e43ab9c67c6f1.zip |
media-tv/gentoo-vdr-scripts: finalize migrate to GLEP 81
version bump to 3.0_rc2
Closes: https://github.com/gentoo/gentoo/pull/24170
Closes: https://bugs.gentoo.org/781344
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/gentoo-vdr-scripts/Manifest | 1 | ||||
-rw-r--r-- | media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-3.0_rc2-r1.ebuild | 63 | ||||
-rw-r--r-- | media-tv/gentoo-vdr-scripts/metadata.xml | 8 |
3 files changed, 72 insertions, 0 deletions
diff --git a/media-tv/gentoo-vdr-scripts/Manifest b/media-tv/gentoo-vdr-scripts/Manifest index 73f54d566e10..781a68cca916 100644 --- a/media-tv/gentoo-vdr-scripts/Manifest +++ b/media-tv/gentoo-vdr-scripts/Manifest @@ -1,2 +1,3 @@ DIST gentoo-vdr-scripts-2.8.tar.bz2 49662 BLAKE2B 1a49d03441c991f6aa08cefc3b6d3a926a18ef7cb6c97bef886f922901f681ab95e9b60648d3930136148dafdf87f702d564e5a89fb6945ef9ed0cec1c2fbbaa SHA512 587bfc329efb92f1d9d9f87b3eb88ff9c74f92587d20c1489e67c861c769f9cb307bd6314aa88dc7d2a1400bc408033b913093b8f219fa59857638f2d062eecf DIST gentoo-vdr-scripts-2.8.tbz2 49484 BLAKE2B 6b746e69ae396225c7def07d4d177f71690793eeac51202f8a5c33c20a089d6537e84ed2784f8b85cf04285fbf7288f26bfa45b7e984f8ad18ad54d122fe5b94 SHA512 3d47b8d048ae8c1e218ba825731f73562ee34e02388361f41fcc9aec5b4d54c6f66338b26cf17742b39c86a9676bf26bc9b6b2bd3249b798e1e3de61eb8ef355 +DIST gentoo-vdr-scripts-3.0_rc2.tar.gz 59284 BLAKE2B 88666442e27646a06a1e7d4b7389a02196b48eee3a14c20c70281b5db862237cac8982e989628810e5c6721ebca32347fbf2a80f29e0ff2d839760f076d50d2a SHA512 d1ba41190565a129b6bd69aedd32590a5479a6390fb17a8d2a9e8926dd35260b3581b25b049da84e35e0d047b81c326512b67d45b488aa60ad10acafe93432d9 diff --git a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-3.0_rc2-r1.ebuild b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-3.0_rc2-r1.ebuild new file mode 100644 index 000000000000..8426670125a1 --- /dev/null +++ b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-3.0_rc2-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit tmpfiles user-info + +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://github.com/madmartin/gentoo-vdr-scripts/archive/refs/tags/${P}.tar.gz" +S="${WORKDIR}/${PN}-${P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" + +DEPEND=" + acct-group/vdr + acct-user/vdr" +RDEPEND="${DEPEND} + app-admin/sudo + sys-process/wait_on_pid" +BDEPEND="${DEPEND}" + +src_install() { + default + + local VDR_HOME="$(egethome vdr)" + einfo "VDR_HOME=${VDR_HOME}" + diropts -ovdr -gvdr + keepdir "${VDR_HOME}/shutdown-data" "${VDR_HOME}/merged-config-files" "${VDR_HOME}/dvd-images" +} + +pkg_postinst() { + tmpfiles_process "${PN}.conf" + + 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 "Read about it in /usr/share/doc/${PF}/README.systemd" + + elog "Plugins which should be used are configured in" + elog "the config-file /etc/conf.d/vdr.plugins" + elog "or enable/disable them with \"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 + + if grep -q /usr/share/vdr/bin/vdrshutdown-really.sh "${EROOT}"/etc/sudoers; then + ewarn "Please remove the following deprecated line from /etc/sudoers:" + ewarn " vdr ALL=NOPASSWD:/usr/share/vdr/bin/vdrshutdown-really.sh" + ewarn "sudoers handling is now 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 2b167a7461de..b4dbb6eb43d2 100644 --- a/media-tv/gentoo-vdr-scripts/metadata.xml +++ b/media-tv/gentoo-vdr-scripts/metadata.xml @@ -1,6 +1,14 @@ <?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> |