From: "Nickolas Raymond Kaczynski" <nrk@disroot.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-news/sfeed_curses/
Date: Fri, 30 Jul 2021 06:38:32 +0000 (UTC) [thread overview]
Message-ID: <1627627088.7a476d8523b4f7ba67648109d133c9cccbe256e6.nrk@gentoo> (raw)
commit: 7a476d8523b4f7ba67648109d133c9cccbe256e6
Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
AuthorDate: Fri Jul 30 06:38:08 2021 +0000
Commit: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
CommitDate: Fri Jul 30 06:38:08 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a476d85
net-news/sfeed_curses: add new package
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
net-news/sfeed_curses/Manifest | 1 +
net-news/sfeed_curses/metadata.xml | 16 +++++++
net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild | 60 ++++++++++++++++++++++++
3 files changed, 77 insertions(+)
diff --git a/net-news/sfeed_curses/Manifest b/net-news/sfeed_curses/Manifest
new file mode 100644
index 000000000..dd04e063e
--- /dev/null
+++ b/net-news/sfeed_curses/Manifest
@@ -0,0 +1 @@
+DIST sfeed_curses-0.9.13.tar.gz 22611 BLAKE2B 8afc6cac44a7beaf3fbe09e8f5c42c3ba2712a9e68c966da69a257d75e960e39e9f46201977e498630e4ff237dab334881c974c9850cc153a5161e20ee136e8f SHA512 c52b6afe3b3037f7865493f7475c757f561db28279b80bc1ddb7aecd8144d166c84c4dd2c5e58d78e42909c6d8829f92648e55ba01dce65494671de98503326b
diff --git a/net-news/sfeed_curses/metadata.xml b/net-news/sfeed_curses/metadata.xml
new file mode 100644
index 000000000..52ddf5fc1
--- /dev/null
+++ b/net-news/sfeed_curses/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nrk@disroot.org</email>
+ </maintainer>
+ <upstream>
+ <bugs-to>mailto:hiltjo@codemadness.org</bugs-to>
+ </upstream>
+ <use>
+ <flag name="theme-mono">Use mono theme</flag>
+ <flag name="theme-mono_highlight">Use mono_highlight theme</flag>
+ <flag name="theme-newsboat">Use newsboat theme</flag>
+ <flag name="theme-templeos">Use templeos theme</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild b/net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild
new file mode 100644
index 000000000..894a1af8a
--- /dev/null
+++ b/net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit savedconfig toolchain-funcs
+
+DESCRIPTION="A curses UI front-end for sfeed"
+HOMEPAGE="https://codemadness.org/sfeed_ui.html"
+
+SRC_URI="https://codemadness.org/releases/sfeed_curses/sfeed_curses-${PV}.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="ISC"
+SLOT="0"
+
+IUSE="
+ +theme-mono
+ theme-mono_highlight
+ theme-newsboat
+ theme-templeos
+"
+REQUIRED_USE="^^ ( theme-mono theme-mono_highlight theme-newsboat theme-templeos )"
+
+DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ # Gentoo requires -ltinfo
+ sed -i \
+ -e "/^#SFEED_LDFLAGS.*-ltinfo/{s|#||g}" \
+ Makefile || die "sed failed"
+
+ if use theme-mono ; then
+ SFEED_THEME="mono"
+ elif use theme-mono_highlight ; then
+ SFEED_THEME="mono_highlight"
+ elif use theme-newsboat ; then
+ SFEED_THEME="newsboat"
+ elif use theme-templeos ; then
+ SFEED_THEME="templeos"
+ fi
+
+ restore_config themes/mono.h themes/mono_highlight.h themes/newsboat.h themes/templeos.h
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) SFEED_THEME=${SFEED_THEME}
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ PREFIX="/usr" \
+ MANPREFIX="/usr/share/man" \
+ DOCPREFIX="/usr/share/doc/${PF}" \
+ install
+
+ save_config themes/mono.h themes/mono_highlight.h themes/newsboat.h themes/templeos.h
+}
next reply other threads:[~2021-07-30 6:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-30 6:38 Nickolas Raymond Kaczynski [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-07-30 8:53 [gentoo-commits] repo/proj/guru:dev commit in: net-news/sfeed_curses/ Andrew Ammerlaan
2021-08-08 1:33 Nickolas Raymond Kaczynski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1627627088.7a476d8523b4f7ba67648109d133c9cccbe256e6.nrk@gentoo \
--to=nrk@disroot.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox