blob: daf0a2af5c871d08e5eb43d39240f5ebb3e04e5d (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-submenu/vdr-submenu-0.0.2.ebuild,v 1.4 2007/01/05 16:57:13 hd_brummy Exp $
inherit vdr-plugin
IUSE=""
SLOT="0"
DESCRIPTION="vdr Plugin: DVB Frontend Status Monitor (signal strengt/noise)"
HOMEPAGE="http://www.freewebs.com/sadhome"
SRC_URI="http://www.freewebs.com/sadhome/Plugin/Submenu/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 x86"
DEPEND=">=media-video/vdr-1.3.20"
PATCHES="${FILESDIR}/${P}-asprintf.patch"
pkg_setup() {
vdr-plugin_pkg_setup
local header=/usr/include/vdr/submenu.h
if [[ -e ${header} ]] && grep -q "class cSubMenuItemInfo" ${header} 2>/dev/null; then
einfo "Patched vdr found"
else
elog "Unpatched vdr found"
echo
ewarn "You have to reemerge vdr with USE=submenu set"
echo
die "need to have patched vdr"
fi
}
|