diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-17 22:10:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-17 22:10:38 +0100 |
commit | 6854913aa1a57839328baafb435b84f9baacae65 (patch) | |
tree | 3273ce9a77541e3f4bb905ca47a1d0d2bbe0f4e5 /net-news/sfeed | |
parent | a538d5e834cfb040c79291bd02474285e27241b8 (diff) |
gentoo auto-resync : 17:05:2023 - 22:10:37
Diffstat (limited to 'net-news/sfeed')
-rw-r--r-- | net-news/sfeed/Manifest | 4 | ||||
-rw-r--r-- | net-news/sfeed/metadata.xml | 2 | ||||
-rw-r--r-- | net-news/sfeed/sfeed-1.8.ebuild | 78 |
3 files changed, 82 insertions, 2 deletions
diff --git a/net-news/sfeed/Manifest b/net-news/sfeed/Manifest index f6a9b7b2165e..279a17d021f9 100644 --- a/net-news/sfeed/Manifest +++ b/net-news/sfeed/Manifest @@ -1,5 +1,7 @@ DIST sfeed-1.5.tar.gz 65067 BLAKE2B 0f2fbe263d869d396aae9a13c482d381d0e7201ca62b86f795bedd4e4174bea1959c16d1b63d534013e9a100527d6885122b9965e060773809912d299a9a573e SHA512 9a027b092620968bd6a086b37ce5bc3e2d5ee8193b59251466d5318bc1514ca78d3edf894c1988504c99b94f0bb3af2a54ba3067b2d90d1109665a5650bfd8a2 DIST sfeed-1.6.tar.gz 65239 BLAKE2B 25a5f645d8814d48d6c2617cbc9944339866e668c7b7d21581db605987284447c5d6e2f505b5c9d1c1f5d22702ef3b3c80a076f8d9c930f8ae7d5447fd88ecb0 SHA512 450cde27b0d437b165fc024f2b95612fd7755c357e3539167f3c9b123d7a63c3193cb808b6c9621d15b1f5e2d8d783131423e52db6e98c228aa5af190eb167eb +DIST sfeed-1.8.tar.gz 67335 BLAKE2B 7898d6fe51455c65e7b1d7708ba4804880f36d0d3447746f6c81a85a22427bf3f0b7f8f7685f0e3b27b538b4ef7193fdef54f5aa4e1816e33d78a50143307804 SHA512 7a57108ace21813de9d80e7ebcc9ffed37580f52f08313ddcf86f2ee0df54d733631cba6936921623aa34c41a06dba43778cedbf557738db009d91f961fc9af7 EBUILD sfeed-1.5.ebuild 2131 BLAKE2B 033301958c09cfdbbc8a0ee944a82489c404e82004d7f49e31aded3fce36dfaae301092f21425e80216005f2988530421d237a4374686289e85fd14c0edc620e SHA512 06213d0724b0013e54e7ac9d39f68a877fb1864df8b73595d57e99469c2f82dfce7f3d0f688ddf5eaeb3f4fc59d98f54fc680b517e7b28cf5c08f9e4dce868dd EBUILD sfeed-1.6.ebuild 2173 BLAKE2B f1b79cb82e4ccecadb18bf706e8b7cdf5d8befaf8d643c8d91bf2d003f3e429b2c56d304f3441d17c2e4731ed522d640eeaa50bf8be12d81d3957b6d9cc9fbff SHA512 03cc1d138adb90047c4a029a2b678f83f7c37306f047b4a7ec669894d1018a02ca31fb4aadce1ec343a6cfa6bef9851fb752f31b748f4b4ec55ec4eeb148fb62 -MISC metadata.xml 829 BLAKE2B 111d82af97338668ac799c5246af08ccfa7738b79493c4a18d78d478a1625bcb2e4e097c5c6c292fee079e0886eee9c1919595b1f326b8b85ee77dafbac74293 SHA512 0d0a051433a954057e9c76d4cea36949ca82a563766b96e384ace8124dc428b5ba2e365dec317639c24a321945461487f078f1b5f35609a4e3b2132893510533 +EBUILD sfeed-1.8.ebuild 2164 BLAKE2B 82a27da90201741c5bf48b9737dc44e421c44e1557badbd739bf6cc98569b5614c8031ae7844c22202b1f0a5e010f0666e604494e871101c077d40cc82400453 SHA512 14f7ee69448bd2e45891d4fc2dad00d1fe9c0488e704df9c1b104a24e46a1088d0993197beeb6a75c3aae0363ef59eed0cf957eb0f6d76c6c8fef861eb2f824a +MISC metadata.xml 806 BLAKE2B 6cf25323204d50824236e00bdf29b887934129e0c8d22cd6fd4bfa1b049b79df18335259a7a0585b2124f923f81e248ddc5ec10c1838eb70777f7dfff78154b8 SHA512 31e770f29d879226ae20fb49f27970f5efe3feed65bbfb0e9eec38fb2d34e004fbf0f37a223fa56f5dfb8bad1bc11ceec78eed809e4fd216c50b757c92c1c55c diff --git a/net-news/sfeed/metadata.xml b/net-news/sfeed/metadata.xml index 3e53e4749dc3..20ac8c519bdb 100644 --- a/net-news/sfeed/metadata.xml +++ b/net-news/sfeed/metadata.xml @@ -7,7 +7,7 @@ </maintainer> <maintainer type="person" proxied="yes"> <email>nrk@disroot.org</email> - <name>Nickolas Raymond Kaczynski</name> + <name>NRK</name> </maintainer> <maintainer type="project" proxied="proxy"> <email>proxy-maint@gentoo.org</email> diff --git a/net-news/sfeed/sfeed-1.8.ebuild b/net-news/sfeed/sfeed-1.8.ebuild new file mode 100644 index 000000000000..cc25963b8f64 --- /dev/null +++ b/net-news/sfeed/sfeed-1.8.ebuild @@ -0,0 +1,78 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs savedconfig optfeature + +DESCRIPTION="Simple RSS and Atom parser" +HOMEPAGE="https://codemadness.org/sfeed-simple-feed-parser.html" +SRC_URI="https://codemadness.org/releases/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~sparc ~x86" + +THEMES=( mono{,-highlight} newsboat templeos ) +IUSE="+ncurses +${THEMES[@]/#/theme-}" +REQUIRED_USE="ncurses? ( ^^ ( "${THEMES[@]/#/theme-}" ) )" + +DEPEND="ncurses? ( sys-libs/ncurses:= )" +RDEPEND="${DEPEND}" +BDEPEND="ncurses? ( virtual/pkgconfig )" + +src_configure() { + local name + for name in "${THEMES[@]}"; do + use "theme-${name}" && SFEED_THEME="${name//-/_}" + done + + restore_config $(printf "themes/%s.h " "${THEMES[@]//-/_}") +} + +src_compile() { + local ncurses_ldflags="" + use ncurses && ncurses_ldflags="$($(tc-getPKG_CONFIG) --libs ncurses || die)" + + emake \ + CC="$(tc-getCC)" \ + RANLIB="$(tc-getRANLIB)" \ + AR="$(tc-getAR)" \ + SFEED_CURSES="$(usev ncurses sfeed_curses)" \ + SFEED_THEME="${SFEED_THEME}" \ + SFEED_CURSES_LDFLAGS="${LDFLAGS} ${ncurses_ldflags}" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}/usr" \ + MANPREFIX="${EPREFIX}/usr/share/man" \ + DOCPREFIX="${EPREFIX}/usr/share/doc/${PF}" \ + SFEED_CURSES="$(usev ncurses sfeed_curses)" \ + install + + save_config $(printf "themes/%s.h " "${THEMES[@]//-/_}") +} + +pkg_postinst() { + local optmsg + + if use ncurses; then + optmsg="yanking the URL or enclosure in sfeed_curses. " + optmsg+="See \$SFEED_YANKER to change it." + optfeature "${optmsg}" x11-misc/xclip + + optmsg="plumbing the URL or enclosure in sfeed_curses. " + optmsg+="See \$SFEED_PLUMBER to change it." + optfeature "${optmsg}" x11-misc/xdg-utils + fi + + optmsg="converting HTML content via sfeed_content. " + optmsg+="See the ENVIRONMENT VARIABLES section in the man page to change it." + optfeature "${optmsg}" www-client/lynx + + optmsg="fetching feeds. Used by sfeed_update as default. " + optmsg+="See OVERRIDE FUNCTIONS section on sfeedrc manpage to change it." + optfeature "${optmsg}" net-misc/curl +} |