net-libs/yder - 1.4.20 (guru)

Search

Install

Install this version:

emerge -a =net-libs/yder-1.4.20

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

autounmask =net-libs/yder-1.4.20

Or alternatively:

emerge --autounmask-write -a =net-libs/yder-1.4.20

Package Information

Description:
Logging library for C applications
Homepage:
https://github.com/babelouest/yder/
License:
LGPL-2.1

Ebuild Details

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

EAPI=8

inherit cmake

DESCRIPTION="Logging library for C applications"
HOMEPAGE="https://github.com/babelouest/yder/"
SRC_URI="https://github.com/babelouest/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc systemd"
RESTRICT="test"

BDEPEND="
	doc? (
		app-text/doxygen
		media-gfx/graphviz
	)
	virtual/pkgconfig
"
DEPEND="
	net-libs/orcania
	systemd? (
		sys-apps/systemd
	)
"
RDEPEND="
	${DEPEND}
"

PATCHES=(
	"${FILESDIR}/${P}-cmake.patch"
)

src_configure() {
	local mycmakeargs=(
		-DBUILD_YDER_DOCUMENTATION=$(usex doc)
		-DWITH_JOURNALD=$(usex systemd)
	)

	sed -i -e "s/-Werror//g" CMakeLists.txt || die

	cmake_src_configure
}

src_compile() {
	cmake_src_compile
	use doc && cmake_build doc
}

src_install() {
	use doc && local HTML_DOCS=( doc/html/* )
	cmake_src_install
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-libs/yder | euse -E <flag> -p net-libs/yder | euse -D <flag> -p net-libs/yder

Global/Standard Flags

doc

Inherited Eclasses

Dependencies

DEPEND

	net-libs/orcania
	systemd? (
		sys-apps/systemd
	)

RDEPEND

	
	net-libs/orcania
	systemd? (
		sys-apps/systemd
	)

BDEPEND

	doc? (
		app-text/doxygen
		media-gfx/graphviz
	)
	virtual/pkgconfig

Manifest for 1.4.20

Type File Size Source URLs
DIST yder-1.4.20.tar.gz 30058 bytes https://github.com/babelouest/yder/archive/v1.4.20.tar.gz