www-misc/gitea2rss - 0.7.0 (guru)

Search

Install

Install this version:

emerge -a =www-misc/gitea2rss-0.7.0

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

autounmask =www-misc/gitea2rss-0.7.0

Or alternatively:

emerge --autounmask-write -a =www-misc/gitea2rss-0.7.0

Package Information

Description:
Generates RSS feeds from Gitea releases, tags and commits
Homepage:
https://codeberg.org/tastytea/gitea2rss
License:
GPL-3

Ebuild Details

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

EAPI=8

inherit cmake

DESCRIPTION="Generates RSS feeds from Gitea releases, tags and commits"
HOMEPAGE="https://codeberg.org/tastytea/gitea2rss"
SRC_URI="https://codeberg.org/tastytea/gitea2rss/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}"

LICENSE="GPL-3"
SLOT="0"
if [[ "${PV}" != "9999" ]]; then
	KEYWORDS="~amd64 ~arm ~x86"
fi
IUSE="test"

RDEPEND="
	net-misc/curl[ssl]
	dev-libs/jsoncpp
"
DEPEND="
	${RDEPEND}
	test? ( dev-cpp/catch )
"
BDEPEND="
	virtual/pkgconfig
	app-text/asciidoc
"

RESTRICT="!test? ( test )"

DOCS=("README.adoc" "doc/nginx-example.conf")

src_configure() {
	local mycmakeargs=(
		-DWITH_TESTS="$(usex test)"
	)
	if use test; then
		# Don't run tests that need a network connection.
		mycmakeargs+=(-DEXTRA_TEST_ARGS="~[http]")
	fi

	cmake_src_configure
}

src_test() {
	BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test
}

USE Flags

Manage flags for this package: euse -i <flag> -p www-misc/gitea2rss | euse -E <flag> -p www-misc/gitea2rss | euse -D <flag> -p www-misc/gitea2rss

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	
	net-misc/curl[ssl]
	dev-libs/jsoncpp

	test? ( dev-cpp/catch )

RDEPEND

	net-misc/curl[ssl]
	dev-libs/jsoncpp

BDEPEND

	virtual/pkgconfig
	app-text/asciidoc

Manifest for 0.7.0

Type File Size Source URLs
DIST gitea2rss-0.7.0.tar.gz 25135 bytes https://codeberg.org/tastytea/gitea2rss/archive/0.7.0.tar.gz