summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/cpptoml/cpptoml-0.1.1.ebuild21
-rw-r--r--dev-cpp/cpptoml/metadata.xml13
-rw-r--r--dev-cpp/wt/wt-4.11.0.ebuild2
-rw-r--r--dev-cpp/wt/wt-4.11.1.ebuild2
4 files changed, 23 insertions, 15 deletions
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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="person">
+ <email>sin-ack@protonmail.com</email>
+ <name>sin-ack</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<longdescription lang="en">
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.
</longdescription>
- <use>
- <flag name="libcxx">Use libc++ for the C++ standard library</flag>
- </use>
- <origin>gentoo-guru-overlay</origin>
+ <origin>gentoo-staging</origin>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-cpp/wt/wt-4.11.0.ebuild b/dev-cpp/wt/wt-4.11.0.ebuild
index f2d2d5ec2d7c..9db9580fc80b 100644
--- a/dev-cpp/wt/wt-4.11.0.ebuild
+++ b/dev-cpp/wt/wt-4.11.0.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.webtoolkit.eu/wt https://github.com/emweb/wt"
SRC_URI="https://github.com/emweb/wt/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
-SLOT="0"
+SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="doc firebird mysql opengl +pango pdf postgres ssl"
diff --git a/dev-cpp/wt/wt-4.11.1.ebuild b/dev-cpp/wt/wt-4.11.1.ebuild
index 1847d0b45c0f..f9e0dc151ebb 100644
--- a/dev-cpp/wt/wt-4.11.1.ebuild
+++ b/dev-cpp/wt/wt-4.11.1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.webtoolkit.eu/wt https://github.com/emweb/wt"
SRC_URI="https://github.com/emweb/wt/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
-SLOT="0"
+SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="doc firebird mysql opengl +pango pdf postgres ssl"