1 |
commit: 7e85656f8a892cf61de0b38a01f5d95897586060 |
2 |
Author: David Roman <davidroman96 <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Oct 18 15:29:27 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 19 09:02:46 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e85656f |
7 |
|
8 |
dev-libs/spdlog: verbump to 1.2.1 |
9 |
|
10 |
Signed-off-by: David Roman <davidroman96 <AT> gmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/10170 |
12 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
13 |
|
14 |
dev-libs/spdlog/Manifest | 1 + |
15 |
dev-libs/spdlog/spdlog-1.2.1.ebuild | 39 +++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 40 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/spdlog/Manifest b/dev-libs/spdlog/Manifest |
19 |
index b8ec66bb7db..3c4dd4de507 100644 |
20 |
--- a/dev-libs/spdlog/Manifest |
21 |
+++ b/dev-libs/spdlog/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST spdlog-0.17.0.tar.gz 172323 BLAKE2B 2ca821fb3da0ee82601dd9ef54ca155ffdf19ea1e51c6fbb7269a58bf7a662b5225c9ef7e4d8ccbe7a05c56aeefaad27ddc9cfe21a329f52490078ccd0fb2ce6 SHA512 c3d7c7b2d221b33ad4f4685207ff606d271635bd1ad7edab763a823880386f604d264343139f37b36a3e8654d6382dbed0d431556728676523e390b8fb4b2aef |
24 |
DIST spdlog-1.0.0.tar.gz 183855 BLAKE2B 30d54fef03a83f968cfebacf95a484ff397126771a7ea022556aebd07e2f7694af35b278f75ee24372283ff1428e21247fd4329794d64a65bd6220a93f21db3c SHA512 4d3cbc1926be513256b5837a53fce425f6d352bb4ab262074f205450cd4eadc09feea9dc8d8c03b3f1e9792bcfbcff414be79e51d58234f540946428bbd88cd1 |
25 |
DIST spdlog-1.1.0.tar.gz 183937 BLAKE2B 51af49f641df69e78835bd6b9545da53c0e111bab60a5f0dbf4a1d0e70101309394ffea195176ea371f08b772c2be1c22c2da16006fc9699f47593cf82a6c0fd SHA512 65fbe6e9dffb25e814f72f2ef7982eed213fc16edfabb1377f865c94fd0488190e160dfea83ac06979a41f2fb2fa47a454989ebee0a2c5012bd404b977648439 |
26 |
+DIST spdlog-1.2.1.tar.gz 188284 BLAKE2B c3491a9c44d8a94c51d50c9ef36a2105f77e8fb61bb7b2b81a341609f433abbe3a74e7b4a467dd715a5d906f976740716488d07b4510f366556ab59d160ceefe SHA512 418f91efc207fa227558212d82c41639c0bb59e84ea47447e0b6276c4842e97f1f8aaf5802c071ef15d80ec525e317e70b6a39661a6c96ab39d33d9bd1570da1 |
27 |
|
28 |
diff --git a/dev-libs/spdlog/spdlog-1.2.1.ebuild b/dev-libs/spdlog/spdlog-1.2.1.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..03aaec9bd60 |
31 |
--- /dev/null |
32 |
+++ b/dev-libs/spdlog/spdlog-1.2.1.ebuild |
33 |
@@ -0,0 +1,39 @@ |
34 |
+# Copyright 1999-2018 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
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_TESTING=$(usex test) |
69 |
+ ) |
70 |
+ |
71 |
+ cmake-utils_src_configure |
72 |
+} |