summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-03-30 21:26:45 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2008-03-30 21:26:45 +0000
commitf6b64a1cce863fd17bb751beab91bfae994c4a63 (patch)
treefed6172c81a04fbf103d1b314145d1a11a2b848b /media-plugins/vdr-ttxtsubs
parentVersion bump. Remove old. (diff)
downloadgentoo-2-f6b64a1cce863fd17bb751beab91bfae994c4a63.tar.gz
gentoo-2-f6b64a1cce863fd17bb751beab91bfae994c4a63.tar.bz2
gentoo-2-f6b64a1cce863fd17bb751beab91bfae994c4a63.zip
Change message to complain about missing use-flag to print correct name for vdr-1.6.0
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-plugins/vdr-ttxtsubs')
-rw-r--r--media-plugins/vdr-ttxtsubs/ChangeLog9
-rw-r--r--media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.0.5_p2-r1.ebuild10
2 files changed, 14 insertions, 5 deletions
diff --git a/media-plugins/vdr-ttxtsubs/ChangeLog b/media-plugins/vdr-ttxtsubs/ChangeLog
index 9c31ac9baac9..2d56233df89e 100644
--- a/media-plugins/vdr-ttxtsubs/ChangeLog
+++ b/media-plugins/vdr-ttxtsubs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-plugins/vdr-ttxtsubs
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-ttxtsubs/ChangeLog,v 1.13 2007/11/01 21:11:36 drac Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-ttxtsubs/ChangeLog,v 1.14 2008/03/30 21:26:45 zzam Exp $
+
+ 30 Mar 2008; Matthias Schwarzott <zzam@gentoo.org>
+ vdr-ttxtsubs-0.0.5_p2-r1.ebuild:
+ Change message to complain about missing use-flag to print correct name
+ for vdr-1.6.0
01 Nov 2007; Samuli Suominen <drac@gentoo.org>
vdr-ttxtsubs-0.0.5_p2-r1.ebuild:
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
index ab45381ef2e0..de98d70ac57f 100644
--- 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
@@ -1,6 +1,6 @@
-# Copyright 2004-2007 Gentoo Foundation
+# Copyright 2004-2008 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.3 2007/11/01 21:11:36 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.0.5_p2-r1.ebuild,v 1.4 2008/03/30 21:26:45 zzam Exp $
inherit vdr-plugin eutils versionator
@@ -25,7 +25,11 @@ S=${WORKDIR}/${MY_P#vdr-}
pkg_setup() {
if [[ ! -f /usr/include/vdr/vdrttxtsubshooks.h ]]; then
- eerror "please compile vdr with USE=\"subtitles\""
+ local flag=ttxtsubs
+ if has_version "<media-video/vdr-1.6.0"; then
+ flag="subtitles"
+ fi
+ eerror "please compile vdr with USE=\"${flag}\""
die "can not compile packet without subtitles-support from vdr"
fi
vdr-plugin_pkg_setup