net-news/newsraft: add 0.32, drop 0.28

Signed-off-by: Eli Burch <eli.burch@burchbytes.com>
This commit is contained in:
Eli Burch
2025-08-09 10:29:07 -07:00
parent b63747c532
commit 2eda0db69d
4 changed files with 10 additions and 47 deletions

View File

@@ -1,2 +1,2 @@
DIST newsraft-0.28.tar.gz 159573 BLAKE2B b7f9d406eaad469698678539a7aa7d7715c0f7e1de182b765fe52e2f066ba1675278b981704f1d3fd6d42cc715d7b8e23e765a42c7ad214759e8971dd31c0700 SHA512 08d6bc816af4505bd266aa5be5c7403fa706642e8df763aa7c613c8186b4799e12ac48c5c3266731c2e650d80d51a966466d32264d7c5d1c42f0e1d40c66ae50
DIST newsraft-0.30.tar.gz 196870 BLAKE2B 5193c6713f85a77e4f8148a6fc67ea14b102143c48aa96ea41d561ef6d72ff04ab5b3a47a5b080d6f735c511cf00038f41a802801829475b455af1fe4def1e33 SHA512 b2f9b52d7169f7c51252e9b6f05d65620b1235a811aa0232b254be8e4f1d43b581189615d04c4d4c5b8ccd0e284d98850a8a85015c1f0dd69abe76c9d8644fb6
DIST newsraft-0.32.tar.gz 225800 BLAKE2B f8c9a6468cea411bc8133f99778a5800bac8488fc02ab8ba42ae5488d3feaec49ec51d060c07992c8c132d2f377af4177feb9c3bece55335dd23da7beea50581 SHA512 1c30ecb07de723eab309c3ffdb060ab464dc5a206dbc66a6a0542fcd6944f613443cf9987ee78bc6c87c3ddf495d9de25a2059d41025c181efd85b17fb12da91

View File

@@ -1,25 +0,0 @@
From 5484f2df40aa362f01859049782a467439325c20 Mon Sep 17 00:00:00 2001
From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
Date: Sat, 17 Feb 2024 11:11:48 +0100
Subject: [PATCH] run-check.sh: Don't hardcode cc, don't assume a.out output
---
tests/run-check.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/run-check.sh b/tests/run-check.sh
index c152289..c24973b 100755
--- a/tests/run-check.sh
+++ b/tests/run-check.sh
@@ -12,7 +12,7 @@
for test_file in *.c
do
tests_count="$((tests_count + 1))"
- if cc -Isrc -L. "$test_file" -l:libnewsraft.so && env LD_LIBRARY_PATH=. ./a.out; then
+ if ${CC:-cc} -Isrc -o ./a.out "$test_file" -L. -l:libnewsraft.so && env LD_LIBRARY_PATH=. ./a.out; then
echo "[OKAY] $test_file"
okays_count="$((okays_count + 1))"
else
--
2.43.0

View File

@@ -1,18 +0,0 @@
# Fix hardcoded CC, CFLAGS and LDFLAGS
# Bug: https://bugs.gentoo.org/show_bug.cgi?id=934555
# Bug: https://bugs.gentoo.org/show_bug.cgi?id=934557
# Bug: https://bugs.gentoo.org/show_bug.cgi?id=934558
--- a/makefile
+++ b/makefile
@@ -1,9 +1,8 @@
.POSIX:
.PHONY: all install install-newsraft install-man install-examples man html clean check cppcheck clang-tidy
-CC = cc
-CFLAGS = -O3
-LDFLAGS =
+CC ?= cc
+CFLAGS ?= -O3
CURL_CFLAGS = `pkg-config --cflags libcurl 2>/dev/null`
CURL_LIBS = `pkg-config --libs libcurl 2>/dev/null || echo '-lcurl'`
CURSES_CFLAGS = `pkg-config --cflags ncursesw 2>/dev/null`

View File

@@ -3,7 +3,7 @@
EAPI=8
inherit toolchain-funcs
inherit toolchain-funcs xdg-utils
DESCRIPTION="A lightweight feed reader with ncurses user interface inspired by Newsboat."
HOMEPAGE="https://codeberg.org/newsraft/newsraft"
@@ -24,9 +24,7 @@ DEPEND="
dev-db/sqlite:3
dev-libs/expat
dev-libs/gumbo:=
dev-libs/yajl:=
net-misc/curl
sys-libs/ncurses:=
"
RDEPEND="${DEPEND}"
BDEPEND="
@@ -42,3 +40,11 @@ src_install() {
emake PREFIX="/usr" DESTDIR="${D}" install
einstalldocs
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}