summaryrefslogtreecommitdiff
path: root/net-news/snownews
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /net-news/snownews
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'net-news/snownews')
-rw-r--r--net-news/snownews/Manifest4
-rw-r--r--net-news/snownews/snownews-1.6.10-r1.ebuild50
-rw-r--r--net-news/snownews/snownews-1.9.ebuild44
3 files changed, 46 insertions, 52 deletions
diff --git a/net-news/snownews/Manifest b/net-news/snownews/Manifest
index 6fbe5a20fc40..c7b19d8891a6 100644
--- a/net-news/snownews/Manifest
+++ b/net-news/snownews/Manifest
@@ -1,3 +1,3 @@
-DIST snownews-1.6.10.tar.gz 189715 BLAKE2B 0456faa526b21d06c5a7fe70f52cffbb3c7d977afcc4a5bc80179fd928b9c00d0674d44a64342a469a1cbccd3a1e0264ecadc1065f5a85965d9ef76fc3d3d896 SHA512 df90c3c55da8d11b2936075aab86f66f54f9a6ace0cbe0db54d0e6177ae71e28ab3c700d79b521d55859bb94ef7ecc89e3eb69f215eb9f7286d30cc4e2bec078
-EBUILD snownews-1.6.10-r1.ebuild 1070 BLAKE2B b22e64f260067a2c2225d228b944eaea6e3f569ed10f3b2bb4feab15d915332d95df289848cdcfcecedd5d360036408a76fa02015587f517383689f8745b152b SHA512 84aaa8f531157b8b06691157abd13192c2e16cc29ac807364a7329218c5bb51b28bc9fc0d53b696144d79a41e52c5b6c80534f4660a7def0c2a054659aeb52e6
+DIST snownews-1.9.tar.gz 149935 BLAKE2B 331c94964a617871df8ab0ed7c8b36acea9386e7cb5057232dc5e93d148f04b56e64af96b9a212469115592d4509cba641bf183e927bddc9e12baff9f3936f20 SHA512 f833dbb41b5c0215c034b8388d787398360fac0ec9670f8f31b76c3ee2ffd974b4c6ebebc30aebb539b9904f513628124b393f4f473a92d4969f483caeca8596
+EBUILD snownews-1.9.ebuild 901 BLAKE2B 8b8f43e73a1d81e321665e0609518b45e3e2bd61eb0e49db7900132877f5bf4cbc69ab4720979a8ac5ea615aeba83eea8485545c6c36f339d0e0588f2328f5f6 SHA512 ec024729790d45753c53de5cf9f8017d080b82d26fb5444581076f0a3546c836c12ca3586950ec20d07420cc6c3453df195d4fdc0375e4976c699a8c936aa9b7
MISC metadata.xml 394 BLAKE2B 515ca6f962ff0fd4c3b57b0af00bb61e79b2a9f640d441ea5ad60c298780ce0ae8f9e090fe26d5293627448062cbd8bd78db844e923d61ad0db4644e1410b0bf SHA512 3492dae90b43f94860e1c6d08868d238a60ff13ea060bc6ec7619698d4a8830de6354d67b40b7459149e585209dfd886a94474b92191212f275ae974cc2abf1e
diff --git a/net-news/snownews/snownews-1.6.10-r1.ebuild b/net-news/snownews/snownews-1.6.10-r1.ebuild
deleted file mode 100644
index 78957b1ac1c2..000000000000
--- a/net-news/snownews/snownews-1.6.10-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools toolchain-funcs
-
-DESCRIPTION="Command-line RSS feed reader"
-HOMEPAGE="https://github.com/kouya/snownews"
-SRC_URI="https://github.com/kouya/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-COMMON_DEPEND="
- >=dev-libs/libxml2-2.5.6
- sys-libs/ncurses:=[unicode(+)]
-"
-RDEPEND="
- ${COMMON_DEPEND}
- dev-perl/XML-LibXML
- dev-perl/libwww-perl
-"
-
-DEPEND="
- ${COMMON_DEPEND}
-"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
- default
- tc-export PKG_CONFIG
- local libs=$(${PKG_CONFIG} --libs ncursesw)
- sed -i "s|-lncursesw\?|${libs}|" configure Config.mk.in || die
- sed -i 's|$(INSTALL) -s snownews|$(INSTALL) snownews|' Makefile || die
-}
-
-src_configure() {
- tc-export PKG_CONFIG
- # perl script, not autotools based
- ./configure --prefix="${D}${EPREFIX}/usr" || die
-}
-
-src_compile() {
- emake \
- CC="$(tc-getCC)" \
- EXTRA_CFLAGS="${CFLAGS}" \
- EXTRA_LDFLAGS="${LDFLAGS}"
-}
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}"
+}