summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Roman <davidroman96@gmail.com>2020-06-03 23:43:28 +0200
committerDavid Seifert <soap@gentoo.org>2020-06-03 23:43:28 +0200
commit4767552c31fe77baca493afdbe0701d44b6fa78e (patch)
treeb69f516d9043cea1de801164c364826a00f3112e /dev-libs/spdlog
parentsci-chemistry/pymol: Works with py38 (diff)
downloadgentoo-4767552c31fe77baca493afdbe0701d44b6fa78e.tar.gz
gentoo-4767552c31fe77baca493afdbe0701d44b6fa78e.tar.bz2
gentoo-4767552c31fe77baca493afdbe0701d44b6fa78e.zip
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@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs/spdlog')
-rw-r--r--dev-libs/spdlog/Manifest1
-rw-r--r--dev-libs/spdlog/spdlog-1.6.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/spdlog/Manifest b/dev-libs/spdlog/Manifest
index db82b5117eab..0846c126abb7 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 000000000000..6da33cbbf3c6
--- /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
+}