commit:     8fc9d684ba04ad85fb3029f399fc6cc57fcca357
Author:     Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
AuthorDate: Sun May  2 17:04:36 2021 +0000
Commit:     Jörg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
CommitDate: Sun May  2 17:53:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fc9d684

media-plugins/vdr-sleeptimer: tc-directly call fixed

Closes: https://bugs.gentoo.org/787497
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Joerg Bornkessel <hd_brummy <AT> gentoo.org>

 .../vdr-sleeptimer/vdr-sleeptimer-0.6-r1.ebuild    | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/media-plugins/vdr-sleeptimer/vdr-sleeptimer-0.6-r1.ebuild 
b/media-plugins/vdr-sleeptimer/vdr-sleeptimer-0.6-r1.ebuild
new file mode 100644
index 00000000000..e209261840c
--- /dev/null
+++ b/media-plugins/vdr-sleeptimer/vdr-sleeptimer-0.6-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit vdr-plugin-2
+
+DESCRIPTION="VDR Plugin: Sleeptimer"
+HOMEPAGE="http://linvdr.org/download/vdr-sleeptimer";
+SRC_URI="http://linvdr.org/download/vdr-sleeptimer/${VDRPLUGIN}-${PV}.tar.gz";
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.2.6"
+
+PATCHES=( "${FILESDIR}/${P}-includes.diff" )
+
+src_prepare() {
+       vdr-plugin-2_src_prepare
+
+       sed -i sleeptimer.c -e "s:RegisterI18n://RegisterI18n:"
+
+       # 787497
+       sed -e "s:MAKEDEP = g++:MAKEDEP = \$(CXX):" -i Makefile
+}

Reply via email to