From 4511253bd98ec3f0c77f076e8ac12b23c5f41d27 Mon Sep 17 00:00:00 2001 From: Joerg Bornkessel Date: Fri, 27 Dec 2019 11:45:32 +0100 Subject: [PATCH] media-plugins/vdr-skincurses: blocked for compile with >vdr-2.2.0 this version needs ~media-video/vdr-2.2.0 clearyfied this in DEPEND add a blocker in src_prepare added info, what to do, to get a later version Bug: https://bugs.gentoo.org/703918 Closes: https://bugs.gentoo.org/703918 Package-Manager: Portage-2.3.83, Repoman-2.3.18 Signed-off-by: Joerg Bornkessel --- .../vdr-skincurses/vdr-skincurses-2.2.0.ebuild | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/media-plugins/vdr-skincurses/vdr-skincurses-2.2.0.ebuild b/media-plugins/vdr-skincurses/vdr-skincurses-2.2.0.ebuild index 0b8b534b2c2a..5e557cb9d676 100644 --- a/media-plugins/vdr-skincurses/vdr-skincurses-2.2.0.ebuild +++ b/media-plugins/vdr-skincurses/vdr-skincurses-2.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,6 +13,18 @@ SRC_URI="mirror://gentoo/${P}.tar.gz KEYWORDS="~amd64 ~x86" SLOT="0" LICENSE="GPL-2" -IUSE="" -DEPEND=">=media-video/vdr-2.2.0" +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 +} \ No newline at end of file -- 2.26.2