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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9EECF138334 for ; Mon, 20 Aug 2018 14:56:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98A08E07F1; Mon, 20 Aug 2018 14:56:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 59412E07F1 for ; Mon, 20 Aug 2018 14:56:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BF74A335D34 for ; Mon, 20 Aug 2018 14:56:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4FF41398 for ; Mon, 20 Aug 2018 14:56:47 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1534776996.a35754b5443b877ed14b187c8b17971dfff50e4a.mgorny@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/metadata.xml net-news/snownews/snownews-1.5.13.ebuild X-VCS-Directories: net-news/snownews/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a35754b5443b877ed14b187c8b17971dfff50e4a X-VCS-Branch: master Date: Mon, 20 Aug 2018 14:56:47 +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-Archives-Salt: 15a962c7-d070-41e3-b914-faf7550054ff X-Archives-Hash: db11a32f4f2be02a6b9b6050eb7d5df2 commit: a35754b5443b877ed14b187c8b17971dfff50e4a Author: Frederic Culot FreeBSD org> AuthorDate: Fri Jul 27 08:49:23 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Aug 20 14:56:36 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a35754b5 net-news/snownews: 1.5.13 version bump Closes: https://bugs.gentoo.org/662238 Closes: https://github.com/gentoo/gentoo/pull/9361 net-news/snownews/Manifest | 1 + net-news/snownews/metadata.xml | 9 +++++- net-news/snownews/snownews-1.5.13.ebuild | 49 ++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+), 1 deletion(-) diff --git a/net-news/snownews/Manifest b/net-news/snownews/Manifest index c6d9102e3cf..f2829ac4529 100644 --- a/net-news/snownews/Manifest +++ b/net-news/snownews/Manifest @@ -1 +1,2 @@ DIST snownews-1.5.12.tar.gz 167944 BLAKE2B c629bfa53860a031a6afd3a82d44747e61780b03e5a74bb9db4b8c22b441870a8345317d901ddaf42de62aee54685d6329c49343821005ea211c1e17932bf755 SHA512 7a7ccd5ea57f8bbb73f1429ab931a38203e858c74a383c5347e66088b84f6a7240feeee99e179687ce0a7a89c6c1406ce20d6c5d6771d25a0a0301fa5526e220 +DIST snownews-1.5.13.tar.gz 199931 BLAKE2B 1e68fb46a0fdcea67281adb5334b4e90cb4b520b9d54dafc05e181c5f3ea1f552b80d4835fb0d0d00d2efc8d8cecf0554b547a4e029de49ecc01fb7dc2722c0e SHA512 dd91968141a44f4277eb9f333a5fe06c60805aae6fe36900cde55b85afc254aaca48d06e86b1e9d65b6bcaea76ca162d75d2160f46cb15539776a3f29f990963 diff --git a/net-news/snownews/metadata.xml b/net-news/snownews/metadata.xml index 6f49eba8f49..e8523f5eab1 100644 --- a/net-news/snownews/metadata.xml +++ b/net-news/snownews/metadata.xml @@ -1,5 +1,12 @@ - + + gentoo@culot.org + Frederic Culot + + + proxy-maint@gentoo.org + Proxy Maintainers + diff --git a/net-news/snownews/snownews-1.5.13.ebuild b/net-news/snownews/snownews-1.5.13.ebuild new file mode 100644 index 00000000000..8fe9ca3932d --- /dev/null +++ b/net-news/snownews/snownews-1.5.13.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools toolchain-funcs + +DESCRIPTION="Command-line RSS feed reader" +HOMEPAGE="https://github.com/kouya/snownews" +SRC_URI="https://github.com/kouya/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="unicode" + +COMMON_DEPEND=" + >=dev-libs/libxml2-2.5.6 + >=sys-libs/ncurses-5.3:0=[unicode?] + dev-libs/openssl:0= +" +RDEPEND=" + ${COMMON_DEPEND} + dev-perl/XML-LibXML + dev-perl/libwww-perl +" + +DEPEND=" + ${COMMON_DEPEND} + virtual/pkgconfig +" + +src_prepare() { + default + tc-export PKG_CONFIG + sed -i 's|-lncurses|`\\$(PKG_CONFIG) --libs '"$(usex unicode ncursesw ncurses)"'`|' configure || die + sed -i 's|$(INSTALL) -s snownews|$(INSTALL) snownews|' Makefile || die +} + +src_configure() { + # perl script, not autotools based + ./configure --prefix="${EPREFIX}/usr" || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + EXTRA_CFLAGS="${CFLAGS}" \ + EXTRA_LDFLAGS="${LDFLAGS}" +}