diff options
Diffstat (limited to 'media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.3.0-r3.ebuild')
-rw-r--r-- | media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.3.0-r3.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.3.0-r3.ebuild b/media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.3.0-r3.ebuild new file mode 100644 index 000000000000..53c7595a69f6 --- /dev/null +++ b/media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.3.0-r3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: displaying, recording and replaying teletext based subtitles" +HOMEPAGE="https://github.com/vdr-projects/vdr-plugin-ttxtsubs" +SRC_URI="https://github.com/vdr-projects/vdr-plugin-ttxtsubs/archive/refs/tags/v${PV}.tar.gz -> ${P}.tgz" +S="${WORKDIR}/vdr-plugin-ttxtsubs-${PV}" + +KEYWORDS="~amd64 ~arm ~x86" +SLOT="0" +LICENSE="GPL-2+" +IUSE="" + +DEPEND="media-video/vdr[ttxtsubs]" +RDEPEND="${DEPEND}" + +src_prepare() { + vdr-plugin-2_src_prepare + + eapply "${FILESDIR}/${P}_teletext-chars.patch" + + if has_version ">=media-video/vdr-2.4"; then + eapply "${FILESDIR}/${P}_vdr-2.4.0.patch" + fi +} |