summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2012-07-05 19:33:27 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2012-07-05 19:33:27 +0000
commit934b3f010e8af9fa8cdf3552193aab0857a561df (patch)
tree615b3f169a85dd2a5ffb315e2c316e1732e2b2ae /media-plugins/vdr-recstatus/vdr-recstatus-0.0.8.ebuild
parentmarked x86 per bug 421475 (diff)
downloadhistorical-934b3f010e8af9fa8cdf3552193aab0857a561df.tar.gz
historical-934b3f010e8af9fa8cdf3552193aab0857a561df.tar.bz2
historical-934b3f010e8af9fa8cdf3552193aab0857a561df.zip
fixed for compile on >=vdr-1.7.28; thanks to negril @ IRC #gentoo-vdr
Package-Manager: portage-2.1.10.11/cvs/Linux i686
Diffstat (limited to 'media-plugins/vdr-recstatus/vdr-recstatus-0.0.8.ebuild')
-rw-r--r--media-plugins/vdr-recstatus/vdr-recstatus-0.0.8.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/media-plugins/vdr-recstatus/vdr-recstatus-0.0.8.ebuild b/media-plugins/vdr-recstatus/vdr-recstatus-0.0.8.ebuild
index a5b52dad0af4..55e9f77ce9e8 100644
--- a/media-plugins/vdr-recstatus/vdr-recstatus-0.0.8.ebuild
+++ b/media-plugins/vdr-recstatus/vdr-recstatus-0.0.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-recstatus/vdr-recstatus-0.0.8.ebuild,v 1.2 2012/05/06 19:39:19 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-recstatus/vdr-recstatus-0.0.8.ebuild,v 1.3 2012/07/05 19:33:27 hd_brummy Exp $
EAPI="4"
@@ -15,6 +15,13 @@ LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND=">=media-video/vdr-1.4.6"
-
+DEPEND=">=media-video/vdr-1.5.7"
RDEPEND="${DEPEND}"
+
+src_prepare() {
+ vdr-plugin-2_src_prepare
+
+ if has_version ">=media-video/vdr-1.7.28"; then
+ sed -i "s:SetRecording(\([^,]*\),[^)]*)):SetRecording(\1\):" recstatus.c
+ fi
+}