1 |
commit: fbf5279239f798f8170d43c47e16b9d06ce44127 |
2 |
Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jul 26 18:22:31 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 6 05:55:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbf52792 |
7 |
|
8 |
dev-cpp/benchmark: New package |
9 |
|
10 |
Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com> |
11 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
12 |
|
13 |
dev-cpp/benchmark/Manifest | 1 + |
14 |
dev-cpp/benchmark/benchmark-1.5.1.ebuild | 26 ++++++++++++++++++++++++++ |
15 |
dev-cpp/benchmark/metadata.xml | 17 +++++++++++++++++ |
16 |
3 files changed, 44 insertions(+) |
17 |
|
18 |
diff --git a/dev-cpp/benchmark/Manifest b/dev-cpp/benchmark/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..1bc43e7976a |
21 |
--- /dev/null |
22 |
+++ b/dev-cpp/benchmark/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST benchmark-1.5.1.tar.gz 154896 BLAKE2B cb8d74b3e6662e35ea12809d8b62d1e3a6849668840c84697e7f4b2d29eaf68688bb1cda6f43c170e70366de88a93af79bb709d55dfc8d79140c11a31855a46b SHA512 1e8782ab6846b8b29c5eea41ed1ba19dd92a46a135cf74acdc588e2cd5ef05581c644d20fc0d6403456d65417538e1db80109ae87989601298b2fc56ae3c3161 |
25 |
|
26 |
diff --git a/dev-cpp/benchmark/benchmark-1.5.1.ebuild b/dev-cpp/benchmark/benchmark-1.5.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c64fe45b19a |
29 |
--- /dev/null |
30 |
+++ b/dev-cpp/benchmark/benchmark-1.5.1.ebuild |
31 |
@@ -0,0 +1,26 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit cmake |
38 |
+ |
39 |
+DESCRIPTION="A microbenchmark support library" |
40 |
+HOMEPAGE="https://github.com/google/benchmark" |
41 |
+SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="Apache-2.0" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="test" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+src_configure() { |
50 |
+ local mycmakeargs=( |
51 |
+ -DBENCHMARK_ENABLE_TESTING=$(usex test) |
52 |
+ -DBENCHMARK_ENABLE_GTEST_TESTS=OFF |
53 |
+ -DBENCHMARK_ENABLE_ASSEMBLY_TESTS=OFF |
54 |
+ ) |
55 |
+ |
56 |
+ cmake_src_configure |
57 |
+} |
58 |
|
59 |
diff --git a/dev-cpp/benchmark/metadata.xml b/dev-cpp/benchmark/metadata.xml |
60 |
new file mode 100644 |
61 |
index 00000000000..49126cc81f1 |
62 |
--- /dev/null |
63 |
+++ b/dev-cpp/benchmark/metadata.xml |
64 |
@@ -0,0 +1,17 @@ |
65 |
+<?xml version="1.0" encoding="UTF-8"?> |
66 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
67 |
+<pkgmetadata> |
68 |
+ <maintainer type="person"> |
69 |
+ <email>vilhelm.gray@×××××.com</email> |
70 |
+ <name>William Breathitt Gray</name> |
71 |
+ </maintainer> |
72 |
+ <maintainer type="project"> |
73 |
+ <email>proxy-maint@g.o</email> |
74 |
+ <name>Proxy Maintainers</name> |
75 |
+ </maintainer> |
76 |
+ <upstream> |
77 |
+ <bugs-to>https://github.com/google/benchmark/issues</bugs-to> |
78 |
+ <doc lang="en">https://github.com/google/benchmark/blob/master/docs/</doc> |
79 |
+ <remote-id type="github">google/benchmark</remote-id> |
80 |
+ </upstream> |
81 |
+</pkgmetadata> |