blob: 82e555d46403911face78b0343f18c34c1e6a764 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-noepgmenu/vdr-noepgmenu-0.0.5.ebuild,v 1.1 2008/01/22 19:34:53 zzam Exp $
inherit vdr-plugin
IUSE=""
SLOT="0"
DESCRIPTION="VDR Plugin: Configure the noepg patch"
HOMEPAGE="http://winni.vdr-developer.org/noepgmenu/"
SRC_URI="http://winni.vdr-developer.org/noepgmenu/downloads/${P}.tgz"
LICENSE="GPL-2"
DEPEND=">=media-video/vdr-1.4.7-r8"
RDEPEND="${DEPEND}"
KEYWORDS="~amd64 ~x86"
pkg_setup() {
vdr-plugin_pkg_setup
local header="${VDR_INCLUDE_DIR}/config.h"
ebegin "Checking for patched VDR"
grep -q 'char \*noEPGList' "${header}"
eend $? "You need to recompile VDR with USE=noepg" \
|| die "VDR not compiled with new noepg-patch"
}
|