blob: 66a0de732c95cfca8959a9615ab0f02d5e0450f1 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
inherit vdr-plugin-2
DESCRIPTION="VDR Plugin: Add support for dishes with rotation control engine"
HOMEPAGE="http://home.vrweb.de/~bergwinkl.thomas/"
SRC_URI="http://home.vrweb.de/~bergwinkl.thomas/downro/${P}.tgz"
LICENSE="GPL-2"
KEYWORDS="x86 amd64"
SLOT="0"
IUSE=""
DEPEND=">=media-video/vdr-1.6.0[rotor]"
RDEPEND="${DEPEND}"
pkg_setup() {
vdr-plugin-2_pkg_setup
elog "Checking for patched vdr"
if ! grep -q SendDiseqcCmd /usr/include/vdr/device.h; then
ewarn "You need to emerge vdr with use-flag rotor set!"
die "Unpatched vdr detected!"
fi
}
src_prepare() {
vdr-plugin-2_src_prepare
if has_version ">=media-video/vdr-1.7.13"; then
epatch "${FILESDIR}/${P}_vdr-1.7.13.diff"
fi
}
|