diff --git a/dev-cpp/std-format/Manifest b/dev-cpp/std-format/Manifest new file mode 100644 index 0000000000..ee6c61d86f --- /dev/null +++ b/dev-cpp/std-format/Manifest @@ -0,0 +1 @@ +DIST std-format-45296602ad78a804411e7c3b617e13759f38e4e7.tar.bz2 5424 BLAKE2B 485de9dc656449fc25cfbeb1347b623b3f21304fb11286023ee8f317ecdd63ded755393141306094bfc75831acd4f23bc189c8f4987527ec91a77c79ae973b30 SHA512 6fac612495b11d63066f88d8bb3accee5f79748b220b49dd69c87da094767e44286d4698168c40b04e279ad6c04fb37aeb5de2f5d6d0084e634b8455a5e05f9c diff --git a/dev-cpp/std-format/metadata.xml b/dev-cpp/std-format/metadata.xml new file mode 100644 index 0000000000..f1ec451df9 --- /dev/null +++ b/dev-cpp/std-format/metadata.xml @@ -0,0 +1,12 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + https://gitlab.com/ananicy-cpp/stl-polyfills/std-format/-/issues + ananicy-cpp/stl-polyfills/std-format + + diff --git a/dev-cpp/std-format/std-format-0_p20220112.ebuild b/dev-cpp/std-format/std-format-0_p20220112.ebuild new file mode 100644 index 0000000000..ac3896aeaa --- /dev/null +++ b/dev-cpp/std-format/std-format-0_p20220112.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +COMMIT="45296602ad78a804411e7c3b617e13759f38e4e7" + +DESCRIPTION="A simple polyfill allowing you to use std::format" +HOMEPAGE="https://gitlab.com/ananicy-cpp/stl-polyfills/std-format" +SRC_URI="https://gitlab.com/ananicy-cpp/stl-polyfills/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.bz2" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="CC0-1.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="" +DEPEND="test? ( dev-libs/libfmt )" + +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + ) + cmake_src_configure +}