summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2021-05-01 16:33:38 +0200
committerJoerg Bornkessel <hd_brummy@gentoo.org>2021-05-01 16:40:15 +0200
commit2d73a1334a11db48ea5c2dbb7b5a3337ca37aed5 (patch)
treef15fdb312ff383ba5c53aa7604f5e97b755b2913
parentnet-misc/openssh: remove libressl support (diff)
downloadgentoo-2d73a1334a11db48ea5c2dbb7b5a3337ca37aed5.tar.gz
gentoo-2d73a1334a11db48ea5c2dbb7b5a3337ca37aed5.tar.bz2
gentoo-2d73a1334a11db48ea5c2dbb7b5a3337ca37aed5.zip
media-plugins/vdr-dvd: eapi 7 version added
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
-rw-r--r--media-plugins/vdr-dvd/vdr-dvd-0.3.7_pre20090106-r2.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/media-plugins/vdr-dvd/vdr-dvd-0.3.7_pre20090106-r2.ebuild b/media-plugins/vdr-dvd/vdr-dvd-0.3.7_pre20090106-r2.ebuild
new file mode 100644
index 00000000000..66fe021ee77
--- /dev/null
+++ b/media-plugins/vdr-dvd/vdr-dvd-0.3.7_pre20090106-r2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit vdr-plugin-2
+
+MY_P=${PN}-cvs-${PV#*_pre}
+S=${WORKDIR}/${MY_P#vdr-}
+
+DESCRIPTION="VDR Plugin: DVD-Player"
+HOMEPAGE="https://sourceforge.net/projects/dvdplugin"
+SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=media-video/vdr-1.6.0
+ >=media-libs/libdvdnav-4.2.0
+ >=media-libs/a52dec-0.7.4"
+DEPEND="${RDEPEND}"
+
+# vdr-plugin-2.eclass fix
+KEEP_I18NOBJECT="yes"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-compile_warnings.diff
+ "${FILESDIR}"/${P}-fix-dvdnav-using-c++-keywords.patch
+ )
+
+src_prepare() {
+ vdr-plugin-2_src_prepare
+
+ if has_version ">=media-video/vdr-2.1.3"; then
+ sed -i player-dvd.c -e "s:DeviceTrickSpeed(sp):DeviceTrickSpeed(sp,true):"
+ fi
+}