commit:     4767552c31fe77baca493afdbe0701d44b6fa78e
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Wed Jun  3 21:43:28 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Jun  3 21:43:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4767552c

dev-libs/spdlog: verbump to 1.6.0

Closes: https://github.com/gentoo/gentoo/pull/15855
Closes: https://bugs.gentoo.org/727002
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-libs/spdlog/Manifest            |  1 +
 dev-libs/spdlog/spdlog-1.6.0.ebuild | 47 +++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-libs/spdlog/Manifest b/dev-libs/spdlog/Manifest
index db82b5117ea..0846c126abb 100644
--- a/dev-libs/spdlog/Manifest
+++ b/dev-libs/spdlog/Manifest
@@ -1 +1,2 @@
 DIST spdlog-1.5.0.tar.gz 270416 BLAKE2B 
bac6c6650f8347458dd2dd66f318b43a769b0896d68f6a6f1310754527a69feaa52b2f6f48d67c7e811c2dafa5d3863a9a07c738df8c12abed2718fb06254b28
 SHA512 
78991c943dd95af563c4b29545b9b5d635caf1af5031262dde734ecf70c0b4ae866d954ee77b050f9f0cc089a3bc57ee9583895e51cb00dd1cc6c10ff905ca34
+DIST spdlog-1.6.0.tar.gz 285249 BLAKE2B 
2acbc6b3cb9da93842e3a87367af219264347062cf007cf08bbcf512a6595adb9e68b3780b18e273a8a752db591c1b9a55236ee889c6b1b98fab2d7efd815c0d
 SHA512 
5711fd5b1c7a1a2097eecfa386f75315c7a580f08a59e220ded57e7412df037a57ddf5cce60aa2904c1c579a801b727eaf0c6f951728ef731ce469b231da5851

diff --git a/dev-libs/spdlog/spdlog-1.6.0.ebuild 
b/dev-libs/spdlog/spdlog-1.6.0.ebuild
new file mode 100644
index 00000000000..6da33cbbf3c
--- /dev/null
+++ b/dev-libs/spdlog/spdlog-1.6.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Very fast, header only, C++ logging library"
+HOMEPAGE="https://github.com/gabime/spdlog";
+
+if [[ ${PV} == *9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/gabime/${PN}";
+else
+       SRC_URI="https://github.com/gabime/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0/1"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+       virtual/pkgconfig
+"
+DEPEND="
+       >=dev-libs/libfmt-5.3.0:=
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       cmake_src_prepare
+       rm -r include/spdlog/fmt/bundled || die "Failed to delete bundled 
libfmt"
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DSPDLOG_BUILD_BENCH=no
+               -DSPDLOG_BUILD_EXAMPLE=no
+               -DSPDLOG_FMT_EXTERNAL=yes
+               -DSPDLOG_BUILD_SHARED=yes
+               -DSPDLOG_BUILD_TESTS=$(usex test)
+       )
+
+       cmake_src_configure
+}

Reply via email to