summaryrefslogtreecommitdiff
blob: 29127e9ebdcd6697d49adc0c0be67579c42c8146 (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
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit vdr-plugin-2

DESCRIPTION="VDR plugin: show content of menu in a shell window"
HOMEPAGE="http://www.tvdr.de/"
SRC_URI="mirror://gentoo/${P}.tar.gz
		https://dev.gentoo.org/~hd_brummy/distfiles/${P}.tar.gz"

KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="GPL-2"

DEPEND="~media-video/vdr-2.2.0"

src_prepare() {
	if has_version ">=media-video/vdr-2.4"; then
		einfo "\nvdr-skincurses-2.2.0 needs exact media-video/vdr-2.2.x"
		einfo "media-plugins/vdr-skincurses is part of the core VDR"
		einfo "To get this plugin in a later version"
		einfo "emerge --unmerge vdr-skincurses"
		einfo "emerge media-video/vdr with use-flag demoplugins\n"
		die "plugin to old for >=media-video/vdr-2.4"
	fi

	vdr-plugin-2_src_prepare
}