1 |
commit: 17d71ecd3a564c0b72d6e78e09ebc998f5fab554 |
2 |
Author: David Roman <davidroman96 <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon May 31 11:21:25 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 17 06:50:50 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17d71ecd |
7 |
|
8 |
dev-libs/spdlog: verbump to 1.8.5 |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: David Roman <davidroman96 <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/21058 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
dev-libs/spdlog/Manifest | 1 + |
16 |
dev-libs/spdlog/spdlog-1.8.5.ebuild | 47 +++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 48 insertions(+) |
18 |
|
19 |
diff --git a/dev-libs/spdlog/Manifest b/dev-libs/spdlog/Manifest |
20 |
index 7e8ed89d1d4..bd4755242c9 100644 |
21 |
--- a/dev-libs/spdlog/Manifest |
22 |
+++ b/dev-libs/spdlog/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST spdlog-1.8.2.tar.gz 319010 BLAKE2B a17ac7691c74600e435cff9d45495a7f7e8ae5439400a9f0b02c3891daca232aa57b25ba6d619ce19d50bf053b28454a7e4f205ed439ca4345dd044390512a29 SHA512 7a0a2353a10187cc314253b366fc46be8f9fe2480d2cbac3a96a8e6825ee4b62b0a5ebb3add2b22b5d7ca8fe6dddd963926603e5296e3431c0a4f7ac42beda7f |
25 |
+DIST spdlog-1.8.5.tar.gz 321229 BLAKE2B 2cdc1902a9e6f51da5c1af02b2961914a5437cfefec13aaaca8b996166c0990f602c811f69569a8812d880f995b401af44457ec4255bc5a0f9e46b51266d1b43 SHA512 77cc9df0c40bbdbfe1f3e5818dccf121918bfceac28f2608f39e5bf944968b7e8e24a6fc29f01bc58a9bae41b8892d49cfb59c196935ec9868884320b50f130c |
26 |
|
27 |
diff --git a/dev-libs/spdlog/spdlog-1.8.5.ebuild b/dev-libs/spdlog/spdlog-1.8.5.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..deb8aada3af |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/spdlog/spdlog-1.8.5.ebuild |
32 |
@@ -0,0 +1,47 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit cmake |
39 |
+ |
40 |
+DESCRIPTION="Very fast, header only, C++ logging library" |
41 |
+HOMEPAGE="https://github.com/gabime/spdlog" |
42 |
+ |
43 |
+if [[ ${PV} == *9999 ]]; then |
44 |
+ inherit git-r3 |
45 |
+ EGIT_REPO_URI="https://github.com/gabime/${PN}" |
46 |
+else |
47 |
+ SRC_URI="https://github.com/gabime/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
49 |
+fi |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0/1" |
53 |
+IUSE="test" |
54 |
+RESTRICT="!test? ( test )" |
55 |
+ |
56 |
+BDEPEND=" |
57 |
+ virtual/pkgconfig |
58 |
+" |
59 |
+DEPEND=" |
60 |
+ >=dev-libs/libfmt-6.1.2:= |
61 |
+" |
62 |
+RDEPEND="${DEPEND}" |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ cmake_src_prepare |
66 |
+ rm -r include/spdlog/fmt/bundled || die "Failed to delete bundled libfmt" |
67 |
+} |
68 |
+ |
69 |
+src_configure() { |
70 |
+ local mycmakeargs=( |
71 |
+ -DSPDLOG_BUILD_BENCH=no |
72 |
+ -DSPDLOG_BUILD_EXAMPLE=no |
73 |
+ -DSPDLOG_FMT_EXTERNAL=yes |
74 |
+ -DSPDLOG_BUILD_SHARED=yes |
75 |
+ -DSPDLOG_BUILD_TESTS=$(usex test) |
76 |
+ ) |
77 |
+ |
78 |
+ cmake_src_configure |
79 |
+} |