aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Burch <eli.burch@burchbytes.com>2024-10-06 11:11:32 -0700
committerEli Burch <eli.burch@burchbytes.com>2024-10-06 11:11:32 -0700
commit24d7e23b35c387324b89fcbf4ed043d9a19d464c (patch)
tree2543df4742d77fd5b155bd909cc4e4632d9ca743 /net-news
parentRevert "dev-util/hyprwayland-scanner: new package, add 0.4.2" (diff)
downloadguru-24d7e23b35c387324b89fcbf4ed043d9a19d464c.tar.gz
guru-24d7e23b35c387324b89fcbf4ed043d9a19d464c.tar.bz2
guru-24d7e23b35c387324b89fcbf4ed043d9a19d464c.zip
net-news/newsraft: add 0.27
Signed-off-by: Eli Burch <eli.burch@burchbytes.com>
Diffstat (limited to 'net-news')
-rw-r--r--net-news/newsraft/Manifest1
-rw-r--r--net-news/newsraft/newsraft-0.27.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/net-news/newsraft/Manifest b/net-news/newsraft/Manifest
index 2d6e38e05..b18839ee9 100644
--- a/net-news/newsraft/Manifest
+++ b/net-news/newsraft/Manifest
@@ -1,2 +1,3 @@
DIST newsraft-0.25.tar.gz 153586 BLAKE2B d2790f4eb0a1fa9ceb5e0240b475ffff9e5dd00c1bcdc7a55d79d7527b6d17057f4d6635f722982af7fea8c5d7df351d88e0389982a77f5651fcc64cfa051f86 SHA512 354f3d5fb0e6d86782538da03408383b74443889aed19ae3599b1f286c76f6814ec406297dcdb505bbca6cf835440161a89066df0f21d52871c57dca288dfa23
DIST newsraft-0.26.tar.gz 155572 BLAKE2B 61bf3751495436704eccdb5e352865c9a8aa50f2a41b4e3516982e44201962815a78dd9b259181e418b0b3cde72ff7df0f8e90f70e82244da1b181bc045b8cd8 SHA512 c4654de4ec8ebd95018fd0bfa0c8a3f40ac67d944e9aa089fb5ad7dc918bfe54a7ba79eecec799e68ff0bb31f2b4b3fc7b5c25513eb76b68e7fb35e4097df397
+DIST newsraft-0.27.tar.gz 155854 BLAKE2B 8f7c5bb1cf5907e863f5ad82fc3024534dd15e10c2ca206025c4882da20f2e489a1211bd0247df551181ca69d6ad1de9636a0e75435cae9790dba4efdf8e2927 SHA512 06d8a9fc147ea54f03adb4dda01163a51938014c48045fe3a5fe0275b3505148cf04af784229fc8b17ef8278bc5ce7b918e0b930610aa25caa4b4094fbc6ab2b
diff --git a/net-news/newsraft/newsraft-0.27.ebuild b/net-news/newsraft/newsraft-0.27.ebuild
new file mode 100644
index 000000000..8011629b0
--- /dev/null
+++ b/net-news/newsraft/newsraft-0.27.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="A lightweight feed reader with ncurses user interface inspired by Newsboat."
+HOMEPAGE="https://codeberg.org/newsraft/newsraft"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://codeberg.org/newsraft/newsraft.git"
+else
+ SRC_URI="https://codeberg.org/newsraft/newsraft/archive/${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/${PN}"
+fi
+
+LICENSE="ISC"
+SLOT="0"
+
+DEPEND="
+ dev-db/sqlite:3
+ dev-libs/expat
+ dev-libs/gumbo:=
+ dev-libs/yajl:=
+ net-misc/curl
+ sys-libs/ncurses:=
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ app-text/scdoc
+ virtual/pkgconfig
+"
+
+src_compile(){
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake PREFIX="/usr" DESTDIR="${D}" install
+ einstalldocs
+}