dev-cpp/cctz: add 2.5

Signed-off-by: Louis Sautier <sbraz@gentoo.org>
This commit is contained in:
Louis Sautier
2025-06-25 21:01:50 +02:00
parent 8e96b6d487
commit a41cc339d2
2 changed files with 31 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST cctz-2.4.tar.gz 222831 BLAKE2B c232b27cbfe5e45b6e1c51dd13c9a35c4a2e84b5d3e65ba6b4afb7683cac967a3b409382664a55d58ac67e53a1cf3dec9d97ecd59c5e2180c0eae4f71462fe33 SHA512 6d50fe5263b66f93bc3f9aee0da395352d0e95187e6a761afd1b82a461c127823fe93e06139e9d8989f24875b70de3058aab6e66639b408c7930f117e1815e5e
DIST cctz-2.5.tar.gz 224961 BLAKE2B dc5e51dbcb9a6c3d497d3c89385ca6e6eedba9eaa00b378a9d1a488e7efb40d19afc38769893d8a56ea1a5198236a260045e2c19c5014b86e10566bd4dcfb12e SHA512 e3eba96482b7745b145ecfd9b3b96b09d9120bde952dfdb66d625e642a463b87c74205b1813e3c4bd9b408410bb26fb095d034ca56a4953005bf0c988ccc741e

View File

@@ -0,0 +1,30 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="C++ library for dealing with time zones and time conversion"
HOMEPAGE="https://github.com/google/cctz"
SRC_URI="https://github.com/google/cctz/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
dev-cpp/gtest
)
"
src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test)
-DBUILD_BENCHMARK=OFF
)
cmake_src_configure
}