public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: net-news/sfeed_curses/
@ 2021-07-30  6:38 Nickolas Raymond Kaczynski
  0 siblings, 0 replies; 4+ messages in thread
From: Nickolas Raymond Kaczynski @ 2021-07-30  6:38 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-news/sfeed_curses/
@ 2021-07-30  8:53 Andrew Ammerlaan
  2021-07-30  9:11 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Ammerlaan @ 2021-07-30  8:53 UTC (permalink / raw
  To: gentoo-commits

commit:     b7429ab6b183284bbea2d3de2c86fafad3643a32
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 30 08:53:47 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Jul 30 08:53:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b7429ab6

net-news/sfeed_curses: remove underscore from use flag

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 net-news/sfeed_curses/metadata.xml               | 2 +-
 net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-news/sfeed_curses/metadata.xml b/net-news/sfeed_curses/metadata.xml
index 52ddf5fc1..20ba5a1c2 100644
--- a/net-news/sfeed_curses/metadata.xml
+++ b/net-news/sfeed_curses/metadata.xml
@@ -9,7 +9,7 @@
 	</upstream>
 	<use>
 		<flag name="theme-mono">Use mono theme</flag>
-		<flag name="theme-mono_highlight">Use mono_highlight 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>

diff --git a/net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild b/net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild
index 894a1af8a..ce86ef3cc 100644
--- a/net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild
+++ b/net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild
@@ -16,11 +16,11 @@ SLOT="0"
 
 IUSE="
 	+theme-mono
-	theme-mono_highlight
+	theme-mono-highlight
 	theme-newsboat
 	theme-templeos
 "
-REQUIRED_USE="^^ ( 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}"
@@ -33,7 +33,7 @@ src_configure() {
 
 	if use theme-mono ; then
 		SFEED_THEME="mono"
-	elif use theme-mono_highlight ; then
+	elif use theme-mono-highlight ; then
 		SFEED_THEME="mono_highlight"
 	elif use theme-newsboat ; then
 		SFEED_THEME="newsboat"


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: net-news/sfeed_curses/
  2021-07-30  8:53 [gentoo-commits] repo/proj/guru:dev commit in: net-news/sfeed_curses/ Andrew Ammerlaan
@ 2021-07-30  9:11 ` Andrew Ammerlaan
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2021-07-30  9:11 UTC (permalink / raw
  To: gentoo-commits

commit:     b7429ab6b183284bbea2d3de2c86fafad3643a32
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 30 08:53:47 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Jul 30 08:53:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b7429ab6

net-news/sfeed_curses: remove underscore from use flag

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 net-news/sfeed_curses/metadata.xml               | 2 +-
 net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-news/sfeed_curses/metadata.xml b/net-news/sfeed_curses/metadata.xml
index 52ddf5fc1..20ba5a1c2 100644
--- a/net-news/sfeed_curses/metadata.xml
+++ b/net-news/sfeed_curses/metadata.xml
@@ -9,7 +9,7 @@
 	</upstream>
 	<use>
 		<flag name="theme-mono">Use mono theme</flag>
-		<flag name="theme-mono_highlight">Use mono_highlight 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>

diff --git a/net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild b/net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild
index 894a1af8a..ce86ef3cc 100644
--- a/net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild
+++ b/net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild
@@ -16,11 +16,11 @@ SLOT="0"
 
 IUSE="
 	+theme-mono
-	theme-mono_highlight
+	theme-mono-highlight
 	theme-newsboat
 	theme-templeos
 "
-REQUIRED_USE="^^ ( 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}"
@@ -33,7 +33,7 @@ src_configure() {
 
 	if use theme-mono ; then
 		SFEED_THEME="mono"
-	elif use theme-mono_highlight ; then
+	elif use theme-mono-highlight ; then
 		SFEED_THEME="mono_highlight"
 	elif use theme-newsboat ; then
 		SFEED_THEME="newsboat"


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-news/sfeed_curses/
@ 2021-08-08  1:33 Nickolas Raymond Kaczynski
  0 siblings, 0 replies; 4+ messages in thread
From: Nickolas Raymond Kaczynski @ 2021-08-08  1:33 UTC (permalink / raw
  To: gentoo-commits

commit:     2881ef0f6e7b8c6553a50c7fa835c214caada270
Author:     Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
AuthorDate: Sun Aug  8 01:32:13 2021 +0000
Commit:     Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
CommitDate: Sun Aug  8 01:33:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2881ef0f

net-news/sfeed_curses: bump version to 1.0

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                                          | 2 +-
 .../{sfeed_curses-0.9.13.ebuild => sfeed_curses-1.0.ebuild}             | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-news/sfeed_curses/Manifest b/net-news/sfeed_curses/Manifest
index dd04e063e..d27270573 100644
--- a/net-news/sfeed_curses/Manifest
+++ b/net-news/sfeed_curses/Manifest
@@ -1 +1 @@
-DIST sfeed_curses-0.9.13.tar.gz 22611 BLAKE2B 8afc6cac44a7beaf3fbe09e8f5c42c3ba2712a9e68c966da69a257d75e960e39e9f46201977e498630e4ff237dab334881c974c9850cc153a5161e20ee136e8f SHA512 c52b6afe3b3037f7865493f7475c757f561db28279b80bc1ddb7aecd8144d166c84c4dd2c5e58d78e42909c6d8829f92648e55ba01dce65494671de98503326b
+DIST sfeed_curses-1.0.tar.gz 23381 BLAKE2B 1e3d7b494dbec997c8d8e3809059283b55f7cead4bb8b68c734f302248dc2279ff756aa0a484e1687afc882546f235414d7542b2b6501c597bf46903ee339c6a SHA512 575e09a71bab0cec18506426461f2f0fad7247de0520ea32e557ab87755424f015c9edb317c4799ff178746794bdf18509f375cff68caab3ca9e11bf4284b946

diff --git a/net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild b/net-news/sfeed_curses/sfeed_curses-1.0.ebuild
similarity index 100%
rename from net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild
rename to net-news/sfeed_curses/sfeed_curses-1.0.ebuild


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-08  1:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-30  8:53 [gentoo-commits] repo/proj/guru:dev commit in: net-news/sfeed_curses/ Andrew Ammerlaan
2021-07-30  9:11 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2021-08-08  1:33 [gentoo-commits] repo/proj/guru:dev " Nickolas Raymond Kaczynski
2021-07-30  6:38 Nickolas Raymond Kaczynski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox