diff options
author | Craig Andrews <candrews@gentoo.org> | 2018-08-01 13:22:58 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2018-08-01 13:23:24 -0400 |
commit | 173810f561e385a169b15814762c7f554b1b74a4 (patch) | |
tree | d44e19268ad64aadde5f48e29dc4fe34e9843a61 /dev-libs/libfmt | |
parent | dev-python/python-ironicclient: 2.2.1 bump with cleanup (diff) | |
download | gentoo-173810f561e385a169b15814762c7f554b1b74a4.tar.gz gentoo-173810f561e385a169b15814762c7f554b1b74a4.tar.bz2 gentoo-173810f561e385a169b15814762c7f554b1b74a4.zip |
dev-libs/libfmt: Re-add 4.1.0 because dev-libs/spdlog depends upon it
Package-Manager: Portage-2.3.44, Repoman-2.3.10
Diffstat (limited to 'dev-libs/libfmt')
-rw-r--r-- | dev-libs/libfmt/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libfmt/libfmt-4.1.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-libs/libfmt/Manifest b/dev-libs/libfmt/Manifest index 79112bd96959..688eb5d732ad 100644 --- a/dev-libs/libfmt/Manifest +++ b/dev-libs/libfmt/Manifest @@ -1 +1,2 @@ +DIST libfmt-4.1.0.tar.gz 620863 BLAKE2B ff3a7db5a1eed3a6fc936be16caf2dd153d9452df16c07d6e0dc718bcfb9f51f52146498cb3f49591f1ad96d36a9561de2a78426d3bb8a0907b772e8be5a6f7f SHA512 8daaa4a61bfe63345a12df0a9bca0b1cd6a162d0f4e97d2d2978ae19a1a1357ec4d4cce948ce726cdbe9403e51ad995950a2a99de28f9b9085c02ce845540b22 DIST libfmt-5.1.0.tar.gz 641502 BLAKE2B 8507e875a78de2e89b7fe2c1c049691bfef6e0a7375ef7958e2191bcc4c60972b54b6ebc213d1465826af8322d8f90b217c1c7e176b29351c733184ff95cca40 SHA512 b759a718353254fa8cd981e483bf01a45af0fc76901216404ace5e47f5d3edf43d42422184e5413c221e49832322fdf60d1860e8ec87349c674511064b31e5d6 diff --git a/dev-libs/libfmt/libfmt-4.1.0.ebuild b/dev-libs/libfmt/libfmt-4.1.0.ebuild new file mode 100644 index 000000000000..205d52c52e72 --- /dev/null +++ b/dev-libs/libfmt/libfmt-4.1.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-multilib versionator + +DESCRIPTION="Small, safe and fast formatting library" +HOMEPAGE="https://github.com/fmtlib/fmt" + +LICENSE="BSD-2" +IUSE="test" +SLOT="0/$(get_major_version)" + +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 ~x86" + S="${WORKDIR}/fmt-${PV}" +fi + +DEPEND="" +RDEPEND="" + +multilib_src_configure() { + local mycmakeargs=( + -DFMT_CMAKE_DIR="$(get_libdir)/cmake/fmt" + -DFMT_LIB_DIR="$(get_libdir)" + -DFMT_TEST=$(usex test) + -DBUILD_SHARED_LIBS=ON + ) + cmake-utils_src_configure +} |