diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-05-30 13:19:09 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-05-30 13:19:09 +0000 |
commit | 92fb617ce06e2e76d5c85eb1eccf29dd26e91370 (patch) | |
tree | ef6cbb4760fbb599f7438fe6e1f1b531b894917b /media-plugins/vdr-reelchannelscan | |
parent | Marked ~ppc (diff) | |
download | gentoo-2-92fb617ce06e2e76d5c85eb1eccf29dd26e91370.tar.gz gentoo-2-92fb617ce06e2e76d5c85eb1eccf29dd26e91370.tar.bz2 gentoo-2-92fb617ce06e2e76d5c85eb1eccf29dd26e91370.zip |
Added a patch to be able to scan with a complete empty channel-list before.
(Portage version: 2.1_rc3-r1)
Diffstat (limited to 'media-plugins/vdr-reelchannelscan')
6 files changed, 75 insertions, 1 deletions
diff --git a/media-plugins/vdr-reelchannelscan/ChangeLog b/media-plugins/vdr-reelchannelscan/ChangeLog index 9ae54321e6bb..0528c00be81e 100644 --- a/media-plugins/vdr-reelchannelscan/ChangeLog +++ b/media-plugins/vdr-reelchannelscan/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-plugins/vdr-reelchannelscan # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-reelchannelscan/ChangeLog,v 1.2 2006/05/02 20:44:10 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-reelchannelscan/ChangeLog,v 1.3 2006/05/30 13:19:09 zzam Exp $ + +*vdr-reelchannelscan-0.3.0-r1 (30 May 2006) + + 30 May 2006; Matthias Schwarzott <zzam@gentoo.org> + +files/vdr-reelchannelscan-0.3.0-empty-channellist.diff, + +vdr-reelchannelscan-0.3.0-r1.ebuild: + Added a patch to be able to scan with a complete empty channel-list before. *vdr-reelchannelscan-0.3.0 (02 May 2006) diff --git a/media-plugins/vdr-reelchannelscan/files/digest-vdr-reelchannelscan-0.2.0 b/media-plugins/vdr-reelchannelscan/files/digest-vdr-reelchannelscan-0.2.0 index 721cd3c6a248..afb34a091b1f 100644 --- a/media-plugins/vdr-reelchannelscan/files/digest-vdr-reelchannelscan-0.2.0 +++ b/media-plugins/vdr-reelchannelscan/files/digest-vdr-reelchannelscan-0.2.0 @@ -1 +1,3 @@ MD5 6963f732d4eedd86c979b3921135e34e vdr-reelchannelscan-0.2.0.tgz 62614 +RMD160 f82701c3eff8b47209223cb16df3790143ae2f8e vdr-reelchannelscan-0.2.0.tgz 62614 +SHA256 9dab37d88eb0b4fbbec32e394e96d08135421ea1ae6dc7c32b79a6ea1231ade5 vdr-reelchannelscan-0.2.0.tgz 62614 diff --git a/media-plugins/vdr-reelchannelscan/files/digest-vdr-reelchannelscan-0.3.0 b/media-plugins/vdr-reelchannelscan/files/digest-vdr-reelchannelscan-0.3.0 index 4cbac850d6d1..7daf8cd8600d 100644 --- a/media-plugins/vdr-reelchannelscan/files/digest-vdr-reelchannelscan-0.3.0 +++ b/media-plugins/vdr-reelchannelscan/files/digest-vdr-reelchannelscan-0.3.0 @@ -1 +1,3 @@ MD5 9ba072075efece29bcaf29564b04f80e vdr-reelchannelscan-0.3.0.tgz 67760 +RMD160 7a8ec42efa43d7cb3dbd7dbb86198a42ab246281 vdr-reelchannelscan-0.3.0.tgz 67760 +SHA256 3010742a09e0e5cfdadf0030ef1c841026cc30dde605f10d37e6148db17831a2 vdr-reelchannelscan-0.3.0.tgz 67760 diff --git a/media-plugins/vdr-reelchannelscan/files/digest-vdr-reelchannelscan-0.3.0-r1 b/media-plugins/vdr-reelchannelscan/files/digest-vdr-reelchannelscan-0.3.0-r1 new file mode 100644 index 000000000000..7daf8cd8600d --- /dev/null +++ b/media-plugins/vdr-reelchannelscan/files/digest-vdr-reelchannelscan-0.3.0-r1 @@ -0,0 +1,3 @@ +MD5 9ba072075efece29bcaf29564b04f80e vdr-reelchannelscan-0.3.0.tgz 67760 +RMD160 7a8ec42efa43d7cb3dbd7dbb86198a42ab246281 vdr-reelchannelscan-0.3.0.tgz 67760 +SHA256 3010742a09e0e5cfdadf0030ef1c841026cc30dde605f10d37e6148db17831a2 vdr-reelchannelscan-0.3.0.tgz 67760 diff --git a/media-plugins/vdr-reelchannelscan/files/vdr-reelchannelscan-0.3.0-empty-channellist.diff b/media-plugins/vdr-reelchannelscan/files/vdr-reelchannelscan-0.3.0-empty-channellist.diff new file mode 100644 index 000000000000..7c1f3f70a0f5 --- /dev/null +++ b/media-plugins/vdr-reelchannelscan/files/vdr-reelchannelscan-0.3.0-empty-channellist.diff @@ -0,0 +1,16 @@ +diff -ru reelchannelscan-0.3.0-orig/csmenu.c reelchannelscan-0.3.0/csmenu.c +--- reelchannelscan-0.3.0-orig/csmenu.c 2006-05-30 15:01:08.000000000 +0200 ++++ reelchannelscan-0.3.0/csmenu.c 2006-05-30 15:11:02.000000000 +0200 +@@ -100,7 +100,11 @@ + // CurrentChannel has to be greater than 0! + CurrentChannelNr = CurrentChannelNr == 0 ? 1 : CurrentChannelNr; + cChannel *channel = Channels.GetByNumber(CurrentChannelNr); +- source = channel->Source(); ++ if (channel) { ++ source = channel->Source(); ++ } else { ++ source = cSource::FromString("S19.2E"); ++ } + currentChannel = CurrentChannelNr; + scanActiveMenu = false; + // timer for loop mode diff --git a/media-plugins/vdr-reelchannelscan/vdr-reelchannelscan-0.3.0-r1.ebuild b/media-plugins/vdr-reelchannelscan/vdr-reelchannelscan-0.3.0-r1.ebuild new file mode 100644 index 000000000000..dd2449828d17 --- /dev/null +++ b/media-plugins/vdr-reelchannelscan/vdr-reelchannelscan-0.3.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-reelchannelscan/vdr-reelchannelscan-0.3.0-r1.ebuild,v 1.1 2006/05/30 13:19:09 zzam Exp $ + +inherit vdr-plugin + +DESCRIPTION="vdr Plugin: Channel Scanner" +HOMEPAGE="http://www.reel-multimedia.com" +SRC_URI="http://www.reelbox.org/software/source/vdr-plugins/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.18" + +PATCHES="${FILESDIR}/${P}-empty-channellist.diff" + +pkg_setup(){ + vdr-plugin_pkg_setup + + if ! grep -q scanning_on_receiving_device ${ROOT}/usr/include/vdr/device.h; then + ewarn "your vdr needs to be patched to use vdr-channelscan" + die "unpatched vdr detected" + fi +} + +src_unpack() { + vdr-plugin_src_unpack + + fix_vdr_libsi_include filter.h +} + +src_install() { + vdr-plugin_src_install + + cd ${S}/transponders + insinto /usr/share/vdr/channelscan/transponders + doins *.tpl + + insinto /etc/vdr/plugins + dosym /usr/share/vdr/channelscan/transponders /etc/vdr/plugins/transponders +} |