blob: 8c1ef48863b3fda62e9d8e2cc5ffe4b265243b46 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-remote/vdr-remote-0.4.0-r2.ebuild,v 1.1 2010/07/27 16:13:06 billie Exp $
EAPI="2"
inherit eutils linux-mod vdr-plugin
DESCRIPTION="VDR Plugin: use various devices for controlling vdr (keyboards, lirc, remotes bundled with tv-cards)"
HOMEPAGE="http://www.escape-edv.de/endriss/vdr/"
SRC_URI="http://www.escape-edv.de/endriss/vdr/${P}.tgz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=media-video/vdr-1.2.6"
pkg_setup() {
vdr-plugin_pkg_setup
}
src_prepare() {
if kernel_is ge 2 6 34 ; then
sed -i "${S}"/remote.c -e "/fh =/s:O_RDWR:O_WRONLY:"
fi
vdr-plugin_src_prepare
}
|