summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2009-02-24 00:34:51 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2009-02-24 00:34:51 +0000
commit8992a89a4634c781e1f137c27eaa298287470876 (patch)
treec77a6c4c377120edf846b3540635338d7fa621aa /media-plugins/vdr-iptv
parentSwitch to EAPI2 for SLOT and USE deps (diff)
downloadhistorical-8992a89a4634c781e1f137c27eaa298287470876.tar.gz
historical-8992a89a4634c781e1f137c27eaa298287470876.tar.bz2
historical-8992a89a4634c781e1f137c27eaa298287470876.zip
Switch to eapi2 so the built_with_use can be replaced by a proper use-depend.
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'media-plugins/vdr-iptv')
-rw-r--r--media-plugins/vdr-iptv/ChangeLog8
-rw-r--r--media-plugins/vdr-iptv/vdr-iptv-0.2.0.ebuild24
2 files changed, 14 insertions, 18 deletions
diff --git a/media-plugins/vdr-iptv/ChangeLog b/media-plugins/vdr-iptv/ChangeLog
index 4df50a3f5751..6eb66ca91336 100644
--- a/media-plugins/vdr-iptv/ChangeLog
+++ b/media-plugins/vdr-iptv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-iptv
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-iptv/ChangeLog,v 1.5 2008/03/30 13:12:38 zzam Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-iptv/ChangeLog,v 1.6 2009/02/24 00:34:51 zzam Exp $
+
+ 24 Feb 2009; Matthias Schwarzott <zzam@gentoo.org> vdr-iptv-0.2.0.ebuild:
+ Switch to eapi2 so the built_with_use can be replaced by a proper
+ use-depend.
*vdr-iptv-0.2.0 (30 Mar 2008)
diff --git a/media-plugins/vdr-iptv/vdr-iptv-0.2.0.ebuild b/media-plugins/vdr-iptv/vdr-iptv-0.2.0.ebuild
index d7cb47e6dd52..c945b510ce22 100644
--- a/media-plugins/vdr-iptv/vdr-iptv-0.2.0.ebuild
+++ b/media-plugins/vdr-iptv/vdr-iptv-0.2.0.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-iptv/vdr-iptv-0.2.0.ebuild,v 1.1 2008/03/30 13:12:38 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-iptv/vdr-iptv-0.2.0.ebuild,v 1.2 2009/02/24 00:34:51 zzam Exp $
+
+EAPI="2"
inherit vdr-plugin eutils
@@ -13,20 +15,10 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND=">=media-video/vdr-1.6.0"
-
-pkg_setup() {
- vdr-plugin_pkg_setup
-
- if ! built_with_use media-video/vdr iptv; then
- eerror "VDR is not built with use-flag iptv."
- eerror "Please enable iptv use-flag and recompile VDR."
- die "VDR is not built with use-flag iptv."
- fi
-}
-
-src_unpack() {
- vdr-plugin_src_unpack
+DEPEND=">=media-video/vdr-1.6.0[iptv]"
+RDEPEND="${DEPEND}"
+src_prepare() {
fix_vdr_libsi_include sidscanner.c
+ vdr-plugin_src_prepare
}