From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/cgreen/
Date: Wed, 21 May 2025 10:14:32 +0000 (UTC) [thread overview]
Message-ID: <1747822452.1be6a47e4848bde73bb4b9df340f5529788196e4.sam@gentoo> (raw)
commit: 1be6a47e4848bde73bb4b9df340f5529788196e4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 21 10:13:28 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 21 10:14:12 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1be6a47e
dev-libs/cgreen: add 1.6.4
Small style tweaks over 1.6.3.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/cgreen/Manifest | 1 +
dev-libs/cgreen/cgreen-1.6.4.ebuild | 43 +++++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+)
diff --git a/dev-libs/cgreen/Manifest b/dev-libs/cgreen/Manifest
index 9aa7f90c9f7c..5cbbfc42d9d1 100644
--- a/dev-libs/cgreen/Manifest
+++ b/dev-libs/cgreen/Manifest
@@ -1,2 +1,3 @@
DIST cgreen-1.3.0.tar.gz 350959 BLAKE2B 467af04aae61745e1a78e872be9c174a0b21db7a470b48a3d96132f4bc97300b0d51fd4617e4588491a2f032b3ba82e665c7bd49be3d360a33dae0e1323716a5 SHA512 3734be08722900b4c6aaa1cd8a7a31ffd876c12742cf81266014158dad0919db46a457fbc742f3d7e9b1fdf75530ee872045962469eeeb6d1fc45fddf2b6d332
DIST cgreen-1.6.3.tar.gz 461875 BLAKE2B 94df8754e164d04f40211a8ec1ca1959d6ad9cfd74ec986cb71e38dfec17f0db762d7b879fd86676553cd3134d966f9cb43a4ba035cf22ac080dfd8a28745dbf SHA512 0dbd637e6d2c0511d5e540107b3a4c7c66c3017e1626e19224e2e79f176f07a518be345689fc543f867dd0b412310f3bf10f4560de11239120bc206a1be3a3d8
+DIST cgreen-1.6.4.tar.gz 462389 BLAKE2B 3d1082737e75a29efccb405298d5883388bf46fd49b9c97bfb6c92dbc8840ad85544d61cd13b844fe3b16f1506dc86ab5125f2b13fe28280168b4568271e8304 SHA512 ffaf10c1a0445eb957d73d49346547db32fb83160a7edf822583f908c0ab30f9f8f2dea1037337dc4306d6eaa47b8ffe3a8acaf4e8956fdd9e6cfc20bbc09bf2
diff --git a/dev-libs/cgreen/cgreen-1.6.4.ebuild b/dev-libs/cgreen/cgreen-1.6.4.ebuild
new file mode 100644
index 000000000000..a907d39c7cbe
--- /dev/null
+++ b/dev-libs/cgreen/cgreen-1.6.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="Unit test and mocking framework for C and C++"
+HOMEPAGE="
+ https://cgreen-devs.github.io/cgreen/
+ https://github.com/cgreen-devs/cgreen
+"
+SRC_URI="https://github.com/cgreen-devs/cgreen/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="amd64 ~x86"
+IUSE="libxml2 test xml" # doc flag could be added
+RESTRICT="!test? ( test )"
+
+DEPEND="libxml2? ( dev-libs/libxml2:= )"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ ${DEPEND}
+ test? ( dev-lang/perl )
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.6.3_no-fortify-source.patch )
+
+src_configure() {
+ # Fails to compile with LTO because of ODR violation
+ filter-lto
+
+ local mycmakeargs=(
+ -DCGREEN_WITH_STATIC_LIBRARY=OFF # upstream default
+ -DCGREEN_WITH_LIBXML2=$(usex libxml2)
+ -DCGREEN_WITH_UNIT_TESTS=$(usex test)
+ -DCGREEN_WITH_XML=$(usex xml)
+ )
+
+ # Makefile is a wrapper for cmake, ignore it
+ cmake_src_configure
+}
next reply other threads:[~2025-05-21 10:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-21 10:14 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-21 10:15 [gentoo-commits] repo/gentoo:master commit in: dev-libs/cgreen/ Sam James
2024-02-28 20:50 Jakov Smolić
2020-07-11 10:42 Joonas Niilola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1747822452.1be6a47e4848bde73bb4b9df340f5529788196e4.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox