tnet-news/sfeed: Update ebuild for latest git. - parlay - yet another gentoo overlay HTML git clone https://git.parazyd.org/parlay DIR Log DIR Files DIR Refs DIR README --- DIR commit 1bfe935f95ab44bda7a3151efeb0309a80216bca DIR parent cdbfe4543ee09c444fd9c5fcbf2d430e0fc366d4 HTML Author: parazyd <parazyd@dyne.org> Date: Sat, 12 Mar 2022 14:54:42 +0100 net-news/sfeed: Update ebuild for latest git. Diffstat: M net-news/sfeed/sfeed-9999.ebuild | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) --- DIR diff --git a/net-news/sfeed/sfeed-9999.ebuild b/net-news/sfeed/sfeed-9999.ebuild t@@ -6,20 +6,32 @@ EAPI=7 inherit git-r3 DESCRIPTION="RSS and Atom feed parser" -HOMEPAGE="ihttps://codemadness.org/git/sfeed/log.html" +HOMEPAGE="https://codemadness.org/git/sfeed/log.html" EGIT_REPO_URI="git://git.codemadness.org/sfeed" LICENSE="ISC" SLOT="0" KEYWORDS="" -IUSE="" +IUSE="+mono-theme mono-highlight-theme newsboat-theme templeos-theme" +REQUIRED_USE="^^ ( mono-theme mono-highight-theme newsboat-theme templeos-theme )" -DEPEND="" +DEPEND="sys-libs/ncurses" RDEPEND="${DEPEND}" src_prepare() { default + sed -e 's/^SFEED_CURSES_LDFLAGS = .*/& -ltinfo/' -i Makefile + + if use mono-theme; then + sed -e 's/SFEED_THEME =.*/SFEED_THEME = mono/' -i Makefile + elif use mono-highlight-theme; then + sed -e 's/SFEED_THEME =.*/SFEED_THEME = mono_highlight/' -i Makefile + elif use newsboat-theme; then + sed -e 's/SFEED_THEME =.*/SFEED_THEME = newsboat/' -i Makefile + elif use templeos-theme; then + sed -e 's/SFEED_THEME =.*/SFEED_THEME = templeos/' -i Makefile + fi } src_compile() {