diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-05-23 11:01:30 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-05-23 11:01:30 +0000 |
commit | b878b32bb9b3ce7bcfbedca738c177519bd9a4b8 (patch) | |
tree | 4c4230af41906166946a00147e9196f07d2e53be /media-plugins/vdr-extrecmenu | |
parent | Correct dependencies. (diff) | |
download | gentoo-2-b878b32bb9b3ce7bcfbedca738c177519bd9a4b8.tar.gz gentoo-2-b878b32bb9b3ce7bcfbedca738c177519bd9a4b8.tar.bz2 gentoo-2-b878b32bb9b3ce7bcfbedca738c177519bd9a4b8.zip |
Added mainmenuhooks support.
(Portage version: 2.1.2.7)
Diffstat (limited to 'media-plugins/vdr-extrecmenu')
5 files changed, 68 insertions, 1 deletions
diff --git a/media-plugins/vdr-extrecmenu/ChangeLog b/media-plugins/vdr-extrecmenu/ChangeLog index 19610438edd7..22951f4e4aa0 100644 --- a/media-plugins/vdr-extrecmenu/ChangeLog +++ b/media-plugins/vdr-extrecmenu/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-plugins/vdr-extrecmenu # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extrecmenu/ChangeLog,v 1.15 2007/02/05 09:59:03 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extrecmenu/ChangeLog,v 1.16 2007/05/23 11:01:30 zzam Exp $ + +*vdr-extrecmenu-0.13-r1 (23 May 2007) + + 23 May 2007; Matthias Schwarzott <zzam@gentoo.org> + +files/0.13/MainMenuHooks.diff, +files/0.13/series, + +vdr-extrecmenu-0.13-r1.ebuild: + Added mainmenuhooks support. 05 Feb 2007; Matthias Schwarzott <zzam@gentoo.org> files/digest-vdr-extrecmenu-0.13, Manifest: diff --git a/media-plugins/vdr-extrecmenu/files/0.13/MainMenuHooks.diff b/media-plugins/vdr-extrecmenu/files/0.13/MainMenuHooks.diff new file mode 100644 index 000000000000..152f67106efc --- /dev/null +++ b/media-plugins/vdr-extrecmenu/files/0.13/MainMenuHooks.diff @@ -0,0 +1,27 @@ +# 90_MainMenuHooks.dpatch by Tobias Grimm <tg@e-tobi.net> +# +# All lines beginning with `## DP:' are a description of the patch. +# DP: Adds support fpr the MainMenuHook patch in VDR. + +diff -urNad vdr-plugin-extrecmenu-0.13~/extrecmenu.c vdr-plugin-extrecmenu-0.13/extrecmenu.c +--- vdr-plugin-extrecmenu-0.13~/extrecmenu.c 2007-02-03 21:13:28.000000000 +0100 ++++ vdr-plugin-extrecmenu-0.13/extrecmenu.c 2007-03-11 11:52:23.000000000 +0100 +@@ -137,7 +137,16 @@ + + bool cPluginExtrecmenu::Service(const char *Id,void *Data) + { +- return false; ++ if (strcmp(Id, "MainMenuHooksPatch-v1.0::osRecordings") == 0 && mysetup.ReplaceOrgRecMenu==true) ++ { ++ if (Data == NULL) ++ return true; ++ cOsdMenu **menu = (cOsdMenu**) Data; ++ if (menu) ++ *menu = (cOsdMenu*) MainMenuAction(); ++ return true; ++ } ++ return false; + } + + const char **cPluginExtrecmenu::SVDRPHelpPages(void) + diff --git a/media-plugins/vdr-extrecmenu/files/0.13/series b/media-plugins/vdr-extrecmenu/files/0.13/series new file mode 100644 index 000000000000..1061ddba6782 --- /dev/null +++ b/media-plugins/vdr-extrecmenu/files/0.13/series @@ -0,0 +1 @@ +MainMenuHooks.diff diff --git a/media-plugins/vdr-extrecmenu/files/digest-vdr-extrecmenu-0.13-r1 b/media-plugins/vdr-extrecmenu/files/digest-vdr-extrecmenu-0.13-r1 new file mode 100644 index 000000000000..9c3ffc245201 --- /dev/null +++ b/media-plugins/vdr-extrecmenu/files/digest-vdr-extrecmenu-0.13-r1 @@ -0,0 +1,3 @@ +MD5 3112b7e8fe23414f6d4248374dd15461 vdr-extrecmenu-0.13.tgz 38550 +RMD160 e557791eb31671973119147670451146187a8e08 vdr-extrecmenu-0.13.tgz 38550 +SHA256 bd2849bbb03226d9a0b84154050253ce454544f0b30160f1026980daba1ff934 vdr-extrecmenu-0.13.tgz 38550 diff --git a/media-plugins/vdr-extrecmenu/vdr-extrecmenu-0.13-r1.ebuild b/media-plugins/vdr-extrecmenu/vdr-extrecmenu-0.13-r1.ebuild new file mode 100644 index 000000000000..06f17f33c1cb --- /dev/null +++ b/media-plugins/vdr-extrecmenu/vdr-extrecmenu-0.13-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extrecmenu/vdr-extrecmenu-0.13-r1.ebuild,v 1.1 2007/05/23 11:01:30 zzam Exp $ + +inherit vdr-plugin eutils + +S=${WORKDIR}/${VDRPLUGIN}-${PV} + +DESCRIPTION="Video Disk Recorder - Extended recordings menu Plugin" +HOMEPAGE="http://martins-kabuff.de/extrecmenu.html" +SRC_URI="http://martins-kabuff.de/download/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.7" + +PATCHES="${FILESDIR}/${PV}/MainMenuHooks.diff" + +src_unpack() { + vdr-plugin_src_unpack + + if grep -q fskProtection /usr/include/vdr/timers.h; then + sed -i "s:#WITHPINPLUGIN:WITHPINPLUGIN:" Makefile + fi +} + |