# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit git-r3 toolchain-funcs DESCRIPTION="Command line interface to manage hierarchical todos" HOMEPAGE="http://code.meskio.net/tudu https://github.com/meskio/tudu/" EGIT_REPO_URI="https://github.com/meskio/${PN}.git" LICENSE="GPL-3" SLOT="0" DEPEND="sys-libs/ncurses:=[unicode(+)]" RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" src_configure() { # Upstream's acr-based configure does a WIDEC_CURSES link test without # linking against ncursesw, which fails even when the library is # present. Inject the link flags via LDFLAGS. LDFLAGS="${LDFLAGS} $($(tc-getPKG_CONFIG) --libs ncursesw)" econf } src_install() { default einstalldocs }