1 # Copyright 2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 VERSION="2161" # every bump, new version
10 DESCRIPTION="VDR Plugin: Osd-Teletext displays the teletext on the OSD"
11 HOMEPAGE="https://projects.vdr-developer.org/projects/plg-osdteletext"
12 SRC_URI="https://projects.vdr-developer.org/attachments/download/${VERSION}/${P}.tgz"
14 LICENSE="GPL-2+ public-domain" #teletext2.ttf, not copyrightable
16 KEYWORDS="~amd64 ~x86"
18 DEPEND="media-video/vdr"
21 VDR_RCADDON_FILE="${FILESDIR}/rc-addon-v3.sh"
22 VDR_CONFD_FILE="${FILESDIR}/confd-v2"
25 usr/lib/vdr/plugins/libvdr-.*
26 usr/lib64/vdr/plugins/libvdr-.*"
29 vdr-plugin-2_src_install
31 insinto /etc/sudoers.d
33 newins "${FILESDIR}/vdr-osdteletext.sudo" vdr-osdteletext
35 local vdr_user_home="/var/vdr"
36 insinto "${vdr_user_home}/.local/share/fonts/"
39 fowners -R vdr:vdr "${vdr_user_home}/.local"
43 elog "This ebuild has installed a special teletext font"
44 elog "named \"teletext2\""
45 elog "You may go to the plugin's setup menu and select"