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/string-theory | |
| 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/string-theory')
| -rw-r--r-- | dev-cpp/string-theory/Manifest | 1 | ||||
| -rw-r--r-- | dev-cpp/string-theory/files/string-theory-3.9-unbundle-gtest.patch | 18 | ||||
| -rw-r--r-- | dev-cpp/string-theory/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-cpp/string-theory/string-theory-3.9.ebuild | 36 |
4 files changed, 68 insertions, 0 deletions
diff --git a/dev-cpp/string-theory/Manifest b/dev-cpp/string-theory/Manifest new file mode 100644 index 000000000000..ecc07443ec29 --- /dev/null +++ b/dev-cpp/string-theory/Manifest @@ -0,0 +1 @@ +DIST string-theory-3.9.tar.gz 68952 BLAKE2B f18c558b38b346d5cfcaa18ae6ea28c223571c8c016b686f5ed787c17c34cb6bec62e064072adf8a5ebc7d2eab89173d171f02a180f3664f36f05cf8d7845808 SHA512 a36825ab22be64c7c7b54861e88dea0bde5f0b80d32fc86b863e4409c820a25fea17cfbf2d068c1fdf4fb371714337dff390d31c983ea898fbdc37a09c469b4a diff --git a/dev-cpp/string-theory/files/string-theory-3.9-unbundle-gtest.patch b/dev-cpp/string-theory/files/string-theory-3.9-unbundle-gtest.patch new file mode 100644 index 000000000000..3ebb410b224e --- /dev/null +++ b/dev-cpp/string-theory/files/string-theory-3.9-unbundle-gtest.patch @@ -0,0 +1,18 @@ +Use system GTest instead of fetching it +https://bugs.gentoo.org/880353 +--- a/test/CMakeLists.txt 2025-03-23 22:20:35.060895402 +0300 ++++ b/test/CMakeLists.txt 2025-03-23 22:22:29.964436254 +0300 +@@ -33,12 +33,7 @@ + set(BUILD_GMOCK OFF CACHE INTERNAL "Override gtest default" FORCE) + set(INSTALL_GTEST OFF CACHE INTERNAL "Override gtest default" FORCE) + +-include(FetchContent) +-FetchContent_Declare(gtest +- GIT_REPOSITORY https://github.com/google/googletest.git +- GIT_TAG v1.15.2 +-) +-FetchContent_MakeAvailable(gtest) ++find_package(GTest REQUIRED) + + add_executable(st_gtests "") + target_link_libraries(st_gtests PRIVATE gtest gtest_main string_theory) diff --git a/dev-cpp/string-theory/metadata.xml b/dev-cpp/string-theory/metadata.xml new file mode 100644 index 000000000000..d820c4ed047e --- /dev/null +++ b/dev-cpp/string-theory/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>misanthropos@gmx.net</email> + <name>Richard Fröhning</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-cpp/string-theory/string-theory-3.9.ebuild b/dev-cpp/string-theory/string-theory-3.9.ebuild new file mode 100644 index 000000000000..784371a60ea5 --- /dev/null +++ b/dev-cpp/string-theory/string-theory-3.9.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="A flexible modern C++ library for string manipulation and storage" +HOMEPAGE="https://github.com/zrax/string_theory/" +SRC_URI="https://github.com/zrax/string_theory/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/string_theory-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( >=dev-cpp/gtest-1.15.2 ) +" + +PATCHES=( "${FILESDIR}/${P}-unbundle-gtest.patch" ) + +src_configure() { + local mycmakeargs=( + -DST_BUILD_TESTS=$(usex test) + ) + + cmake_src_configure +} + +src_test() { + cd "${BUILD_DIR}/test" || die + ./st_gtests || die +} |
