# ChangeLog for media-plugins/vdr-ttxtsubs
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-ttxtsubs/ChangeLog,v 1.7 2006/11/15 15:52:26 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-ttxtsubs/ChangeLog,v 1.8 2006/11/16 11:40:12 zzam Exp $
+
+*vdr-ttxtsubs-0.0.5_p1 (16 Nov 2006)
+
+ 16 Nov 2006; Matthias Schwarzott <zzam@gentoo.org>
+ +vdr-ttxtsubs-0.0.5_p1.ebuild, -vdr-ttxtsubs-0.0.5p.ebuild:
+ Renamed to a better version concept, as upstream has no idea of naming
+ patch-versions.
15 Nov 2006; Matthias Schwarzott <zzam@gentoo.org>
-vdr-ttxtsubs-0.0.5.ebuild:
--- /dev/null
+MD5 881e3b44117e26369e7a8ad7fbb0f010 vdr-ttxtsubs-0.0.5-pilikumi-edition.diff.gz 16332
+RMD160 2c549658416aab77f64e4466618da05b5891fe59 vdr-ttxtsubs-0.0.5-pilikumi-edition.diff.gz 16332
+SHA256 1f97ec0118729daa804fcf26e2561a939207495b5ad465dc814682ef95da5083 vdr-ttxtsubs-0.0.5-pilikumi-edition.diff.gz 16332
+MD5 bea48116e61eb9c737021d05a7c092a1 vdr-ttxtsubs-0.0.5.tgz 60629
+RMD160 ef64f22b2b4a0ba3959bf1c98c9f7111acc08362 vdr-ttxtsubs-0.0.5.tgz 60629
+SHA256 0b8546235e012f3aef09bf3e2ae1243696ca4c5a3c0c99776c824b177b04e351 vdr-ttxtsubs-0.0.5.tgz 60629
--- /dev/null
+# Copyright 2004-2006 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_p1.ebuild,v 1.1 2006/11/16 11:40:12 zzam Exp $
+
+inherit vdr-plugin eutils versionator
+
+IUSE=""
+
+MY_P=${PN}-$(get_version_component_range 1-3)
+PATCHNAME=${MY_P}-pilikumi-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
+ mirror://gentoo/${PATCHNAME}.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 ${ROOT}/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
+
+ cd ${S}
+ epatch ${WORKDIR}/${PATCHNAME}.diff
+ sed -i ${S}/Makefile -e '/Checkpatch.sh/d'
+}