From 0c7afde48c530a06233dc91bd46ce5a2d7400300 Mon Sep 17 00:00:00 2001 From: Martin Dummer Date: Sun, 21 Jul 2024 20:36:12 +0200 Subject: media-plugins/vdr-osdteletext: add 2.3.1_p20211217 Signed-off-by: Martin Dummer Signed-off-by: Joonas Niilola --- media-plugins/vdr-osdteletext/Manifest | 1 + media-plugins/vdr-osdteletext/metadata.xml | 3 ++ .../vdr-osdteletext-2.3.1_p20211217.ebuild | 45 ++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 media-plugins/vdr-osdteletext/vdr-osdteletext-2.3.1_p20211217.ebuild diff --git a/media-plugins/vdr-osdteletext/Manifest b/media-plugins/vdr-osdteletext/Manifest index af4e3d1aba2b..ff8d68487b3a 100644 --- a/media-plugins/vdr-osdteletext/Manifest +++ b/media-plugins/vdr-osdteletext/Manifest @@ -1,2 +1,3 @@ DIST vdr-osdteletext-0.9.8.tar.gz 100954 BLAKE2B def803093a3726a7c9b1905e04e5790ad3959d8d66664ccc3b0147cf4ed5ff37389525cbc1504fed7e8da782c5c9e58128e35c6adaa1f4ab04ad15cc3e2ae8ba SHA512 48196382fba247ac3d0140d028e23a3474e9a3b440c33b7a27e6127abfa949b1a7ab6748416d3430b68a80830bfbff1831de9d7e902ff9701b9dfd2d873a1f58 DIST vdr-osdteletext-2.3.1.tar.gz 132544 BLAKE2B 33f62e53f6b960322b6e68e9dc1cc449f2d050fa0de22777a68c565233a3d7f509ea3826671fc06aaec7b3a1b9c996efad6e20317b070680d5b7aad87bba90d9 SHA512 1ffeebd35693a6fb41fd0c422e86ec2fdf4dfce5ffbdabd3da65421e50e390c68d9c0a38d5fca8bc65ff65bc2e4d529e520ea52ee304659cde2a337b3bce4a48 +DIST vdr-osdteletext-2.3.1_p20211217.tar.gz 133999 BLAKE2B 5d1645708331582c2d426fc67177fa4011a66adfbbe096f0969ae115a731f1fe1b7eb000af8175a2f96083fd1fe60be9cd924cf4055c24a803f659901b2564c9 SHA512 cf52007a011130b9363550da57af26901157159ef2f79976ec090ed537e8873bac3b8b95dcd5265134321a26ded8a20c9c1939393a8530c89ecbac7e3a8a85db diff --git a/media-plugins/vdr-osdteletext/metadata.xml b/media-plugins/vdr-osdteletext/metadata.xml index b4dbb6eb43d2..9aed06994d56 100644 --- a/media-plugins/vdr-osdteletext/metadata.xml +++ b/media-plugins/vdr-osdteletext/metadata.xml @@ -13,4 +13,7 @@ vdr@gentoo.org Gentoo VDR Project + + vdr-projects/vdr-plugin-osdteletext + diff --git a/media-plugins/vdr-osdteletext/vdr-osdteletext-2.3.1_p20211217.ebuild b/media-plugins/vdr-osdteletext/vdr-osdteletext-2.3.1_p20211217.ebuild new file mode 100644 index 000000000000..3f829960cf2c --- /dev/null +++ b/media-plugins/vdr-osdteletext/vdr-osdteletext-2.3.1_p20211217.ebuild @@ -0,0 +1,45 @@ +# Copyright 2024 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" +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." +} -- cgit v1.2.3-65-gdbad