dev-libs/yyjson - 0.13.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-libs/yyjson-0.13.0

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

autounmask =dev-libs/yyjson-0.13.0

Or alternatively:

emerge --autounmask-write -a =dev-libs/yyjson-0.13.0

Package Information

Description:
Fast JSON library in C
Homepage:
https://github.com/ibireme/yyjson https://ibireme.github.io/yyjson/doc/doxygen/html/
License:
MIT test? ( BSD )

Ebuild Details

Version EAPI Keywords Slot
0.13.0 8 ~amd64 ~arm ~arm64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86 0/0.13
View Raw Ebuild
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="Fast JSON library in C"
HOMEPAGE="https://github.com/ibireme/yyjson https://ibireme.github.io/yyjson/doc/doxygen/html/"
SRC_URI="https://github.com/ibireme/yyjson/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT test? ( BSD )"
SLOT="0/0.13"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86"

IUSE="doc test"

RESTRICT="!test? ( test )"

BDEPEND="doc? ( app-text/doxygen )"

PATCHES=(
	"${FILESDIR}"/${PN}-0.7.0-disable-werror.patch
)

src_configure() {
	local mycmakeargs=(
		-DYYJSON_BUILD_DOC=$(usex doc)
		-DYYJSON_BUILD_TESTS=$(usex test)
		-DYYJSON_ENABLE_VALGRIND=OFF
	)

	cmake_src_configure
}

src_install() {
	cmake_src_install

	use doc && dodoc -r "${BUILD_DIR}"/doxygen/html
}

USE Flags

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

Global/Standard Flags

doc

Inherited Eclasses

Dependencies

BDEPEND

doc? ( app-text/doxygen )

Manifest for 0.13.0

Type File Size Source URLs
DIST yyjson-0.13.0.tar.gz 1641525 bytes https://github.com/ibireme/yyjson/archive/refs/tags/0.13.0.tar.gz