summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2018-01-05 02:27:34 -0500
committerTim Harder <radhermit@gentoo.org>2018-01-05 02:27:34 -0500
commit3632ca80cc1cac7f9a4ee023e5d170c4d321d7fd (patch)
treea6d5ea3d702594e182cd25767d73d212b63e9d16 /net-news
parentnet-misc/proxychains: remove old (diff)
downloadgentoo-3632ca80cc1cac7f9a4ee023e5d170c4d321d7fd.tar.gz
gentoo-3632ca80cc1cac7f9a4ee023e5d170c4d321d7fd.tar.bz2
gentoo-3632ca80cc1cac7f9a4ee023e5d170c4d321d7fd.zip
net-news/newsboat: version bump to 2.10.2
Diffstat (limited to 'net-news')
-rw-r--r--net-news/newsboat/Manifest1
-rw-r--r--net-news/newsboat/newsboat-2.10.2.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/net-news/newsboat/Manifest b/net-news/newsboat/Manifest
index 872a414791af..22503c4dadc0 100644
--- a/net-news/newsboat/Manifest
+++ b/net-news/newsboat/Manifest
@@ -1,2 +1,3 @@
DIST newsboat-2.10.1.tar.xz 326872 BLAKE2B 4dadc82b18f77e6ec0215fcd3648ff584667c6bee6deb3ce06839e31bce1cb52d53ad214144df1a4dfb4bf239d4c15b54960443bff29c0e6da866fc0b8c6be5c SHA512 f2e9e9f60aa3996977fd13cb54140ae035da0ad6e47c6f50646bf0f67e241fe27a7938879a489322a738fbcf34ac21fb899558435e0248b05d469d80e2ab0e1e
+DIST newsboat-2.10.2.tar.xz 334820 BLAKE2B 08f5ee71b86c33c8aef5d2dc510deccefae8161fa1a3453947e94c9aead550468bd43368022ad438d4eb6da5ac18a348f9123489f2275fd8aed91ce40a5e9a32 SHA512 b807e0539bf31a4536af4e933623ec4de974995dda2345178057601aff43081746941d93a26269b6e8b77aee34b50a7c9867f867bed1331fc9a2c381163636fc
DIST newsboat-2.10.tar.xz 326280 BLAKE2B 6300f25a21f19583552d586e5ed8b63e70e5ffffa4e7be18b72aabdc992f52fb18945285ab77cf9e6a71e36a219cb8ade52ae7763c0981248af78749359b1fd3 SHA512 1d7efacd4614572fed490f828c8e70f31dd7d4897ff882a6a79cfbf8295909e24aabcf39f927bec6842fac9d7beb3ea6f8db34cf54efd29ea8e9188f5a1afe8c
diff --git a/net-news/newsboat/newsboat-2.10.2.ebuild b/net-news/newsboat/newsboat-2.10.2.ebuild
new file mode 100644
index 000000000000..f0be1cf088bd
--- /dev/null
+++ b/net-news/newsboat/newsboat-2.10.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/newsboat/newsboat.git"
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://newsboat.org/releases/${PV}/${P}.tar.xz"
+fi
+
+inherit toolchain-funcs
+
+DESCRIPTION="An RSS/Atom feed reader for text terminals"
+HOMEPAGE="https://newsboat.org/ https://github.com/newsboat/newsboat"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="
+ >=dev-db/sqlite-3.5:3
+ >=dev-libs/stfl-0.21
+ >=net-misc/curl-7.18.0
+ >=dev-libs/json-c-0.11:=
+ dev-libs/libxml2
+ sys-libs/ncurses:0=[unicode]
+"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ virtual/pkgconfig
+ sys-devel/gettext
+ test? (
+ dev-libs/boost
+ sys-devel/bc
+ )
+"
+[[ ${PV} == 9999 ]] && DEPEND+=" app-text/asciidoc"
+
+# tests require network access
+RESTRICT="test"
+
+src_prepare() {
+ default
+
+ sed -e 's:-ggdb::' -e 's:-Werror::' -i Makefile || die
+}
+
+src_configure() {
+ ./config.sh || die
+}
+
+src_compile() {
+ emake prefix="/usr" CXX="$(tc-getCXX)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"
+ [[ ${PV} == 9999 ]] && emake doc
+}
+
+src_test() {
+ emake test
+ # Tests fail if in ${S} rather than in ${S}/test
+ cd "${S}"/test || die
+ ./test || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" prefix="/usr" docdir="/usr/share/doc/${PF}" install
+ dodoc CHANGELOG.md README.md TODO
+}