diff options
author | Steffen Winter <steffen.winter@proton.me> | 2024-05-20 02:49:18 +0200 |
---|---|---|
committer | Steffen Winter <steffen.winter@proton.me> | 2024-05-20 02:52:58 +0200 |
commit | 3be1771020207c34732c82ec5d84bd240b9338ea (patch) | |
tree | 1e4c505eb8b0fd7dc401cbc7b97bd382870f371c /dev-cpp | |
parent | gui-apps/nwg-displays: delete extra file (diff) | |
download | guru-3be1771020207c34732c82ec5d84bd240b9338ea.tar.gz guru-3be1771020207c34732c82ec5d84bd240b9338ea.tar.bz2 guru-3be1771020207c34732c82ec5d84bd240b9338ea.zip |
dev-cpp/scnlib: add 2.0.3
Signed-off-by: Steffen Winter <steffen.winter@proton.me>
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/scnlib/Manifest | 1 | ||||
-rw-r--r-- | dev-cpp/scnlib/scnlib-2.0.3.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-cpp/scnlib/Manifest b/dev-cpp/scnlib/Manifest index 2304b2a4e..510b226ec 100644 --- a/dev-cpp/scnlib/Manifest +++ b/dev-cpp/scnlib/Manifest @@ -1 +1,2 @@ DIST scnlib-2.0.2.tar.gz 518311 BLAKE2B 21084e8830a10df0777dc100e2e448447f3a777535a821dca96423dfdb467c9073fb3e7c499ffb42598f54b8f44d3fdab9c43d005c313850454a8fd27e152273 SHA512 12b9ae26a5ccc600aacad1e2b2287bfc0b6986a260e182c91541876bc5804fe661093ad10d1befda56803afc7a9aa9f0348820dbb5af4fa6fdf048f85b3bcef1 +DIST scnlib-2.0.3.tar.gz 520197 BLAKE2B 6e0a88985e8113d85d5c511fe9ec857af12a5d34224fee7a41d8347e1e1e9fe7bb78b15bbdafd9c06006112de747c9c3cd6b101d1076b619e33ac7e745668cc4 SHA512 888f60d5a60b2e348001a56a59e123f496f89b09668f0b05791e878528c1c46930963f22e3b64130c875896ace56dffc0d9310edabb4804abf79cc125dfd5ff4 diff --git a/dev-cpp/scnlib/scnlib-2.0.3.ebuild b/dev-cpp/scnlib/scnlib-2.0.3.ebuild new file mode 100644 index 000000000..b46b37da1 --- /dev/null +++ b/dev-cpp/scnlib/scnlib-2.0.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="scanf for modern C++ " +HOMEPAGE="https://www.scnlib.dev/" +SRC_URI="https://github.com/eliaskosunen/scnlib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +BDEPEND=" + dev-cpp/fast_float + >=dev-cpp/simdutf-5.2.0:= + test? ( dev-cpp/gtest ) +" + +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -DSCN_BENCHMARKS=OFF + -DSCN_BENCHMARKS_BINARYSIZE=OFF + -DSCN_BENCHMARKS_BUILDTIME=OFF + -DSCN_DOCS=OFF + -DSCN_EXAMPLES=$(usex test ON OFF) + -DSCN_TESTS=$(usex test ON OFF) + -DSCN_USE_EXTERNAL_FAST_FLOAT=ON + -DSCN_USE_EXTERNAL_GTEST=ON + -DSCN_USE_EXTERNAL_SIMDUTF=ON + ) + cmake_src_configure +} |