# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Autogenerated by pycargoebuild 0.17.2 EAPI=8 CRATES=" " inherit cargo flag-o-matic DESCRIPTION="TUI RSS Reader based on the news-flash library" HOMEPAGE="https://github.com/christo-auer/eilmeldung" SRC_URI=" https://github.com/christo-auer/eilmeldung/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz https://gitea.com/slash/schplaf-gentoo-overlay-files/raw/tag/${P}/eilmeldung/eilmeldung-${PV}-crates.tar.xz ${CARGO_CRATE_URIS} " #if [[ ${PKGBUMPING} != ${PVR} ]]; then # SRC_URI+=" # eilmeldung-1.10.1-crates.tar.xz # " #fi LICENSE="GPL-3+" # Dependent crate licenses LICENSE+=" Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 CDLA-Permissive-2.0 GPL-3+ ISC MIT MPL-2.0 UoI-NCSA Unicode-3.0 Unicode-DFS-2016 Unlicense WTFPL-2 ZLIB" SLOT="0" KEYWORDS="~amd64" DOCS=( CHANGELOG.md LICENSE README.md docs/ examples/ ) RUST_MIN_VER="1.98" pkg_setup() { rust_pkg_setup } src_unpack() { #if [[ "${PV}" = "9999" ]]; then # git-r3_src_unpack # cargo_live_src_unpack #else cargo_src_unpack #fi } src_configure() { cargo_src_configure --offline # cargo_src_configure --frozen } src_compile() { #seems to have issues with -O2, should be compiled with -O0 replace-flags -O2 -O0 cargo_src_compile } src_install() { einstalldocs cargo_src_install }