diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-cpp/jsoncons | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp/jsoncons')
| -rw-r--r-- | dev-cpp/jsoncons/Manifest | 3 | ||||
| -rw-r--r-- | dev-cpp/jsoncons/files/jsoncons-1.5.0-werror.patch | 27 | ||||
| -rw-r--r-- | dev-cpp/jsoncons/jsoncons-1.4.3.ebuild | 27 | ||||
| -rw-r--r-- | dev-cpp/jsoncons/jsoncons-1.5.0.ebuild | 31 | ||||
| -rw-r--r-- | dev-cpp/jsoncons/jsoncons-1.6.0.ebuild | 31 | ||||
| -rw-r--r-- | dev-cpp/jsoncons/metadata.xml | 17 |
6 files changed, 136 insertions, 0 deletions
diff --git a/dev-cpp/jsoncons/Manifest b/dev-cpp/jsoncons/Manifest new file mode 100644 index 000000000000..652d67bfcd80 --- /dev/null +++ b/dev-cpp/jsoncons/Manifest @@ -0,0 +1,3 @@ +DIST jsoncons-1.4.3.tar.gz 1541372 BLAKE2B 599b0df49615e0ec30aa03bce141117574ac9d7710a41268062e48fc55f0e05b8ea4d1482a1489c1cb6f56ea587580054c9fa7d45a228269c38e9331af3d4aeb SHA512 01b6df6354b3f6f29dcc341b74d94f6a45846546e67adf34cff3bd1befcf436390fa246faf5da4153f6ce3a5c5b3ec8c160e5bc9a0e1a7dc2b092a3e3f0fd69d +DIST jsoncons-1.5.0.tar.gz 1554707 BLAKE2B c95ab53cf89e5e961b1e31fa218e18ad55bea31b6357b6964ec8c3809943617e4d4271579e49df3cc13e3776eb6d2537727c5e70b7179c70e299ff1e845cd0a8 SHA512 ce4ff8aaf31ad781e5caaf27172c867a8009bcc322dee5e34c6815434dbb234bf0d22ee9caa82c0ee1a9b25f3355da4363b5d663fded46a9ffc58ca802dad4ae +DIST jsoncons-1.6.0.tar.gz 1603248 BLAKE2B fba2886809e6dad32616f99c2ab70d0c51cdef81b554b7fc154f8204e3f5516c0b50b91bba34c96b71cee9754ebec841399be33f65589477faf43bb95f915abc SHA512 3424c425414b7bdbf01f1b1e3e727ff319d490105f0aa6caf7766461b5320f63133fbc492c40cc354476e27fdfb503bdbc567c25859d493506aefa5f95f9e592 diff --git a/dev-cpp/jsoncons/files/jsoncons-1.5.0-werror.patch b/dev-cpp/jsoncons/files/jsoncons-1.5.0-werror.patch new file mode 100644 index 000000000000..d810857f9418 --- /dev/null +++ b/dev-cpp/jsoncons/files/jsoncons-1.5.0-werror.patch @@ -0,0 +1,27 @@ +Remove -Werror + +https://bugs.gentoo.org/970841 + +--- a/test/CMakeLists.txt ++++ b/test/CMakeLists.txt +@@ -219,20 +219,6 @@ target_compile_options(unit_tests PRIVATE + $<$<CXX_COMPILER_ID:MSVC>: /EHsc /MP /bigobj /W4> + ) + +-if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "8.0") +- message(STATUS Version " ${CMAKE_CXX_COMPILER_VERSION}") +- # older GCC versions don't support +- target_compile_options(unit_tests PRIVATE +- $<$<CXX_COMPILER_ID:GNU>:-Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=free-nonheap-object -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull> +- ) +-endif() +- +-if (NOT CMAKE_SYSTEM_NAME STREQUAL Windows) +-target_compile_options(unit_tests PRIVATE +- $<$<CXX_COMPILER_ID:Clang>:-Werror=uninitialized -Werror -Wall -Wextra -Wimplicit-fallthrough -Wcast-align -Wcast-qual -Wsign-compare -pedantic> +-) +-endif() +- + add_test(NAME unit_tests COMMAND unit_tests WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test) + + target_include_directories (unit_tests diff --git a/dev-cpp/jsoncons/jsoncons-1.4.3.ebuild b/dev-cpp/jsoncons/jsoncons-1.4.3.ebuild new file mode 100644 index 000000000000..79fff7668853 --- /dev/null +++ b/dev-cpp/jsoncons/jsoncons-1.4.3.ebuild @@ -0,0 +1,27 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="C++ header-only library for JSON and JSON-like data formats" +HOMEPAGE="https://danielaparker.github.io/jsoncons/ https://github.com/danielaparker/jsoncons" +SRC_URI="https://github.com/danielaparker/jsoncons/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS=( doc ) + +# uses modified version of catch.hpp, doesn't work with upstream catch2 + +src_configure() { + local mycmakeargs=( + -DJSONCONS_BUILD_TESTS=$(usex test) + ) + cmake_src_configure +} diff --git a/dev-cpp/jsoncons/jsoncons-1.5.0.ebuild b/dev-cpp/jsoncons/jsoncons-1.5.0.ebuild new file mode 100644 index 000000000000..466bf282e863 --- /dev/null +++ b/dev-cpp/jsoncons/jsoncons-1.5.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="C++ header-only library for JSON and JSON-like data formats" +HOMEPAGE="https://danielaparker.github.io/jsoncons/ https://github.com/danielaparker/jsoncons" +SRC_URI="https://github.com/danielaparker/jsoncons/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS=( doc ) + +PATCHES=( + "${FILESDIR}/jsoncons-1.5.0-werror.patch" +) + +# uses modified version of catch.hpp, doesn't work with upstream catch2 + +src_configure() { + local mycmakeargs=( + -DJSONCONS_BUILD_TESTS=$(usex test) + ) + cmake_src_configure +} diff --git a/dev-cpp/jsoncons/jsoncons-1.6.0.ebuild b/dev-cpp/jsoncons/jsoncons-1.6.0.ebuild new file mode 100644 index 000000000000..466bf282e863 --- /dev/null +++ b/dev-cpp/jsoncons/jsoncons-1.6.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="C++ header-only library for JSON and JSON-like data formats" +HOMEPAGE="https://danielaparker.github.io/jsoncons/ https://github.com/danielaparker/jsoncons" +SRC_URI="https://github.com/danielaparker/jsoncons/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS=( doc ) + +PATCHES=( + "${FILESDIR}/jsoncons-1.5.0-werror.patch" +) + +# uses modified version of catch.hpp, doesn't work with upstream catch2 + +src_configure() { + local mycmakeargs=( + -DJSONCONS_BUILD_TESTS=$(usex test) + ) + cmake_src_configure +} diff --git a/dev-cpp/jsoncons/metadata.xml b/dev-cpp/jsoncons/metadata.xml new file mode 100644 index 000000000000..c187a111055f --- /dev/null +++ b/dev-cpp/jsoncons/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>alexey+gentoo@asokolov.org</email> + <name>Alexey Sokolov</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/danielaparker/jsoncons/issues</bugs-to> + <doc>https://danielaparker.github.io/jsoncons/</doc> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
