summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2012-07-05 19:52:56 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2012-07-05 19:52:56 +0000
commit168a5754c769682ef89d41f9f28381553c5a121a (patch)
tree3c46997a4370d491c816919fdc97907e05d5e646 /media-plugins/vdr-devstatus
parentRe-sign manifest. (diff)
downloadgentoo-2-168a5754c769682ef89d41f9f28381553c5a121a.tar.gz
gentoo-2-168a5754c769682ef89d41f9f28381553c5a121a.tar.bz2
gentoo-2-168a5754c769682ef89d41f9f28381553c5a121a.zip
eapi=4; vdr-plugin-2.eclass; fixed compile on >=vdr-1.7.28; thanks to negril @ IRC #gentoo-vdr
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'media-plugins/vdr-devstatus')
-rw-r--r--media-plugins/vdr-devstatus/ChangeLog9
-rw-r--r--media-plugins/vdr-devstatus/vdr-devstatus-0.4.1.ebuild16
2 files changed, 19 insertions, 6 deletions
diff --git a/media-plugins/vdr-devstatus/ChangeLog b/media-plugins/vdr-devstatus/ChangeLog
index b4bdd99b5bb2..29fa008aa03a 100644
--- a/media-plugins/vdr-devstatus/ChangeLog
+++ b/media-plugins/vdr-devstatus/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-plugins/vdr-devstatus
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-devstatus/ChangeLog,v 1.4 2011/01/28 18:55:49 hd_brummy Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-devstatus/ChangeLog,v 1.5 2012/07/05 19:52:56 hd_brummy Exp $
+
+ 05 Jul 2012; Joerg Bornkessel <hd_brummy@gentoo.org>
+ vdr-devstatus-0.4.1.ebuild:
+ eapi=4; vdr-plugin-2.eclass; fixed compile on >=vdr-1.7.28; thanks to negril
+ @ IRC #gentoo-vdr
28 Jan 2011; Joerg Bornkessel <hd_brummy@gentoo.org>
-vdr-devstatus-0.2.0.ebuild, -vdr-devstatus-0.4.0.ebuild,
diff --git a/media-plugins/vdr-devstatus/vdr-devstatus-0.4.1.ebuild b/media-plugins/vdr-devstatus/vdr-devstatus-0.4.1.ebuild
index e54c9383a048..854650ca7855 100644
--- a/media-plugins/vdr-devstatus/vdr-devstatus-0.4.1.ebuild
+++ b/media-plugins/vdr-devstatus/vdr-devstatus-0.4.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-devstatus/vdr-devstatus-0.4.1.ebuild,v 1.2 2011/01/28 18:55:49 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-devstatus/vdr-devstatus-0.4.1.ebuild,v 1.3 2012/07/05 19:52:56 hd_brummy Exp $
-EAPI="3"
+EAPI="4"
-inherit vdr-plugin
+inherit vdr-plugin-2
DESCRIPTION="VDR plugin: displays the usage status of the available devices."
HOMEPAGE="http://www.u32.de/vdr.html"
@@ -17,3 +17,11 @@ IUSE=""
DEPEND=">=media-video/vdr-1.6.0"
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\):" devstatus.c
+ fi
+}