From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DB6B01584AD for ; Tue, 06 May 2025 08:48:24 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C90E0343130 for ; Tue, 06 May 2025 08:48:24 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 75A7A1103C0; Tue, 06 May 2025 08:48:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 6C73A1103C0 for ; Tue, 06 May 2025 08:48:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 25A83343103 for ; Tue, 06 May 2025 08:48:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B75782798 for ; Tue, 06 May 2025 08:48:13 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1746521288.2a8084893fbd201dcd0611a4f6ba4efe9888f8d8.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/spdlog/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/spdlog/Manifest dev-libs/spdlog/spdlog-1.15.2.ebuild X-VCS-Directories: dev-libs/spdlog/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 2a8084893fbd201dcd0611a4f6ba4efe9888f8d8 X-VCS-Branch: master Date: Tue, 06 May 2025 08:48:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8d23a1b4-c5aa-43d5-8d61-29d32e8241e1 X-Archives-Hash: 94169473bd1a0233e2cb0595e491d454 commit: 2a8084893fbd201dcd0611a4f6ba4efe9888f8d8 Author: David Roman ifae es> AuthorDate: Mon Mar 31 09:33:38 2025 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue May 6 08:48:08 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a808489 dev-libs/spdlog: add 1.15.2 Signed-off-by: David Roman ifae.es> Closes: https://github.com/gentoo/gentoo/pull/41397 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/spdlog/Manifest | 1 + dev-libs/spdlog/spdlog-1.15.2.ebuild | 54 ++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-libs/spdlog/Manifest b/dev-libs/spdlog/Manifest index 5c6bcbf2e7d0..9ad50883ca65 100644 --- a/dev-libs/spdlog/Manifest +++ b/dev-libs/spdlog/Manifest @@ -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 diff --git a/dev-libs/spdlog/spdlog-1.15.2.ebuild b/dev-libs/spdlog/spdlog-1.15.2.ebuild new file mode 100644 index 000000000000..cfc1de0279b7 --- /dev/null +++ b/dev-libs/spdlog/spdlog-1.15.2.ebuild @@ -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 +}