1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Very fast, header only, C++ logging library"
9 HOMEPAGE="https://github.com/gabime/spdlog"
11 if [[ ${PV} == *9999 ]]; then
13 EGIT_REPO_URI="https://github.com/gabime/spdlog"
15 SRC_URI="https://github.com/gabime/spdlog/archive/v${PV}.tar.gz -> ${P}.tar.gz"
24 >=dev-libs/libfmt-5.0.0
28 PATCHES=( "${FILESDIR}/${PN}-1.0.0-unbundle-fmt.patch" )
31 rm -r include/spdlog/fmt/bundled || die
34 -DSPDLOG_BUILD_EXAMPLES=no
35 -DSPDLOG_BUILD_BENCH=no
36 -DSPDLOG_BUILD_TESTS=$(usex test)
39 cmake-utils_src_configure