Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/spdlog/
Date: Sun, 19 Aug 2018 22:52:34
Message-Id: 1534719041.325269625ca7d5d8a166eeb46a56ea712033c336.monsieurp@gentoo
1 commit: 325269625ca7d5d8a166eeb46a56ea712033c336
2 Author: David Roman <davidroman96 <AT> gmail <DOT> com>
3 AuthorDate: Thu Aug 16 10:04:38 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 19 22:50:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32526962
7
8 dev-libs/spdlog: verbump to 1.1.0.
9
10 Closes: https://github.com/gentoo/gentoo/pull/9589
11
12 dev-libs/spdlog/Manifest | 1 +
13 dev-libs/spdlog/spdlog-1.1.0.ebuild | 39 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/dev-libs/spdlog/Manifest b/dev-libs/spdlog/Manifest
17 index 2291d1dbf3b..b8ec66bb7db 100644
18 --- a/dev-libs/spdlog/Manifest
19 +++ b/dev-libs/spdlog/Manifest
20 @@ -1,2 +1,3 @@
21 DIST spdlog-0.17.0.tar.gz 172323 BLAKE2B 2ca821fb3da0ee82601dd9ef54ca155ffdf19ea1e51c6fbb7269a58bf7a662b5225c9ef7e4d8ccbe7a05c56aeefaad27ddc9cfe21a329f52490078ccd0fb2ce6 SHA512 c3d7c7b2d221b33ad4f4685207ff606d271635bd1ad7edab763a823880386f604d264343139f37b36a3e8654d6382dbed0d431556728676523e390b8fb4b2aef
22 DIST spdlog-1.0.0.tar.gz 183855 BLAKE2B 30d54fef03a83f968cfebacf95a484ff397126771a7ea022556aebd07e2f7694af35b278f75ee24372283ff1428e21247fd4329794d64a65bd6220a93f21db3c SHA512 4d3cbc1926be513256b5837a53fce425f6d352bb4ab262074f205450cd4eadc09feea9dc8d8c03b3f1e9792bcfbcff414be79e51d58234f540946428bbd88cd1
23 +DIST spdlog-1.1.0.tar.gz 183937 BLAKE2B 51af49f641df69e78835bd6b9545da53c0e111bab60a5f0dbf4a1d0e70101309394ffea195176ea371f08b772c2be1c22c2da16006fc9699f47593cf82a6c0fd SHA512 65fbe6e9dffb25e814f72f2ef7982eed213fc16edfabb1377f865c94fd0488190e160dfea83ac06979a41f2fb2fa47a454989ebee0a2c5012bd404b977648439
24
25 diff --git a/dev-libs/spdlog/spdlog-1.1.0.ebuild b/dev-libs/spdlog/spdlog-1.1.0.ebuild
26 new file mode 100644
27 index 00000000000..03aaec9bd60
28 --- /dev/null
29 +++ b/dev-libs/spdlog/spdlog-1.1.0.ebuild
30 @@ -0,0 +1,39 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +inherit cmake-utils
37 +
38 +DESCRIPTION="Very fast, header only, C++ logging library"
39 +HOMEPAGE="https://github.com/gabime/spdlog"
40 +
41 +if [[ ${PV} == *9999 ]]; then
42 + inherit git-r3
43 + EGIT_REPO_URI="https://github.com/gabime/spdlog"
44 +else
45 + SRC_URI="https://github.com/gabime/spdlog/archive/v${PV}.tar.gz -> ${P}.tar.gz"
46 + KEYWORDS="~amd64"
47 +fi
48 +
49 +LICENSE="MIT"
50 +SLOT="0/1"
51 +IUSE="test"
52 +
53 +DEPEND="
54 + >=dev-libs/libfmt-5.0.0
55 +"
56 +RDEPEND="${DEPEND}"
57 +
58 +PATCHES=( "${FILESDIR}/${PN}-1.0.0-unbundle-fmt.patch" )
59 +
60 +src_configure() {
61 + rm -r include/spdlog/fmt/bundled || die
62 +
63 + local mycmakeargs=(
64 + -DSPDLOG_BUILD_EXAMPLES=no
65 + -DSPDLOG_BUILD_TESTING=$(usex test)
66 + )
67 +
68 + cmake-utils_src_configure
69 +}