commit:     6d29f8adf09613b6af246bc004be48be79472261
Author:     Martin Dummer <martin.dummer <AT> gmx <DOT> net>
AuthorDate: Sun Oct 19 19:36:32 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 20 09:38:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d29f8ad

media-plugins/vdr-osdteletext: change dependency

osdteletext needs media-video/vdr-2.4 or later
introduce subslot dependency on media-video/vdr

Closes: https://bugs.gentoo.org/949512
Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
Part-of: https://github.com/gentoo/gentoo/pull/44251
Closes: https://github.com/gentoo/gentoo/pull/44251
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../vdr-osdteletext-2.3.1_p20211217-r1.ebuild      | 45 ++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git 
a/media-plugins/vdr-osdteletext/vdr-osdteletext-2.3.1_p20211217-r1.ebuild 
b/media-plugins/vdr-osdteletext/vdr-osdteletext-2.3.1_p20211217-r1.ebuild
new file mode 100644
index 000000000000..8a4d0c1c93e7
--- /dev/null
+++ b/media-plugins/vdr-osdteletext/vdr-osdteletext-2.3.1_p20211217-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit user-info vdr-plugin-2
+
+GITHASH="cae4629f84886015b0619af6fdb1084853b80f93"
+DESCRIPTION="VDR Plugin: Osd-Teletext displays the teletext/videotext on the 
OSD"
+HOMEPAGE="https://github.com/vdr-projects/vdr-plugin-osdteletext/";
+SRC_URI="https://github.com/vdr-projects/vdr-plugin-osdteletext/archive/${GITHASH}.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/vdr-plugin-osdteletext-${GITHASH}"
+
+LICENSE="GPL-2+ public-domain" #teletext2.ttf, not copyrightable
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="acct-user/vdr"
+DEPEND=">=media-video/vdr-2.4:="
+RDEPEND="${DEPEND}"
+
+QA_FLAGS_IGNORED="
+       usr/lib/vdr/plugins/libvdr-.*
+       usr/lib64/vdr/plugins/libvdr-.*"
+
+src_install() {
+       vdr-plugin-2_src_install
+
+       insinto /etc/sudoers.d
+       insopts -m440
+       newins "${FILESDIR}/vdr-osdteletext.sudo" vdr-osdteletext
+
+       local vdr_user_home=$(egethome vdr)
+       insinto "${vdr_user_home}/.local/share/fonts/"
+       insopts -m444
+       doins teletext2.ttf
+       fowners -R vdr:vdr "${vdr_user_home}/.local"
+}
+
+pkg_postinst() {
+       elog "This ebuild has installed a special teletext font"
+       elog "named \"teletext2\""
+       elog "You may go to the plugin's setup menu and select"
+       elog "the font."
+}

Reply via email to