diff options
| author | root <root@alpha.trunkmasters.com> | 2026-09-18 21:54:51 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-09-18 21:54:51 -0500 |
| commit | 67d13c501bceeb7226193eca1bd2e5ed08e7b024 (patch) | |
| tree | 1e3ee1f518dbb53801ce1b48508436abb7b152e8 /dev-cpp/glaze | |
| parent | 9720a11af1e64187117d3c485b8df96672a294fe (diff) | |
| download | baldeagleos-repo-67d13c501bceeb7226193eca1bd2e5ed08e7b024.tar.gz baldeagleos-repo-67d13c501bceeb7226193eca1bd2e5ed08e7b024.tar.xz baldeagleos-repo-67d13c501bceeb7226193eca1bd2e5ed08e7b024.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp/glaze')
| -rw-r--r-- | dev-cpp/glaze/files/glaze-5.2.1-unbundle-test-deps.patch | 64 | ||||
| -rw-r--r-- | dev-cpp/glaze/files/glaze-7.0.2-unbundle-test-deps.patch (renamed from dev-cpp/glaze/files/glaze-5.5.4-unbundle-test-deps.patch) | 19 | ||||
| -rw-r--r-- | dev-cpp/glaze/glaze-5.5.4.ebuild | 44 | ||||
| -rw-r--r-- | dev-cpp/glaze/glaze-7.0.2.ebuild (renamed from dev-cpp/glaze/glaze-5.2.1.ebuild) | 6 | ||||
| -rw-r--r-- | dev-cpp/glaze/glaze-8.1.0.ebuild | 41 |
5 files changed, 14 insertions, 160 deletions
diff --git a/dev-cpp/glaze/files/glaze-5.2.1-unbundle-test-deps.patch b/dev-cpp/glaze/files/glaze-5.2.1-unbundle-test-deps.patch deleted file mode 100644 index 8ccf74af061f..000000000000 --- a/dev-cpp/glaze/files/glaze-5.2.1-unbundle-test-deps.patch +++ /dev/null @@ -1,64 +0,0 @@ -diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt -index 028b3994..0b105eb2 100644 ---- a/tests/CMakeLists.txt -+++ b/tests/CMakeLists.txt -@@ -1,17 +1,9 @@ - include(FetchContent) - --FetchContent_Declare( -- ut -- GIT_REPOSITORY https://github.com/openalgz/ut -- GIT_TAG v0.0.5 -- GIT_SHALLOW TRUE --) -+find_package(ut2-glaze REQUIRED) - - message(STATUS "Fetching dependencies...") - set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL TRUE) --set(CMAKE_SKIP_INSTALL_RULES ON CACHE BOOL "" FORCE) --FetchContent_MakeAvailable(ut) --set(CMAKE_SKIP_INSTALL_RULES OFF CACHE BOOL "" FORCE) - set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL FALSE) - message(STATUS "...finished fetching dependencies.") - -@@ -20,7 +12,7 @@ add_code_coverage_all_targets() - - add_library(glz_test_common INTERFACE) - target_compile_features(glz_test_common INTERFACE cxx_std_23) --target_link_libraries(glz_test_common INTERFACE ut::ut glaze::glaze) -+target_link_libraries(glz_test_common INTERFACE ut2-glaze::ut2-glaze glaze::glaze) - if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") - target_compile_options(glz_test_common INTERFACE -fno-exceptions -fno-rtti) - if(CMAKE_CXX_COMPILER_ID MATCHES "GNU") -@@ -46,7 +38,7 @@ endif() - - add_library(glz_test_exceptions INTERFACE) - target_compile_features(glz_test_exceptions INTERFACE cxx_std_23) --target_link_libraries(glz_test_exceptions INTERFACE ut::ut glaze::glaze) -+target_link_libraries(glz_test_exceptions INTERFACE ut2-glaze::ut2-glaze glaze::glaze) - if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") - target_compile_options(glz_test_exceptions INTERFACE) - target_compile_options(glz_test_exceptions INTERFACE -Wall -Wextra -pedantic) -diff --git a/tests/asio_repe/CMakeLists.txt b/tests/asio_repe/CMakeLists.txt -index 1518b4e5..3cc27f67 100644 ---- a/tests/asio_repe/CMakeLists.txt -+++ b/tests/asio_repe/CMakeLists.txt -@@ -1,14 +1,9 @@ - project(asio_repe) - --FetchContent_Declare( -- asio -- GIT_REPOSITORY https://github.com/chriskohlhoff/asio.git -- GIT_TAG asio-1-32-0 -- GIT_SHALLOW TRUE --) --FetchContent_MakeAvailable(asio) -+find_package(PkgConfig REQUIRED) -+pkg_check_modules(asio GLOBAL IMPORTED_TARGET REQUIRED asio) - - add_executable(${PROJECT_NAME} ${PROJECT_NAME}.cpp) - - target_include_directories(${PROJECT_NAME} PRIVATE include ${asio_SOURCE_DIR}/asio/include) --target_link_libraries(${PROJECT_NAME} PRIVATE glz_test_exceptions) -\ No newline at end of file -+target_link_libraries(${PROJECT_NAME} PRIVATE glz_test_exceptions) diff --git a/dev-cpp/glaze/files/glaze-5.5.4-unbundle-test-deps.patch b/dev-cpp/glaze/files/glaze-7.0.2-unbundle-test-deps.patch index fdcf4618d29a..59f1415e7fed 100644 --- a/dev-cpp/glaze/files/glaze-5.5.4-unbundle-test-deps.patch +++ b/dev-cpp/glaze/files/glaze-7.0.2-unbundle-test-deps.patch @@ -1,5 +1,8 @@ + tests/CMakeLists.txt | 14 +++----------- + 1 file changed, 3 insertions(+), 11 deletions(-) + diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt -index a2988c34..04f4e7e9 100644 +index ade41281..63fed1c7 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,17 +1,9 @@ @@ -8,7 +11,7 @@ index a2988c34..04f4e7e9 100644 -FetchContent_Declare( - ut - GIT_REPOSITORY https://github.com/openalgz/ut -- GIT_TAG v1.0.0 +- GIT_TAG v1.1.0 - GIT_SHALLOW TRUE -) +find_package(ut2-glaze REQUIRED) @@ -21,21 +24,21 @@ index a2988c34..04f4e7e9 100644 set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL FALSE) message(STATUS "...finished fetching dependencies.") -@@ -20,7 +12,7 @@ add_code_coverage_all_targets() +@@ -76,7 +68,7 @@ add_code_coverage_all_targets() add_library(glz_test_common INTERFACE) target_compile_features(glz_test_common INTERFACE cxx_std_23) --target_link_libraries(glz_test_common INTERFACE ut::ut glaze::glaze) -+target_link_libraries(glz_test_common INTERFACE ut2-glaze::ut2-glaze glaze::glaze) +-target_link_libraries(glz_test_common INTERFACE ut::ut glaze::glaze glz_asio) ++target_link_libraries(glz_test_common INTERFACE ut2-glaze::ut2-glaze glaze::glaze glz_asio) if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") target_compile_options(glz_test_common INTERFACE -fno-exceptions -fno-rtti) if(CMAKE_CXX_COMPILER_ID MATCHES "GNU") -@@ -46,7 +38,7 @@ endif() +@@ -102,7 +94,7 @@ endif() add_library(glz_test_exceptions INTERFACE) target_compile_features(glz_test_exceptions INTERFACE cxx_std_23) --target_link_libraries(glz_test_exceptions INTERFACE ut::ut glaze::glaze) -+target_link_libraries(glz_test_exceptions INTERFACE ut2-glaze::ut2-glaze glaze::glaze) +-target_link_libraries(glz_test_exceptions INTERFACE ut::ut glaze::glaze glz_asio) ++target_link_libraries(glz_test_exceptions INTERFACE ut2-glaze::ut2-glaze glaze::glaze glz_asio) if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") target_compile_options(glz_test_exceptions INTERFACE) target_compile_options(glz_test_exceptions INTERFACE -Wall -Wextra -pedantic) diff --git a/dev-cpp/glaze/glaze-5.5.4.ebuild b/dev-cpp/glaze/glaze-5.5.4.ebuild deleted file mode 100644 index 0c21e07e7a82..000000000000 --- a/dev-cpp/glaze/glaze-5.5.4.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Extremely fast, in memory, JSON and interface library for modern C++" -HOMEPAGE="https://github.com/stephenberry/glaze" -SRC_URI="https://github.com/stephenberry/glaze/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -S="${WORKDIR}/glaze-${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64" -IUSE="examples fuzzing test" -RESTRICT="!test? ( test )" - -DEPEND=" - test? ( - dev-cpp/asio - >=dev-cpp/eigen-3.4:= - dev-cpp/ut2-glaze - ) -" -RDEPEND="${DEPEND}" - -# Unbundle test dependencies otherwise they are fetched from github at build time -PATCHES=( - "${FILESDIR}/${P}-unbundle-test-deps.patch" -) - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_INSTALL_RULES=OFF - -Dglaze_DEVELOPER_MODE=ON - -Dglaze_ENABLE_FUZZING=$(usex fuzzing) - -Dglaze_BUILD_EXAMPLES=$(usex examples) - -DBUILD_TESTING=$(usex test) - ) - - cmake_src_configure -} diff --git a/dev-cpp/glaze/glaze-5.2.1.ebuild b/dev-cpp/glaze/glaze-7.0.2.ebuild index 0c21e07e7a82..bf3255dce0da 100644 --- a/dev-cpp/glaze/glaze-5.2.1.ebuild +++ b/dev-cpp/glaze/glaze-7.0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2025 Gentoo Authors +# Copyright 2025-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,14 +13,14 @@ S="${WORKDIR}/glaze-${PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64" +KEYWORDS="~amd64" IUSE="examples fuzzing test" RESTRICT="!test? ( test )" DEPEND=" test? ( dev-cpp/asio - >=dev-cpp/eigen-3.4:= + >=dev-cpp/eigen-3.4 dev-cpp/ut2-glaze ) " diff --git a/dev-cpp/glaze/glaze-8.1.0.ebuild b/dev-cpp/glaze/glaze-8.1.0.ebuild deleted file mode 100644 index c87b505c179c..000000000000 --- a/dev-cpp/glaze/glaze-8.1.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Extremely fast, in memory, JSON and interface library for modern C++" -HOMEPAGE="https://github.com/stephenberry/glaze" -SRC_URI=" - https://github.com/stephenberry/glaze/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz -" - -S="${WORKDIR}/glaze-${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="examples fuzzing test" -RESTRICT="!test? ( test )" - -DEPEND=" - test? ( - dev-cpp/asio - >=dev-cpp/eigen-3.4:= - >=dev-cpp/ut2-glaze-1.2.1 - ) -" -RDEPEND="${DEPEND}" - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_INSTALL_RULES=OFF - -Dglaze_DEVELOPER_MODE=ON - -Dglaze_ENABLE_FUZZING=$(usex fuzzing) - -Dglaze_BUILD_EXAMPLES=$(usex examples) - -DBUILD_TESTING=$(usex test) - ) - - cmake_src_configure -} |
