mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
net-news/newsraft: add 0.38
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
1 parent
c94bde1c3e
commit
a1e8727ddc
2 files changed
+58
No files matched your search
@@ -1 +1,2 @@
|
||||
DIST newsraft-0.37.tar.gz 238830 BLAKE2B 57654c2e5ba7c0d6c21b4e24dec93df33765c46ed5c2c5040a495248a3b4dcb2e4db409e181ee89be1f3e18332d40a526f162d8e0e70aa9894db5e7aef80d712 SHA512 4ed1ca70ee31e3f8395a1cd4cfa9c30b169294a034b22a2e7f13304f0e12377bc9919c7d68c06f5c6090468de89dfb64429c61315830df1114b43ad8891977a4
|
||||
DIST newsraft-0.38.tar.gz 238493 BLAKE2B 7ab5472818e3e561ad1c680bd8bef7e4de06c23f22c1a0051e830403f09d489996dfd99c56423c6331acd314932ea168e2135209053d6932a421d66d0cc68021 SHA512 91fc82da3e4c89c494bea9b28db5133b1f2fe402cae6b3706ea36a7758fcf5e8ab99f8b961785f1ad9f91df2d8cfd2c833cc1380b965d273592a1700518e3430
|
||||
@@ -0,0 +1,57 @@
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="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
|
||||
}
|
||||
Reference in new issue
Block a user