net-news/newsraft - 0.32 (guru)

Search

Install

Install this version:

emerge -a =net-news/newsraft-0.32

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-news/newsraft-0.32

Or alternatively:

emerge --autounmask-write -a =net-news/newsraft-0.32

Package Information

Description:
A lightweight feed reader with ncurses user interface inspired by Newsboat.
Homepage:
https://codeberg.org/newsraft/newsraft
License:
ISC

Ebuild Details

Version EAPI Keywords Slot
0.32 8 ~amd64 0
View Raw Ebuild
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs xdg-utils

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:=
	net-misc/curl
"
RDEPEND="${DEPEND}"
BDEPEND="
	app-text/scdoc
	virtual/pkgconfig
"

src_prepare() {
	default

	sed -i -e '/CC *=/s;=;?=;' makefile || die
}

src_compile(){
	tc-export CC
	emake LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"
}

src_install() {
	emake PREFIX="/usr" DESTDIR="${D}" install
	einstalldocs
}

pkg_postinst() {
	xdg_icon_cache_update
}

pkg_postrm() {
	xdg_icon_cache_update
}

Inherited Eclasses

Dependencies

DEPEND

	dev-db/sqlite:3
	dev-libs/expat
	dev-libs/gumbo:=
	net-misc/curl

RDEPEND

	dev-db/sqlite:3
	dev-libs/expat
	dev-libs/gumbo:=
	net-misc/curl

BDEPEND

	app-text/scdoc
	virtual/pkgconfig

Manifest for 0.32

Type File Size Source URLs
DIST newsraft-0.32.tar.gz 225800 bytes https://codeberg.org/newsraft/newsraft/archive/newsraft-0.32.tar.gz