From 43793fab84041cfc5c60c0151d1591b8a69fb24a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Aug 2018 07:36:27 +0100 Subject: gentoo resync : 25.08.2018 --- net-news/snownews/Manifest | 4 ++- net-news/snownews/metadata.xml | 9 +++++- net-news/snownews/snownews-1.5.13.ebuild | 49 ++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 net-news/snownews/snownews-1.5.13.ebuild (limited to 'net-news/snownews') diff --git a/net-news/snownews/Manifest b/net-news/snownews/Manifest index 1bfb656d0422..ab88f5c2950f 100644 --- a/net-news/snownews/Manifest +++ b/net-news/snownews/Manifest @@ -1,3 +1,5 @@ DIST snownews-1.5.12.tar.gz 167944 BLAKE2B c629bfa53860a031a6afd3a82d44747e61780b03e5a74bb9db4b8c22b441870a8345317d901ddaf42de62aee54685d6329c49343821005ea211c1e17932bf755 SHA512 7a7ccd5ea57f8bbb73f1429ab931a38203e858c74a383c5347e66088b84f6a7240feeee99e179687ce0a7a89c6c1406ce20d6c5d6771d25a0a0301fa5526e220 +DIST snownews-1.5.13.tar.gz 199931 BLAKE2B 1e68fb46a0fdcea67281adb5334b4e90cb4b520b9d54dafc05e181c5f3ea1f552b80d4835fb0d0d00d2efc8d8cecf0554b547a4e029de49ecc01fb7dc2722c0e SHA512 dd91968141a44f4277eb9f333a5fe06c60805aae6fe36900cde55b85afc254aaca48d06e86b1e9d65b6bcaea76ca162d75d2160f46cb15539776a3f29f990963 EBUILD snownews-1.5.12-r1.ebuild 1285 BLAKE2B a93a596a32945f8cf3de47febccd8dea2ec7eeceea998d4afc4f0e82bd05badc68de3b8ebb945af981ac74789b880f4e36cec48ae5d506db5146f1ecbbf57058 SHA512 9c6a3c03b0e09760fb3f555a3a0accd83953513adac17acfe83c3563fb0a1ec66d0ce7b9d5d151f5131ecbde6e6b7369e886d3510d0449caccc11e915a5e9df1 -MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 +EBUILD snownews-1.5.13.ebuild 1079 BLAKE2B e9b582c967b5516c578be9bba37a99cb38ea7fba93e446433eb1e88b30afc2fbc020371ed3954f480580116c3a1203984da599b0b166e523c88caebbe76a9ea3 SHA512 3f4b6430286d5e34948d64215526d7dab14f00a2ebb3705a96a6342e6f125584a13644f4765fa7a02b158feb61d65b663c973e805c8d9816e49dda84afdd842e +MISC metadata.xml 363 BLAKE2B ee398b88367b0004f371ce5afc8580a4a2e115485a1e3f882369f9046c49519891b6ea6fa50fb4a33079c0c63639efe1fed8ee5d286dcfbebe216a06d4e1b173 SHA512 a19c917a1e76ae139fba6a947b896783c6c700c350e56bd1ed32ccbfbc9e28bf8cbdd074ec29aadfc98eee1339926582bae8eea87e8b596c6368e298b7a44bc1 diff --git a/net-news/snownews/metadata.xml b/net-news/snownews/metadata.xml index 6f49eba8f496..e8523f5eab18 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 000000000000..8fe9ca3932d9 --- /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}" +} -- cgit v1.2.3