diff options
author | Jonas Licht <jonas.licht@fem.tu-ilmenau.de> | 2020-06-29 19:49:52 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-07-11 13:42:28 +0300 |
commit | f5a3ab31a3bb3e211ee53fd70c582ecc0fec79f5 (patch) | |
tree | 71bcb1cf32cabf481e3a8666281d7441c2c51dd6 /dev-libs | |
parent | dev-util/scons: Bump to 4.0.0 (diff) | |
download | gentoo-f5a3ab31a3bb3e211ee53fd70c582ecc0fec79f5.tar.gz gentoo-f5a3ab31a3bb3e211ee53fd70c582ecc0fec79f5.tar.bz2 gentoo-f5a3ab31a3bb3e211ee53fd70c582ecc0fec79f5.zip |
dev-libs/cgreen: add new package
- required by gvm toolset as a new dependency.
Closes: https://bugs.gentoo.org/730160
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jonas Licht <jonas.licht@fem.tu-ilmenau.de>
Closes: https://github.com/gentoo/gentoo/pull/16488
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/cgreen/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/cgreen/cgreen-1.3.0.ebuild | 25 | ||||
-rw-r--r-- | dev-libs/cgreen/files/cgreen-1.3.0-cmake-git.patch | 13 | ||||
-rw-r--r-- | dev-libs/cgreen/metadata.xml | 15 |
4 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/cgreen/Manifest b/dev-libs/cgreen/Manifest new file mode 100644 index 000000000000..1ecdc131f83e --- /dev/null +++ b/dev-libs/cgreen/Manifest @@ -0,0 +1 @@ +DIST cgreen-1.3.0.tar.gz 350959 BLAKE2B 467af04aae61745e1a78e872be9c174a0b21db7a470b48a3d96132f4bc97300b0d51fd4617e4588491a2f032b3ba82e665c7bd49be3d360a33dae0e1323716a5 SHA512 3734be08722900b4c6aaa1cd8a7a31ffd876c12742cf81266014158dad0919db46a457fbc742f3d7e9b1fdf75530ee872045962469eeeb6d1fc45fddf2b6d332 diff --git a/dev-libs/cgreen/cgreen-1.3.0.ebuild b/dev-libs/cgreen/cgreen-1.3.0.ebuild new file mode 100644 index 000000000000..3cbfc4e21fa1 --- /dev/null +++ b/dev-libs/cgreen/cgreen-1.3.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 2020 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}" +BDEPEND="" + +PATCHES=( + #Patch to fix git directory detection see https://github.com/cgreen-devs/cgreen/issues/234 + "${FILESDIR}/${P}-cmake-git.patch" +) diff --git a/dev-libs/cgreen/files/cgreen-1.3.0-cmake-git.patch b/dev-libs/cgreen/files/cgreen-1.3.0-cmake-git.patch new file mode 100644 index 000000000000..283ada2aa70e --- /dev/null +++ b/dev-libs/cgreen/files/cgreen-1.3.0-cmake-git.patch @@ -0,0 +1,13 @@ +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) + diff --git a/dev-libs/cgreen/metadata.xml b/dev-libs/cgreen/metadata.xml new file mode 100644 index 000000000000..7cd1d64d499c --- /dev/null +++ b/dev-libs/cgreen/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>jonas.licht@gmail.com</email> + <name>Jonas Licht</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">cgreen-devs/cgreen</remote-id> + </upstream> +</pkgmetadata> |