logo

overlay

Personnal gentoo overlay
commit: cda6d7c4eb274abc9c681820dd2e4650d966daed
parent: 4fcfa2481db23052e99557af47689b5da2c250e3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 25 Mar 2017 18:22:54 +0100

app-editors/vis-9999: curses is recommended, not required

Diffstat:

app-editors/vis/metadata.xml | 1+
app-editors/vis/vis-9999.ebuild | 6++++--
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/app-editors/vis/metadata.xml b/app-editors/vis/metadata.xml @@ -10,5 +10,6 @@ Vis aims to be a modern, legacy free, simple yet efficient editor combining the <use> <flag name="tre">more memory efficient regex search using <pkg>dev-libs/tre</pkg></flag> <flag name="lpeg">runtime for syntax highlight using <pkg>dev-lua/lpeg</pkg></flag> +<flag name="curses">use curses (not only GNU ncurses), else it can cause flickering</flag> </use> </pkgmetadata> diff --git a/app-editors/vis/vis-9999.ebuild b/app-editors/vis/vis-9999.ebuild @@ -11,15 +11,17 @@ EGIT_REPO_URI="https://github.com/martanne/vis.git" LICENSE="ISC" SLOT="0" KEYWORDS="" -IUSE="+lua +lpeg -selinux tre" +IUSE="+lua +lpeg -selinux tre +curses" -DEPEND="sys-libs/ncurses:= dev-libs/libtermkey lua? ( >=dev-lang/lua-5.2:= ) tre? ( dev-libs/tre:* )" +#TODO: virtual/curses +DEPEND="dev-libs/libtermkey lua? ( >=dev-lang/lua-5.2:= ) tre? ( dev-libs/tre:* ) curses? ( sys-libs/ncurses:= )" RDEPEND="${DEPEND} lua? ( lpeg? ( >=dev-lua/lpeg-0.12 ) ) " src_configure() { econf $(use_enable lua) econf $(use_enable tre) econf $(use_enable selinux) + econf $(use_enable curses) } update_symlinks() {