| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-recstatus/vdr-recstatus-0.0.8.ebuild,v 1.2 2012/05/06 19:39:19 hd_brummy Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
|
| 7 |
inherit vdr-plugin-2
|
| 8 |
|
| 9 |
DESCRIPTION="VDR plugin: displays the recording status of the available devices."
|
| 10 |
HOMEPAGE="http://www.constabel.net/projects/recstatus/wiki"
|
| 11 |
SRC_URI="https://www.constabel.net/files/vdr/${P}.tgz"
|
| 12 |
|
| 13 |
SLOT="0"
|
| 14 |
LICENSE="GPL-2"
|
| 15 |
KEYWORDS="~amd64 ~x86"
|
| 16 |
IUSE=""
|
| 17 |
|
| 18 |
DEPEND=">=media-video/vdr-1.5.7"
|
| 19 |
RDEPEND="${DEPEND}"
|
| 20 |
|
| 21 |
src_prepare() {
|
| 22 |
vdr-plugin-2_src_prepare
|
| 23 |
|
| 24 |
if has_version ">=media-video/vdr-1.7.28"; then
|
| 25 |
sed -i "s:SetRecording(\([^,]*\),[^)]*)):SetRecording(\1\):" recstatus.c
|
| 26 |
fi
|
| 27 |
}
|