summaryrefslogtreecommitdiff
blob: d7cb47e6dd52b321976e9231433a9f446378ddf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2008 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 $

inherit vdr-plugin eutils

DESCRIPTION="VDR plugin: Add a logical device capable of receiving IPTV"
HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/iptv/"
SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/iptv/files/${P}.tgz"

LICENSE="GPL-2"
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

	fix_vdr_libsi_include sidscanner.c
}