blob: 8b4a6363268a833a092391db97ff1ac84cd153f3 (
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-2006 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.2 2006/06/15 13:56:11 zzam 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
einfo "Unpatched vdr found"
einfo
ewarn "You have to reemerge vdr with USE=submenu set"
einfo
die "need to have patched vdr"
fi
}
|