mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 07:49:00 -04:00
net-news/sfeed_curses: treeclean
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
parent
41633ac723
commit
5cf899c081
@ -1 +0,0 @@
|
||||
DIST sfeed_curses-1.0.tar.gz 23381 BLAKE2B 1e3d7b494dbec997c8d8e3809059283b55f7cead4bb8b68c734f302248dc2279ff756aa0a484e1687afc882546f235414d7542b2b6501c597bf46903ee339c6a SHA512 575e09a71bab0cec18506426461f2f0fad7247de0520ea32e557ab87755424f015c9edb317c4799ff178746794bdf18509f375cff68caab3ca9e11bf4284b946
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>nrk@disroot.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>mailto:hiltjo@codemadness.org</bugs-to>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="theme-mono">Use mono theme</flag>
|
||||
<flag name="theme-mono-highlight">Use mono_highlight theme</flag>
|
||||
<flag name="theme-newsboat">Use newsboat theme</flag>
|
||||
<flag name="theme-templeos">Use templeos theme</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,60 +0,0 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit savedconfig toolchain-funcs
|
||||
|
||||
DESCRIPTION="A curses UI front-end for sfeed"
|
||||
HOMEPAGE="https://codemadness.org/sfeed_ui.html"
|
||||
|
||||
SRC_URI="https://codemadness.org/releases/sfeed_curses/sfeed_curses-${PV}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="
|
||||
+theme-mono
|
||||
theme-mono-highlight
|
||||
theme-newsboat
|
||||
theme-templeos
|
||||
"
|
||||
REQUIRED_USE="^^ ( theme-mono theme-mono-highlight theme-newsboat theme-templeos )"
|
||||
|
||||
DEPEND="sys-libs/ncurses"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
# Gentoo requires -ltinfo
|
||||
sed -i \
|
||||
-e "/^#SFEED_LDFLAGS.*-ltinfo/{s|#||g}" \
|
||||
Makefile || die "sed failed"
|
||||
|
||||
if use theme-mono ; then
|
||||
SFEED_THEME="mono"
|
||||
elif use theme-mono-highlight ; then
|
||||
SFEED_THEME="mono_highlight"
|
||||
elif use theme-newsboat ; then
|
||||
SFEED_THEME="newsboat"
|
||||
elif use theme-templeos ; then
|
||||
SFEED_THEME="templeos"
|
||||
fi
|
||||
|
||||
restore_config themes/mono.h themes/mono_highlight.h themes/newsboat.h themes/templeos.h
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) SFEED_THEME=${SFEED_THEME}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PREFIX="/usr" \
|
||||
MANPREFIX="/usr/share/man" \
|
||||
DOCPREFIX="/usr/share/doc/${PF}" \
|
||||
install
|
||||
|
||||
save_config themes/mono.h themes/mono_highlight.h themes/newsboat.h themes/templeos.h
|
||||
}
|
@ -9,11 +9,6 @@
|
||||
# TODO: Either fix per profile masking in overlays, or move
|
||||
# relevant entries to the relevant package.mask files in ::gentoo
|
||||
|
||||
# Nickolas Raymond Kaczynski <nrk@disroot.org> (2021-11-28)
|
||||
# sfeed_curses has been merged to sfeed and is available via ncurses USEFLAG.
|
||||
# removal in 30 days.
|
||||
net-news/sfeed_curses
|
||||
|
||||
# Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> (2022-01-09)
|
||||
# Depends on masked libhandy 1.5.0
|
||||
>=app-text/komikku-0.36.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user