1 |
commit: 68d8506302c039126d02582debd9a67a8b7e41e8 |
2 |
Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org> |
3 |
AuthorDate: Sun Nov 28 12:17:33 2021 +0000 |
4 |
Commit: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org> |
5 |
CommitDate: Sun Nov 28 12:26:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=68d85063 |
7 |
|
8 |
net-news/sfeed: bump version 1.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org> |
12 |
|
13 |
net-news/sfeed/Manifest | 1 + |
14 |
net-news/sfeed/metadata.xml | 9 +++++ |
15 |
net-news/sfeed/sfeed-1.1.ebuild | 77 +++++++++++++++++++++++++++++++++++++++++ |
16 |
3 files changed, 87 insertions(+) |
17 |
|
18 |
diff --git a/net-news/sfeed/Manifest b/net-news/sfeed/Manifest |
19 |
index ca71b54c5..acbceb633 100644 |
20 |
--- a/net-news/sfeed/Manifest |
21 |
+++ b/net-news/sfeed/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST sfeed-1.0.tar.gz 39349 BLAKE2B 75b74ec4f3fbe400f030c10f31e5084e82313de9a4c766ee46106b55dae53b17ce02f490ca348aad73da527af34bc22ae0598bbe82fadb3b0b833065dedabd60 SHA512 8377b092c797483564e189e77f9cb37a675d5d88ad41625ab5afbafb39af13bf2787d27d1bc543f8089f2fffec4532b58687a8ed2b0f3d31a1aa030359de6a93 |
24 |
+DIST sfeed-1.1.tar.gz 60644 BLAKE2B de5e7f4252c9fcbbba3343ea78c52f5a56d088a2dc8611212aef1c768b9d7c8c500680f4d037eb8cf7d5bf2cc4d1c18444f963735faf4526eb96260898f6cdad SHA512 8d05fb8578a7475779a14105376a3b5238a297193a0f98c9123c90d10c7ebe2fe9bc72eef694c6c9aa94f50fa3c96491cdd511d8d7b167ea8e25dfe772dada6e |
25 |
|
26 |
diff --git a/net-news/sfeed/metadata.xml b/net-news/sfeed/metadata.xml |
27 |
index c698af234..98738fd65 100644 |
28 |
--- a/net-news/sfeed/metadata.xml |
29 |
+++ b/net-news/sfeed/metadata.xml |
30 |
@@ -5,4 +5,13 @@ |
31 |
<email>contact@×××××××××.me</email> |
32 |
<name>Haelwenn (lanodan) Monnier</name> |
33 |
</maintainer> |
34 |
+ <upstream> |
35 |
+ <bugs-to>mailto:hiltjo@×××××××××××.org</bugs-to> |
36 |
+ </upstream> |
37 |
+ <use> |
38 |
+ <flag name="theme-mono">Use mono theme</flag> |
39 |
+ <flag name="theme-mono-highlight">Use mono_highlight theme</flag> |
40 |
+ <flag name="theme-newsboat">Use newsboat theme</flag> |
41 |
+ <flag name="theme-templeos">Use templeos theme</flag> |
42 |
+ </use> |
43 |
</pkgmetadata> |
44 |
|
45 |
diff --git a/net-news/sfeed/sfeed-1.1.ebuild b/net-news/sfeed/sfeed-1.1.ebuild |
46 |
new file mode 100644 |
47 |
index 000000000..fb5f2e848 |
48 |
--- /dev/null |
49 |
+++ b/net-news/sfeed/sfeed-1.1.ebuild |
50 |
@@ -0,0 +1,77 @@ |
51 |
+# Copyright 2020-2021 Gentoo Authors |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+ |
54 |
+EAPI=7 |
55 |
+ |
56 |
+inherit toolchain-funcs savedconfig |
57 |
+ |
58 |
+DESCRIPTION="simple RSS and Atom parser" |
59 |
+HOMEPAGE="https://www.codemadness.org/sfeed.html" |
60 |
+ |
61 |
+if [[ ${PV} == 9999 ]]; then |
62 |
+ inherit git-r3 |
63 |
+ EGIT_REPO_URI="git://git.codemadness.org/sfeed" |
64 |
+else |
65 |
+ SRC_URI="https://www.codemadness.org/releases/sfeed/sfeed-${PV}.tar.gz" |
66 |
+ KEYWORDS="~amd64" |
67 |
+fi |
68 |
+ |
69 |
+LICENSE="ISC" |
70 |
+SLOT="0" |
71 |
+ |
72 |
+IUSE=" |
73 |
+ +ncurses |
74 |
+ +theme-mono |
75 |
+ theme-mono-highlight |
76 |
+ theme-newsboat |
77 |
+ theme-templeos |
78 |
+" |
79 |
+REQUIRED_USE="ncurses? ( ^^ ( theme-mono theme-mono-highlight theme-newsboat theme-templeos ) )" |
80 |
+ |
81 |
+DEPEND="ncurses? ( sys-libs/ncurses )" |
82 |
+RDEPEND="ncurses? ( !net-news/sfeed_curses ) ${DEPEND}" |
83 |
+ |
84 |
+src_configure() { |
85 |
+ # Gentoo requires -ltinfo |
86 |
+ sed -i \ |
87 |
+ -e "/^#SFEED_CURSES_LDFLAGS.*-ltinfo/{s|#||g}" \ |
88 |
+ Makefile || die "sed failed" |
89 |
+ |
90 |
+ if use theme-mono ; then |
91 |
+ SFEED_THEME="mono" |
92 |
+ elif use theme-mono-highlight ; then |
93 |
+ SFEED_THEME="mono_highlight" |
94 |
+ elif use theme-newsboat ; then |
95 |
+ SFEED_THEME="newsboat" |
96 |
+ elif use theme-templeos ; then |
97 |
+ SFEED_THEME="templeos" |
98 |
+ fi |
99 |
+ |
100 |
+ if use ncurses ; then |
101 |
+ SFEED_CURSES="sfeed_curses" |
102 |
+ else |
103 |
+ SFEED_CURSES="" |
104 |
+ fi |
105 |
+ |
106 |
+ restore_config themes/mono.h themes/mono_highlight.h themes/newsboat.h themes/templeos.h |
107 |
+} |
108 |
+ |
109 |
+src_compile() { |
110 |
+ tc-export AR CC |
111 |
+ emake RANLIB=$(tc-getRANLIB) \ |
112 |
+ SFEED_CURSES="${SFEED_CURSES}" \ |
113 |
+ SFEED_THEME="${SFEED_THEME}" |
114 |
+} |
115 |
+ |
116 |
+src_install() { |
117 |
+ DESTDIR="${D}" \ |
118 |
+ emake install \ |
119 |
+ SFEED_CURSES="${SFEED_CURSES}" \ |
120 |
+ PREFIX="/usr" \ |
121 |
+ MANPREFIX="/usr/share/man" \ |
122 |
+ DOCPREFIX="/usr/share/doc/${P}" |
123 |
+ |
124 |
+ einstalldocs |
125 |
+ |
126 |
+ save_config themes/mono.h themes/mono_highlight.h themes/newsboat.h themes/templeos.h |
127 |
+} |