URI: 
       tnet-news/sfeed-curses: Add USE flags for themes. - parlay - yet another gentoo overlay
  HTML git clone https://git.parazyd.org/parlay
   DIR Log
   DIR Files
   DIR Refs
   DIR README
       ---
   DIR commit 254dfbd4a6c5fac0ce173ec8674c6dc8e774ec48
   DIR parent 86d2bdd9cf7a90b68817c48578551952f64e925c
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Wed,  3 Feb 2021 17:50:15 +0100
       
       net-news/sfeed-curses: Add USE flags for themes.
       
       Diffstat:
         M net-news/sfeed-curses/metadata.xml  |      11 +++++++++++
         M net-news/sfeed-curses/sfeed-curses… |      15 ++++++++++++++-
       
       2 files changed, 25 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/net-news/sfeed-curses/metadata.xml b/net-news/sfeed-curses/metadata.xml
       t@@ -4,4 +4,15 @@
        <maintainer type="person">
                <email>parazyd@dyne.org</email>
        </maintainer>
       +<use>
       +        <flag name="mono-theme">
       +                Use the "mono" theme for sfeed_curses.
       +        </flag>
       +        <flag name="newsboat-theme">
       +                Use the "newsboat" theme for sfeed_curses.
       +        </flag>
       +        <flag name="templeos-theme">
       +                Use the "templeos" theme for sfeed_curses.
       +        </flag>
       +</use>
        </pkgmetadata>
   DIR diff --git a/net-news/sfeed-curses/sfeed-curses-9999.ebuild b/net-news/sfeed-curses/sfeed-curses-9999.ebuild
       t@@ -12,11 +12,24 @@ EGIT_REPO_URI="git://git.codemadness.org/sfeed_curses"
        LICENSE="ISC"
        SLOT="0"
        KEYWORDS=""
       -IUSE=""
       +IUSE="+mono-theme newsboat-theme templeos-theme"
       +REQUIRED_USE="^^ ( mono-theme newsboat-theme templeos-theme )"
        
        DEPEND="sys-libs/ncurses"
        RDEPEND="${DEPEND} net-news/sfeed"
        
       +src_prepare() {
       +        default
       +
       +        if use mono-theme; then
       +                sed -e 's/SFEED_THEME =.*/SFEED_THEME = mono/' -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() {
                emake LDFLAGS="${LDFLAGS} -lncursesw -ltinfow" all
        }