diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-08-25 20:58:49 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-08-25 20:58:49 +0000 |
commit | c6423f7f064407825c0e24a79748659536b371b8 (patch) | |
tree | 66258b1ebea81d93254b83535c910e8140c0afe5 /media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.0.5_p2-r1.ebuild | |
parent | add BSD license because of etags binary, which initial version has been licen... (diff) | |
download | historical-c6423f7f064407825c0e24a79748659536b371b8.tar.gz historical-c6423f7f064407825c0e24a79748659536b371b8.tar.bz2 historical-c6423f7f064407825c0e24a79748659536b371b8.zip |
Added patch for vdr-1.5.8
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.0.5_p2-r1.ebuild')
-rw-r--r-- | media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.0.5_p2-r1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.0.5_p2-r1.ebuild b/media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.0.5_p2-r1.ebuild new file mode 100644 index 000000000000..a11afbb8a2b1 --- /dev/null +++ b/media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.0.5_p2-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 2004-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.0.5_p2-r1.ebuild,v 1.1 2007/08/25 20:58:49 zzam Exp $ + +inherit vdr-plugin eutils versionator + +IUSE="" + +MY_P=${PN}-$(get_version_component_range 1-3) +PATCHNAME_1_4="${MY_P}-lusikkahaarukka-edition" +PATCHNAME_1_5="${MY_P}-raastinrauta-edition" + +DESCRIPTION="Video Disk Recorder Teletext-Subtitles PlugIn" +HOMEPAGE="ftp://ftp.nada.kth.se/pub/home/ragge/vdr" +SRC_URI="ftp://ftp.nada.kth.se/pub/home/ragge/vdr/${MY_P}.tgz + http://www.saunalahti.fi/~rahrenbe/vdr/patches/${PATCHNAME_1_4}.diff.gz + http://www.saunalahti.fi/~rahrenbe/vdr/patches/${PATCHNAME_1_5}.diff.gz" +KEYWORDS="~x86" +SLOT="0" +LICENSE="GPL-2" + +DEPEND=">=media-video/vdr-1.3.19" + +S=${WORKDIR}/${MY_P#vdr-} + + +pkg_setup() { + if [[ ! -f /usr/include/vdr/vdrttxtsubshooks.h ]]; then + eerror "please compile vdr with USE=\"subtitles\"" + die "can not compile packet without subtitles-support from vdr" + fi + vdr-plugin_pkg_setup +} + +src_unpack() { + vdr-plugin_src_unpack unpack + + if has_version ">=media-video/vdr-1.5.8"; then + epatch "${WORKDIR}/${PATCHNAME_1_5}.diff" + else + epatch "${WORKDIR}/${PATCHNAME_1_4}.diff" + fi + + cd ${S} + sed -i ${S}/Makefile -e '/Checkpatch.sh/d' + + vdr-plugin_src_unpack all_but_unpack +} |