dev-libs/cgreen: drop 1.3.0, 1.6.3

Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
Petr Vaněk 2025-07-27 21:34:06 +02:00
parent e18a63133b
commit 76e45d47f7
No known key found for this signature in database
GPG Key ID: 351D91B6D7DF9E50
4 changed files with 0 additions and 77 deletions

View File

@ -1,3 +1 @@
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

View File

@ -1,22 +0,0 @@
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="Unit test and mocking framework for C and C++"
HOMEPAGE="https://cgreen-devs.github.io/"
SRC_URI="https://github.com/cgreen-devs/cgreen/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="amd64 ~x86"
DEPEND="sys-libs/glibc:="
RDEPEND="${DEPEND}"
PATCHES=(
#Patch to fix git directory detection see https://github.com/cgreen-devs/cgreen/issues/234
"${FILESDIR}/${P}-cmake-git.patch"
)

View File

@ -1,40 +0,0 @@
# 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() {
# Makefile is a wrapper for cmake, ignore it
filter-lto # fails to compile with LTO because of ODR violation
local mycmakeargs=(
-DCGREEN_WITH_STATIC_LIBRARY=OFF # upstream default
-DCGREEN_WITH_LIBXML2=$(usex libxml2 ON OFF)
-DCGREEN_WITH_UNIT_TESTS=$(usex test ON OFF)
-DCGREEN_WITH_XML=$(usex xml ON OFF)
)
cmake_src_configure
}

View File

@ -1,13 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 350bb89..d496f5a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -62,7 +62,6 @@ execute_process(
OUTPUT_VARIABLE GITDIR
OUTPUT_STRIP_TRAILING_WHITESPACE
)
-get_filename_component(GITDIR "${GITDIR}" ABSOLUTE)
# config.h checks
include(ConfigureChecks.cmake)