From: Joerg Bornkessel <hd_brummy@gentoo.org> Date: Fri, 27 Dec 2019 10:45:32 +0000 (+0100) Subject: media-plugins/vdr-skincurses: blocked for compile with >vdr-2.2.0 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4511253bd98ec3f0c77f076e8ac12b23c5f41d27;p=gentoo.git 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 <hd_brummy@gentoo.org> --- 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