1 |
commit: 9962887885d3a5e5308f746c23d621046c7a7cd1 |
2 |
Author: David Roman <davidroman96 <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jan 23 20:40:28 2019 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 23 21:28:34 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99628878 |
7 |
|
8 |
dev-libs/spdlog: verbump to 1.3.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.57, Repoman-2.3.12 |
11 |
Signed-off-by: David Roman <davidroman96 <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/10897 |
13 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
14 |
|
15 |
dev-libs/spdlog/Manifest | 1 + |
16 |
dev-libs/spdlog/spdlog-1.3.1.ebuild | 40 +++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 41 insertions(+) |
18 |
|
19 |
diff --git a/dev-libs/spdlog/Manifest b/dev-libs/spdlog/Manifest |
20 |
index 253b0728966..9beed729a3b 100644 |
21 |
--- a/dev-libs/spdlog/Manifest |
22 |
+++ b/dev-libs/spdlog/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
DIST spdlog-1.2.1.tar.gz 188284 BLAKE2B c3491a9c44d8a94c51d50c9ef36a2105f77e8fb61bb7b2b81a341609f433abbe3a74e7b4a467dd715a5d906f976740716488d07b4510f366556ab59d160ceefe SHA512 418f91efc207fa227558212d82c41639c0bb59e84ea47447e0b6276c4842e97f1f8aaf5802c071ef15d80ec525e317e70b6a39661a6c96ab39d33d9bd1570da1 |
25 |
DIST spdlog-1.3.0.tar.gz 202637 BLAKE2B 97027a3672b826e294dbdc202afa913a42ddae5a02a569ac28c41d79b96128de045ac5df30a76d888d6b3bea5093fb75b006365d7b1b296842750a39f43835d6 SHA512 019a52d4b6c66287ee2a6e8177457ecbbb78e1cb894f4a0a90b83a84d66cd37b397cdf77892d9116e4c34113bd3277d606d578bc96ec6521ae7745f08b1aa54f |
26 |
+DIST spdlog-1.3.1.tar.gz 202634 BLAKE2B 2465a8d1a38af1527ae66d92f5dd91ad504d01e44ac47702e315f7448e19f01743627357132f0561e48807315df9b102f337f95cab5a7aae3ec0ae7ceff940b9 SHA512 a851a44b6384f493dd312ae0a611d068af46bbfe8daf1c2f61f13d8836a3801f41b339074fbe8da8e428131c82fa5c4a9e3320a55cbdd4b7aff8bb349dfff7dd |
27 |
|
28 |
diff --git a/dev-libs/spdlog/spdlog-1.3.1.ebuild b/dev-libs/spdlog/spdlog-1.3.1.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..497e7da9b41 |
31 |
--- /dev/null |
32 |
+++ b/dev-libs/spdlog/spdlog-1.3.1.ebuild |
33 |
@@ -0,0 +1,40 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+inherit cmake-utils |
40 |
+ |
41 |
+DESCRIPTION="Very fast, header only, C++ logging library" |
42 |
+HOMEPAGE="https://github.com/gabime/spdlog" |
43 |
+ |
44 |
+if [[ ${PV} == *9999 ]]; then |
45 |
+ inherit git-r3 |
46 |
+ EGIT_REPO_URI="https://github.com/gabime/spdlog" |
47 |
+else |
48 |
+ SRC_URI="https://github.com/gabime/spdlog/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
49 |
+ KEYWORDS="~amd64" |
50 |
+fi |
51 |
+ |
52 |
+LICENSE="MIT" |
53 |
+SLOT="0/1" |
54 |
+IUSE="test" |
55 |
+ |
56 |
+DEPEND=" |
57 |
+ >=dev-libs/libfmt-5.0.0 |
58 |
+" |
59 |
+RDEPEND="${DEPEND}" |
60 |
+ |
61 |
+PATCHES=( "${FILESDIR}/${PN}-1.0.0-unbundle-fmt.patch" ) |
62 |
+ |
63 |
+src_configure() { |
64 |
+ rm -r include/spdlog/fmt/bundled || die |
65 |
+ |
66 |
+ local mycmakeargs=( |
67 |
+ -DSPDLOG_BUILD_EXAMPLES=no |
68 |
+ -DSPDLOG_BUILD_BENCH=no |
69 |
+ -DSPDLOG_BUILD_TESTS=$(usex test) |
70 |
+ ) |
71 |
+ |
72 |
+ cmake-utils_src_configure |
73 |
+} |