aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-cpp/cpptrace/Manifest1
-rw-r--r--dev-cpp/cpptrace/cpptrace-0.7.3.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-cpp/cpptrace/Manifest b/dev-cpp/cpptrace/Manifest
index b28547519..ae9591d06 100644
--- a/dev-cpp/cpptrace/Manifest
+++ b/dev-cpp/cpptrace/Manifest
@@ -1,3 +1,4 @@
DIST cpptrace-0.6.3.tar.gz 321472 BLAKE2B 8f6fd949e8e30ae9860516d4ab20583606ace12d5c37b512e1940a472143e90befd7179591a2eba80f25545c2036775224b3a1644cb26c342618f6f85617dc5f SHA512 fbea457268fcf535c8295098c8e21a915cae408a253050d9c69d2d34758b2e3cc14d3cfc39ee2dbe9399f4363a4a1462447206067f794cbf88282b54a9a587e7
DIST cpptrace-0.7.0.tar.gz 373947 BLAKE2B ac8337baaa53ce52210f64efb1e6203df830e03316479d8780bf927c5ef4f300e8987cc8371fd219b5bd9929b14b7fd36087374e9c910147ca640cb6ed2a46de SHA512 e205ab54e51dc5fe0cc448e181181d3a2ef3e0d2435d5040cca7f36fc9f9998a0cea2a11051898ebfcc84954a1dd2aff9f48ac9ab718e5d8f974aff419f9ff23
DIST cpptrace-0.7.2.tar.gz 376987 BLAKE2B 9a76c077dc30a8aaf68a37e587d1d6fea940fc30b62a1fe4e93b5816353594283b95bc4e2c91d36f4ef250b90adfe0fab0732fa8e5af176b5e54bae33c99b9b5 SHA512 476db9964d4b8b353015e998e6e74ff811957f05319d8066bafd3f0858c945e7bdfd922f286ca6152a3094c5ad93ccac0790d70e248223c129020eddd7eee72d
+DIST cpptrace-0.7.3.tar.gz 377957 BLAKE2B c671e37bd168260882ca6f4b8a8a335eb4f470c5ca53115b607cfb8467b98871ea83252b097a16ae257164815518c00a747f38c3f660158030b928aaefc1e31c SHA512 8e1c4ec3f7bbc717a677f00ee8c56bb082732d779b2682e9cc629ba96e68def786c12e815f10606067e361f0c1d46f9833e454c786aa26688ef1a940a5e6d98b
diff --git a/dev-cpp/cpptrace/cpptrace-0.7.3.ebuild b/dev-cpp/cpptrace/cpptrace-0.7.3.ebuild
new file mode 100644
index 000000000..6f16e12cb
--- /dev/null
+++ b/dev-cpp/cpptrace/cpptrace-0.7.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Simple, portable, and self-contained stacktrace library for C++"
+HOMEPAGE="https://github.com/jeremy-rifkin/cpptrace"
+SRC_URI="https://github.com/jeremy-rifkin/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-libs/libdwarf
+ test? ( dev-cpp/gtest )"
+RDEPEND="${DEPEND}"
+
+QA_FLAGS_IGNORED="unittest"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCPPTRACE_USE_EXTERNAL_LIBDWARF=On
+ -DCPPTRACE_USE_EXTERNAL_GTEST=On
+ -DCPPTRACE_BUILD_TESTING=$(usex test)
+ )
+
+ cmake_src_configure
+}