mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-libs/spdlog: add 1.15.2
Signed-off-by: David Roman <droman@ifae.es> Closes: https://github.com/gentoo/gentoo/pull/41397 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
ce6618c5e6
commit
2a8084893f
@@ -1,2 +1,3 @@
|
||||
DIST spdlog-1.15.0.tar.gz 276012 BLAKE2B a9d15725f63d5426a13b6f13ba4281ab70b7f6166344d8d12900fe8ba63898280ffd852b16e48b81352c4632598438fbd02f1a78d6f17e06d66c4bdc309f4b37 SHA512 3dd98409f4625ae4d46ef5f59a2fc22a6e151a13dba9d37433363e5d84eab7cca73b379eeb637d8f9b1f0f5a42221c0cc9a2a70414dc2b6af6a162e19fba0647
|
||||
DIST spdlog-1.15.1.tar.gz 275521 BLAKE2B 1c5c6330c7abd2f204ec345c0173fe997f0063b8da301494fda5c1424bdc7a7066cf8a3a75b217638211bb795550cf7ae87afa71c478f1568db10c5e1f58020e SHA512 d6575b5cd53638345078a1c6a886293892359a07ee6de45e23d0c805bb33f59350f33060bce38824e09ce84525b575acdae7b94fc6e82191f5fd576f6c9252b2
|
||||
DIST spdlog-1.15.2.tar.gz 275744 BLAKE2B 4e78dfcd364f792d6ed829bd17a472ea469eede10075b58531f04dbc3926ded02dd6316bf0e9b8f15f7fd9fbc5c3e5c5bcf749f73e82361efd4914aaece84099 SHA512 4e86d79dea4f08b9e4755ada7c9395e03246d00cdc11df8951d32b5f5e823fec103091d11154f32b261a29574784b761efb32477ec6385ffdb2069413e2c91a0
|
||||
|
||||
54
dev-libs/spdlog/spdlog-1.15.2.ebuild
Normal file
54
dev-libs/spdlog/spdlog-1.15.2.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake-multilib
|
||||
|
||||
DESCRIPTION="Fast 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="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
>=dev-cpp/catch-3.4.0
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
dev-libs/libfmt:=[${MULTILIB_USEDEP}]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-force_external_fmt.patch"
|
||||
)
|
||||
|
||||
multilib_src_prepare() {
|
||||
cmake_src_prepare
|
||||
rm -r include/spdlog/fmt/bundled || die "Failed to delete bundled libfmt"
|
||||
}
|
||||
|
||||
multilib_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
|
||||
}
|
||||
Reference in New Issue
Block a user