diff options
author | David Roman <davidroman96@gmail.com> | 2020-10-18 17:17:52 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-10-26 12:14:53 +0200 |
commit | 1bb37a27ccd20f6935547087f516825290c56349 (patch) | |
tree | 0510ddba0ddbb412b004e889d14bf893fae7cb9b /dev-libs/spdlog | |
parent | sci-libs/opencascade: fix check in cmake config (diff) | |
download | gentoo-1bb37a27ccd20f6935547087f516825290c56349.tar.gz gentoo-1bb37a27ccd20f6935547087f516825290c56349.tar.bz2 gentoo-1bb37a27ccd20f6935547087f516825290c56349.zip |
dev-libs/spdlog: verbump to 1.8.1
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: David Roman <davidroman96@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/spdlog')
-rw-r--r-- | dev-libs/spdlog/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/spdlog/spdlog-1.8.1.ebuild | 47 | ||||
-rw-r--r-- | dev-libs/spdlog/spdlog-9999.ebuild | 4 |
3 files changed, 50 insertions, 2 deletions
diff --git a/dev-libs/spdlog/Manifest b/dev-libs/spdlog/Manifest index f643e8ed0653..c31d6f50402b 100644 --- a/dev-libs/spdlog/Manifest +++ b/dev-libs/spdlog/Manifest @@ -1,3 +1,4 @@ DIST spdlog-1.5.0.tar.gz 270416 BLAKE2B bac6c6650f8347458dd2dd66f318b43a769b0896d68f6a6f1310754527a69feaa52b2f6f48d67c7e811c2dafa5d3863a9a07c738df8c12abed2718fb06254b28 SHA512 78991c943dd95af563c4b29545b9b5d635caf1af5031262dde734ecf70c0b4ae866d954ee77b050f9f0cc089a3bc57ee9583895e51cb00dd1cc6c10ff905ca34 DIST spdlog-1.6.1.tar.gz 285531 BLAKE2B 525f29098fd0f771e14cc7c4bd8bf5d4054a0f68255aea29ef5158ce61516d9e5f0ae0fb72a2f54303d18194a54acb5c1731f53ee6edcd74ff487227bc332236 SHA512 1e15e7710744212240d79897af8c3bde14fe3b745a1377643d18dc0038f18fc7582236ff21836d3eae2c75cf1f4820ca4c642c5c3f63f9ae138289aa4d00e22e DIST spdlog-1.7.0.tar.gz 285615 BLAKE2B f1a20f8ec8e9746e360106f284544b20e48664a91d17b014abec26fd0f2ce3d25dd33cfb925f4468fa32da394f6efaca033290bdcf66abe8b067444999b87b63 SHA512 e15d461ac7a6d3d3186fe4283e4fbaf56b2ce3011babf892e3b2d3dbdd7e999a861f1f6f67a9d88a5cf488a440add087ea78e96131f49b52ed6c7815a972799a +DIST spdlog-1.8.1.tar.gz 293528 BLAKE2B f5568a52489d9f6db459dd7733c493720551f7cb53be5f25fd7e02ec89de88b968bacd3eacb390473258cba2686e2614f21a700e3b3faf66d9b8eb74cfa263cb SHA512 ef855f4f91ed8aba89ef0191a9fd70f73a49567332f7eb42da1604e3a7dda3bbe48db3fd0fae317bb11ee95315d8cd62bf586d2de919ca0978d91e5a971b1c3f diff --git a/dev-libs/spdlog/spdlog-1.8.1.ebuild b/dev-libs/spdlog/spdlog-1.8.1.ebuild new file mode 100644 index 000000000000..0cd2105637eb --- /dev/null +++ b/dev-libs/spdlog/spdlog-1.8.1.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-6.1.2:= +" +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 +} diff --git a/dev-libs/spdlog/spdlog-9999.ebuild b/dev-libs/spdlog/spdlog-9999.ebuild index 6da33cbbf3c6..1c96b2168c83 100644 --- a/dev-libs/spdlog/spdlog-9999.ebuild +++ b/dev-libs/spdlog/spdlog-9999.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == *9999 ]]; then 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" + KEYWORDS="amd64 arm arm64 ppc ppc64 x86" fi LICENSE="MIT" @@ -25,7 +25,7 @@ BDEPEND=" virtual/pkgconfig " DEPEND=" - >=dev-libs/libfmt-5.3.0:= + >=dev-libs/libfmt-6.1.2:= " RDEPEND="${DEPEND}" |