dev-cpp/simpleini - 4.26 (gentoo)

Search

Install

Install this version:

emerge -a =dev-cpp/simpleini-4.26

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

autounmask =dev-cpp/simpleini-4.26

Or alternatively:

emerge --autounmask-write -a =dev-cpp/simpleini-4.26

Package Information

Description:
C++ library providing a simple API to read and write INI-style files
Homepage:
https://github.com/brofield/simpleini/
License:
MIT

Ebuild Details

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

EAPI=8

inherit cmake

DESCRIPTION="C++ library providing a simple API to read and write INI-style files"
HOMEPAGE="https://github.com/brofield/simpleini/"
SRC_URI="
	https://github.com/brofield/simpleini/archive/refs/tags/v${PV}.tar.gz
		-> ${P}.tar.gz
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

DEPEND="
	test? ( dev-cpp/gtest )
"

src_prepare() {
	cmake_src_prepare

	sed -i 's/ -Werror//' tests/CMakeLists.txt || die #977472
}

src_configure() {
	local mycmakeargs=(
		-DBUILD_TESTING=$(usex test)
		-DSIMPLEINI_USE_SYSTEM_GTEST=yes
	)

	cmake_src_configure
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	test? ( dev-cpp/gtest )

Manifest for 4.26

Type File Size Source URLs
DIST simpleini-4.26.tar.gz 85228 bytes https://github.com/brofield/simpleini/archive/refs/tags/v4.26.tar.gz