summaryrefslogtreecommitdiff
blob: 5d2a0b65b54682c7b9bc5c6019980002f5cb8950 (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.0.6.ebuild,v 1.1 2008/01/20 20:35:40 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.4.7-r7"

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
}