From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2D21A158086 for ; Sun, 28 Nov 2021 12:27:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 695282BC029; Sun, 28 Nov 2021 12:27:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B13102BC029 for ; Sun, 28 Nov 2021 12:27:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2CF03342E0F for ; Sun, 28 Nov 2021 12:27:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A96E164 for ; Sun, 28 Nov 2021 12:27:40 +0000 (UTC) From: "Nickolas Raymond Kaczynski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nickolas Raymond Kaczynski" Message-ID: <1638102370.68d8506302c039126d02582debd9a67a8b7e41e8.nrk@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-news/sfeed/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-news/sfeed/Manifest net-news/sfeed/metadata.xml net-news/sfeed/sfeed-1.1.ebuild X-VCS-Directories: net-news/sfeed/ X-VCS-Committer: nrk X-VCS-Committer-Name: Nickolas Raymond Kaczynski X-VCS-Revision: 68d8506302c039126d02582debd9a67a8b7e41e8 X-VCS-Branch: dev Date: Sun, 28 Nov 2021 12:27:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8b3191bb-ef8f-4a01-9186-fd72863f6c26 X-Archives-Hash: cb643350e747dad1f8abb1c6d83398bc commit: 68d8506302c039126d02582debd9a67a8b7e41e8 Author: Nickolas Raymond Kaczynski disroot org> AuthorDate: Sun Nov 28 12:17:33 2021 +0000 Commit: Nickolas Raymond Kaczynski disroot org> CommitDate: Sun Nov 28 12:26:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=68d85063 net-news/sfeed: bump version 1.1 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Nickolas Raymond Kaczynski disroot.org> net-news/sfeed/Manifest | 1 + net-news/sfeed/metadata.xml | 9 +++++ net-news/sfeed/sfeed-1.1.ebuild | 77 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+) diff --git a/net-news/sfeed/Manifest b/net-news/sfeed/Manifest index ca71b54c5..acbceb633 100644 --- a/net-news/sfeed/Manifest +++ b/net-news/sfeed/Manifest @@ -1 +1,2 @@ DIST sfeed-1.0.tar.gz 39349 BLAKE2B 75b74ec4f3fbe400f030c10f31e5084e82313de9a4c766ee46106b55dae53b17ce02f490ca348aad73da527af34bc22ae0598bbe82fadb3b0b833065dedabd60 SHA512 8377b092c797483564e189e77f9cb37a675d5d88ad41625ab5afbafb39af13bf2787d27d1bc543f8089f2fffec4532b58687a8ed2b0f3d31a1aa030359de6a93 +DIST sfeed-1.1.tar.gz 60644 BLAKE2B de5e7f4252c9fcbbba3343ea78c52f5a56d088a2dc8611212aef1c768b9d7c8c500680f4d037eb8cf7d5bf2cc4d1c18444f963735faf4526eb96260898f6cdad SHA512 8d05fb8578a7475779a14105376a3b5238a297193a0f98c9123c90d10c7ebe2fe9bc72eef694c6c9aa94f50fa3c96491cdd511d8d7b167ea8e25dfe772dada6e diff --git a/net-news/sfeed/metadata.xml b/net-news/sfeed/metadata.xml index c698af234..98738fd65 100644 --- a/net-news/sfeed/metadata.xml +++ b/net-news/sfeed/metadata.xml @@ -5,4 +5,13 @@ contact@hacktivis.me Haelwenn (lanodan) Monnier + + mailto:hiltjo@codemadness.org + + + Use mono theme + Use mono_highlight theme + Use newsboat theme + Use templeos theme + diff --git a/net-news/sfeed/sfeed-1.1.ebuild b/net-news/sfeed/sfeed-1.1.ebuild new file mode 100644 index 000000000..fb5f2e848 --- /dev/null +++ b/net-news/sfeed/sfeed-1.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs savedconfig + +DESCRIPTION="simple RSS and Atom parser" +HOMEPAGE="https://www.codemadness.org/sfeed.html" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="git://git.codemadness.org/sfeed" +else + SRC_URI="https://www.codemadness.org/releases/sfeed/sfeed-${PV}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="ISC" +SLOT="0" + +IUSE=" + +ncurses + +theme-mono + theme-mono-highlight + theme-newsboat + theme-templeos +" +REQUIRED_USE="ncurses? ( ^^ ( theme-mono theme-mono-highlight theme-newsboat theme-templeos ) )" + +DEPEND="ncurses? ( sys-libs/ncurses )" +RDEPEND="ncurses? ( !net-news/sfeed_curses ) ${DEPEND}" + +src_configure() { + # Gentoo requires -ltinfo + sed -i \ + -e "/^#SFEED_CURSES_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 + + if use ncurses ; then + SFEED_CURSES="sfeed_curses" + else + SFEED_CURSES="" + fi + + restore_config themes/mono.h themes/mono_highlight.h themes/newsboat.h themes/templeos.h +} + +src_compile() { + tc-export AR CC + emake RANLIB=$(tc-getRANLIB) \ + SFEED_CURSES="${SFEED_CURSES}" \ + SFEED_THEME="${SFEED_THEME}" +} + +src_install() { + DESTDIR="${D}" \ + emake install \ + SFEED_CURSES="${SFEED_CURSES}" \ + PREFIX="/usr" \ + MANPREFIX="/usr/share/man" \ + DOCPREFIX="/usr/share/doc/${P}" + + einstalldocs + + save_config themes/mono.h themes/mono_highlight.h themes/newsboat.h themes/templeos.h +}