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 3204915808B for ; Tue, 15 Feb 2022 23:47:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 619DEE05AC; Tue, 15 Feb 2022 23:47:20 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4368CE05AC for ; Tue, 15 Feb 2022 23:47:20 +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 DAA25343124 for ; Tue, 15 Feb 2022 23:47:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F35C272 for ; Tue, 15 Feb 2022 23:47:17 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1644968821.f07f718b35d3bb1df1539d53853ad51b401eefc7.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-news/snownews/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-news/snownews/Manifest net-news/snownews/snownews-1.9.ebuild X-VCS-Directories: net-news/snownews/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: f07f718b35d3bb1df1539d53853ad51b401eefc7 X-VCS-Branch: master Date: Tue, 15 Feb 2022 23:47:17 +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: a198e86d-5440-47d3-ae4d-d0b07e7904b9 X-Archives-Hash: 8775fa1a19177f126befa9f080c1efa8 commit: f07f718b35d3bb1df1539d53853ad51b401eefc7 Author: Carlos Eduardo gmail com> AuthorDate: Tue Feb 15 22:42:50 2022 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Tue Feb 15 23:47:01 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f07f718b net-news/snownews: add 1.9 Closes: https://github.com/gentoo/gentoo/pull/24139 Closes: https://bugs.gentoo.org/796779 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Carlos Eduardo gmail.com> Signed-off-by: Conrad Kostecki gentoo.org> net-news/snownews/Manifest | 1 + net-news/snownews/snownews-1.9.ebuild | 44 +++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/net-news/snownews/Manifest b/net-news/snownews/Manifest index 7508ea1d4ab6..aa6e9c4e5050 100644 --- a/net-news/snownews/Manifest +++ b/net-news/snownews/Manifest @@ -1 +1,2 @@ DIST snownews-1.6.10.tar.gz 189715 BLAKE2B 0456faa526b21d06c5a7fe70f52cffbb3c7d977afcc4a5bc80179fd928b9c00d0674d44a64342a469a1cbccd3a1e0264ecadc1065f5a85965d9ef76fc3d3d896 SHA512 df90c3c55da8d11b2936075aab86f66f54f9a6ace0cbe0db54d0e6177ae71e28ab3c700d79b521d55859bb94ef7ecc89e3eb69f215eb9f7286d30cc4e2bec078 +DIST snownews-1.9.tar.gz 149935 BLAKE2B 331c94964a617871df8ab0ed7c8b36acea9386e7cb5057232dc5e93d148f04b56e64af96b9a212469115592d4509cba641bf183e927bddc9e12baff9f3936f20 SHA512 f833dbb41b5c0215c034b8388d787398360fac0ec9670f8f31b76c3ee2ffd974b4c6ebebc30aebb539b9904f513628124b393f4f473a92d4969f483caeca8596 diff --git a/net-news/snownews/snownews-1.9.ebuild b/net-news/snownews/snownews-1.9.ebuild new file mode 100644 index 000000000000..71d5ec48aa08 --- /dev/null +++ b/net-news/snownews/snownews-1.9.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Command-line RSS feed reader" +HOMEPAGE="https://github.com/msharov/snownews" +SRC_URI="https://github.com/msharov/snownews/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="debug" + +RDEPEND=" + dev-libs/libxml2 + dev-libs/openssl:= + net-misc/curl + sys-libs/ncurses:=[unicode(+)] +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + default + + # Disable stripping in the build system - leave it to the package manager + sed -i -e '/ldflags/s/-s/-g -rdynamic/' -e '/cflags/s/-g0/-g/' Config.mk.in || die +} + +src_configure() { + econf "$(use_with debug)" +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +}