From 7d8e6d5005fedad4f039f378b0b26eee1502a121 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Tue, 12 Nov 2024 18:52:16 +0000 Subject: Adding metadata --- dev-cpp/cpptoml/cpptoml-0.1.1.ebuild | 21 ++++++++++++--------- dev-cpp/cpptoml/metadata.xml | 13 +++++++++---- 2 files changed, 21 insertions(+), 13 deletions(-) (limited to 'dev-cpp/cpptoml') diff --git a/dev-cpp/cpptoml/cpptoml-0.1.1.ebuild b/dev-cpp/cpptoml/cpptoml-0.1.1.ebuild index 4bae4abcb0be..27c81a63572b 100644 --- a/dev-cpp/cpptoml/cpptoml-0.1.1.ebuild +++ b/dev-cpp/cpptoml/cpptoml-0.1.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cmake +inherit cmake toolchain-funcs DESCRIPTION="Header-only library for parsing TOML" HOMEPAGE="https://github.com/skystrife/cpptoml" @@ -12,17 +12,20 @@ SRC_URI="https://github.com/skystrife/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="libcxx examples" +IUSE="examples" -RDEPEND="libcxx? ( sys-libs/libcxx )" -DEPEND="${RDEPEND}" - -PATCHES="${FILESDIR}/${P}-limits.patch" +PATCHES=( + "${FILESDIR}/${P}-limits.patch" +) src_configure() { local mycmakeargs=( - -DCPPTOML_BUILD_EXAMPLES=$(usex examples) - -DENABLE_LIBCXX=$(usex libcxx) + -DCPPTOML_BUILD_EXAMPLES=$(usex examples) ) + + if [[ $(tc-get-cxx-stdlib) == libc++ ]]; then + mycmakeargs+=(-DENABLE_LIBCXX=ON) + fi + cmake_src_configure } diff --git a/dev-cpp/cpptoml/metadata.xml b/dev-cpp/cpptoml/metadata.xml index ebdd6039ea87..c0cb3ce3c798 100644 --- a/dev-cpp/cpptoml/metadata.xml +++ b/dev-cpp/cpptoml/metadata.xml @@ -1,6 +1,14 @@ + + sin-ack@protonmail.com + sin-ack + + + proxy-maint@gentoo.org + Proxy Maintainers + A header-only library for parsing TOML configuration files. @@ -9,8 +17,5 @@ Targets: TOML v0.5.0 as of August 2018. This includes support for the new DateTime format, inline tables, multi-line basic and raw strings, digit separators, hexadecimal integers, octal integers, binary integers, and float special values. - - Use libc++ for the C++ standard library - - gentoo-guru-overlay + gentoo-staging \ No newline at end of file -- cgit v1.3