You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-plugins/vdr-recstatus/vdr-recstatus-0.0.8.ebuild

27 lines
619 B

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit vdr-plugin-2
DESCRIPTION="VDR plugin: displays the recording status of the available devices"
HOMEPAGE="http://www.constabel.net/projects/recstatus/wiki"
SRC_URI="https://www.constabel.net/files/vdr/${P}.tgz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=media-video/vdr-1.5.7"
RDEPEND="${DEPEND}"
src_prepare() {
vdr-plugin-2_src_prepare
if has_version ">=media-video/vdr-1.7.28"; then
sed -i "s:SetRecording(\([^,]*\),[^)]*)):SetRecording(\1\):" recstatus.c
fi
}