summaryrefslogtreecommitdiff
blob: 7b971292fda05529c5e28dc5212feef2a351baf0 (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
33
34
35
36
37
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-pvrinput/vdr-pvrinput-0.1.1.ebuild,v 1.5 2006/11/19 13:21:29 zzam Exp $

inherit vdr-plugin

IUSE=""

DESCRIPTION="VDR Plugin: Use a PVR* card as input device"
HOMEPAGE="http://home.arcor.de/andreas.regel/files/pvrinput/"
SRC_URI="http://home.arcor.de/andreas.regel/files/pvrinput/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"

DEPEND=">=media-video/vdr-1.2.6"
RDEPEND="${DEPEND}
		>=media-tv/ivtv-0.4.0"

src_unpack() {
	vdr-plugin_src_unpack

	cd ${S}
	if has_version "<sys-kernel/linux-headers-2.6.17-r1"; then
		epatch "${FILESDIR}/${P}-include-order.patch"
	else
		# magically works without action
		:
	fi
}

src_install() {
	vdr-plugin_src_install

	dodoc examples/channels.conf.example
}