summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2010-09-22 14:07:04 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2010-09-22 14:07:04 +0000
commite9f18bfe6fa18f2007c5a37ed0c82a606a6e829a (patch)
tree55baf608d486ee20641adef3749e0b0f4a3bf5cc /media-plugins
parentmeh, fix the upstream bug link. it was a dupe. (diff)
downloadgentoo-2-e9f18bfe6fa18f2007c5a37ed0c82a606a6e829a.tar.gz
gentoo-2-e9f18bfe6fa18f2007c5a37ed0c82a606a6e829a.tar.bz2
gentoo-2-e9f18bfe6fa18f2007c5a37ed0c82a606a6e829a.zip
version bump
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/vdr-extrecmenu/ChangeLog10
-rw-r--r--media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2-gcc44.patch23
-rw-r--r--media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.ebuild47
3 files changed, 78 insertions, 2 deletions
diff --git a/media-plugins/vdr-extrecmenu/ChangeLog b/media-plugins/vdr-extrecmenu/ChangeLog
index 876c3e85a671..44b4b0da9414 100644
--- a/media-plugins/vdr-extrecmenu/ChangeLog
+++ b/media-plugins/vdr-extrecmenu/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/vdr-extrecmenu
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extrecmenu/ChangeLog,v 1.25 2009/10/06 17:12:08 zzam Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extrecmenu/ChangeLog,v 1.26 2010/09/22 14:07:03 hd_brummy Exp $
+
+*vdr-extrecmenu-1.2 (22 Sep 2010)
+
+ 22 Sep 2010; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +vdr-extrecmenu-1.2.ebuild, +files/vdr-extrecmenu-1.2-gcc44.patch:
+ version bump
*vdr-extrecmenu-1.2_pre1-r1 (06 Oct 2009)
diff --git a/media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2-gcc44.patch b/media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2-gcc44.patch
new file mode 100644
index 000000000000..96fd9376eb53
--- /dev/null
+++ b/media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2-gcc44.patch
@@ -0,0 +1,23 @@
+diff -Naur extrecmenu-1.2.orig/mymenueditrecording.c extrecmenu-1.2/mymenueditrecording.c
+--- extrecmenu-1.2.orig/mymenueditrecording.c 2010-09-22 15:31:27.000000000 +0200
++++ extrecmenu-1.2/mymenueditrecording.c 2010-09-22 15:36:19.000000000 +0200
+@@ -25,15 +25,15 @@
+
+ if(recording)
+ {
+- char *p=(char*)strrchr(recording->Name(),'~'); //TODO
++ const char *p=(char*)strrchr(recording->Name(),'~'); //TODO
+ if(p)
+ {
+ strn0cpy(name,++p,sizeof(name));
+ strn0cpy(path,recording->Name(),sizeof(path));
+
+- p=strrchr(path,'~');
+- if(p)
+- *p=0;
++ char *p2 = strrchr(path,'~');
++ if(p2)
++ *p2=0;
+ }
+ else
+ strn0cpy(name,recording->Name(),sizeof(name));
diff --git a/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.ebuild b/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.ebuild
new file mode 100644
index 000000000000..95a19a3f041e
--- /dev/null
+++ b/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2.ebuild,v 1.1 2010/09/22 14:07:03 hd_brummy Exp $
+
+EAPI="2"
+
+inherit vdr-plugin eutils
+
+DVDARCHIVE="dvdarchive-2.3-beta.sh"
+
+DESCRIPTION="Video Disk Recorder - Extended recordings menu Plugin"
+HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-extrecmenu"
+SRC_URI="http://projects.vdr-developer.org/attachments/download/334/${P}.tgz
+ mirror://gentoo/${DVDARCHIVE}.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.6.0"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-gcc44.patch"
+
+ cd "${WORKDIR}"
+ epatch "${FILESDIR}/${DVDARCHIVE%.sh}-configfile.patch"
+
+ cd "${S}"
+ if grep -q fskProtection /usr/include/vdr/timers.h; then
+ einfo "Enabling parentalrating option"
+ sed -i "s:#WITHPINPLUGIN:WITHPINPLUGIN:" Makefile
+ fi
+
+ vdr-plugin_src_prepare
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ cd "${WORKDIR}"
+ newbin ${DVDARCHIVE} dvdarchive.sh
+
+ insinto /etc/vdr
+ doins "${FILESDIR}"/dvdarchive.conf
+}