summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Eduardo <carana2099@gmail.com>2022-02-15 19:42:50 -0300
committerConrad Kostecki <conikost@gentoo.org>2022-02-16 00:47:01 +0100
commitf07f718b35d3bb1df1539d53853ad51b401eefc7 (patch)
tree734a5a6c0d297bae2eff3071600b3eed16baf422 /net-news/snownews
parentmedia-libs/vigra: fix OpenEXR-3 dependency (diff)
downloadgentoo-f07f718b35d3bb1df1539d53853ad51b401eefc7.tar.gz
gentoo-f07f718b35d3bb1df1539d53853ad51b401eefc7.tar.bz2
gentoo-f07f718b35d3bb1df1539d53853ad51b401eefc7.zip
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 <carana2099@gmail.com> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-news/snownews')
-rw-r--r--net-news/snownews/Manifest1
-rw-r--r--net-news/snownews/snownews-1.9.ebuild44
2 files changed, 45 insertions, 0 deletions
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}"
+}