From d05a0a16218bf86412d41a673bc9606448efa9fd Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Sat, 1 Jan 2022 00:20:46 -0500 Subject: dev-cpp/rapidyaml: initial import, version 0.3.0 Originally thought to make c4core a separate package, but upstream's rather custom cmake files complicate this and it feels more like a private library (same upstream). It also caused PCSX2 build to fail due to needing to link with c4core as well if it's not builtin. May need revisiting if another package ever depends on c4core directly or want to package the similar test deps (c4fs/c4log). Signed-off-by: Ionen Wolkens --- .../files/rapidyaml-0.3.0-no-download.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 dev-cpp/rapidyaml/files/rapidyaml-0.3.0-no-download.patch (limited to 'dev-cpp/rapidyaml/files/rapidyaml-0.3.0-no-download.patch') diff --git a/dev-cpp/rapidyaml/files/rapidyaml-0.3.0-no-download.patch b/dev-cpp/rapidyaml/files/rapidyaml-0.3.0-no-download.patch new file mode 100644 index 000000000000..97c4926cd9d2 --- /dev/null +++ b/dev-cpp/rapidyaml/files/rapidyaml-0.3.0-no-download.patch @@ -0,0 +1,23 @@ +--- a/ext/testbm.cmake ++++ b/ext/testbm.cmake +@@ -1,4 +1,2 @@ + # these are used both for testing and benchmarking +-c4_require_subproject(c4fs REMOTE +- GIT_REPOSITORY https://github.com/biojppm/c4fs +- GIT_TAG master) ++c4_require_subproject(c4fs SUBDIRECTORY ext/c4fs) +--- a/test/CMakeLists.txt ++++ b/test/CMakeLists.txt +@@ -103,10 +103,5 @@ + +- c4_require_subproject(c4log REMOTE +- GIT_REPOSITORY https://github.com/biojppm/c4log +- GIT_TAG master) ++ c4_require_subproject(c4log SUBDIRECTORY ../ext/c4log) + +- set(tsdir ${ed}/yaml-test-suite) +- c4_download_remote_proj(yaml-test-suite tsdir +- GIT_REPOSITORY https://github.com/yaml/yaml-test-suite +- GIT_TAG bcd49a2d4919c1b1ac3b9d6e5ebe6b140b5089e3) ++ set(tsdir ${CMAKE_SOURCE_DIR}/ext/yaml-test-suite) + set(suite_dir ${tsdir}/src) -- cgit v1.2.3