summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2020-10-26 13:02:20 -0400
committerCraig Andrews <candrews@gentoo.org>2020-10-26 13:04:15 -0400
commit8a13c94a93dea018bd3ff62f100873e16e4a03c2 (patch)
tree88203f4c9a7e9b17990ab1a13289a66fc91b945d /dev-libs
parentsys-block/zram-init: adoption (diff)
downloadgentoo-8a13c94a93dea018bd3ff62f100873e16e4a03c2.tar.gz
gentoo-8a13c94a93dea018bd3ff62f100873e16e4a03c2.tar.bz2
gentoo-8a13c94a93dea018bd3ff62f100873e16e4a03c2.zip
dev-libs/libfmt: 7.1.0 version bump
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libfmt/Manifest1
-rw-r--r--dev-libs/libfmt/libfmt-7.1.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/libfmt/Manifest b/dev-libs/libfmt/Manifest
index 6a923ea5aa8e..a0eae384078a 100644
--- a/dev-libs/libfmt/Manifest
+++ b/dev-libs/libfmt/Manifest
@@ -1,2 +1,3 @@
DIST libfmt-6.1.2.tar.gz 723160 BLAKE2B 36e7451a8732c62dcbf47e6d287ea582827b6196a468b8648803ea1bc9a37a5f681d87488f748d749183d97783ac7fb47a3f2aeed64fc6a684f9ee85b67ae28d SHA512 8770bf4bd2bb6d938e75e0cf1e665c41930dbd9d2a6825274a5a43cd1d85b9c9ca621bb040ed099429f0e16bddbc3399361c453eb1bf3fc01376e6ad9dd875b7
DIST libfmt-7.0.3.tar.gz 740047 BLAKE2B d12d6f59bcea5b4385c4d9ff5c563860cb9275d34d5747d9f8b95664aaa499661500b630d1f621698a7a3f8431326ac5a5273e6883d070aab7cb9aa84b0bcd41 SHA512 26afe55255414e27d58c2389fcc8643b64adc04ecc3604f87024e6421706833cbad8ee4caf514dfb7e88da4162ab3e5ff8ff81b83b5f2fb66e9959e4d1bf0f9a
+DIST libfmt-7.1.0.tar.gz 768672 BLAKE2B 0c0baf703174bd982151fd8cd1e63308843b6e5a5842f67c93b865ffde6f6f7a2b7cfed71f59118d1789030f47ff4aab3a6793311d5fe35fca9b2bf032d688a8 SHA512 5b1af11bd234d31df7d07baa51f1f745a865d89dc15479a21b05b4925ce0d1d9c0d0b1dee804f84e727e4d8e3b5904caf0e7d8f70fc147d843c7f20651e1b331
diff --git a/dev-libs/libfmt/libfmt-7.1.0.ebuild b/dev-libs/libfmt/libfmt-7.1.0.ebuild
new file mode 100644
index 000000000000..5fcdb4fc9398
--- /dev/null
+++ b/dev-libs/libfmt/libfmt-7.1.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib
+
+DESCRIPTION="Small, safe and fast formatting library"
+HOMEPAGE="https://github.com/fmtlib/fmt"
+
+LICENSE="MIT"
+IUSE="test"
+SLOT="0/$(ver_cut 1)"
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/fmtlib/fmt.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+ S="${WORKDIR}/fmt-${PV}"
+fi
+
+DEPEND=""
+RDEPEND=""
+RESTRICT="!test? ( test )"
+
+multilib_src_configure() {
+ filter-flags "-flto*" # https://github.com/fmtlib/fmt/issues/1955
+ local mycmakeargs=(
+ -DFMT_CMAKE_DIR="$(get_libdir)/cmake/fmt"
+ -DFMT_LIB_DIR="$(get_libdir)"
+ -DFMT_TEST=$(usex test)
+ )
+ cmake_src_configure
+}