diff options
author | 2024-06-10 20:42:32 +0200 | |
---|---|---|
committer | 2024-06-10 20:43:29 +0200 | |
commit | c2303f3180b4b571fea3eac30bdfc84f053d5779 (patch) | |
tree | d47a57b8c58cece233935e47c6a7cbf611420fee /dev-cpp | |
parent | dev-libs/open62541: enable py3.13 (diff) | |
download | guru-c2303f3180b4b571fea3eac30bdfc84f053d5779.tar.gz guru-c2303f3180b4b571fea3eac30bdfc84f053d5779.tar.bz2 guru-c2303f3180b4b571fea3eac30bdfc84f053d5779.zip |
dev-cpp/scnlib: add 3.0.0
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-3.0.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-cpp/scnlib/Manifest b/dev-cpp/scnlib/Manifest index 970d5182f..91f695300 100644 --- a/dev-cpp/scnlib/Manifest +++ b/dev-cpp/scnlib/Manifest @@ -1 +1,2 @@ DIST scnlib-2.0.3.tar.gz 520197 BLAKE2B 6e0a88985e8113d85d5c511fe9ec857af12a5d34224fee7a41d8347e1e1e9fe7bb78b15bbdafd9c06006112de747c9c3cd6b101d1076b619e33ac7e745668cc4 SHA512 888f60d5a60b2e348001a56a59e123f496f89b09668f0b05791e878528c1c46930963f22e3b64130c875896ace56dffc0d9310edabb4804abf79cc125dfd5ff4 +DIST scnlib-3.0.0.tar.gz 410057 BLAKE2B f5e6336b08063eacfd3c1c53e22559ea808482fba80d190c1c7a40d17e9c31fc776e7b672ca0943781346de99e115e0a3bf60b910f715d90235bef9934465bb4 SHA512 bf768ce47d4717ddbd563f0fa9472ea001d632a42921737d1ac858c63c664fd834247e192f053927f880ce5b6774d47fb684088f5ac5dbc1033a10df22916df1 diff --git a/dev-cpp/scnlib/scnlib-3.0.0.ebuild b/dev-cpp/scnlib/scnlib-3.0.0.ebuild new file mode 100644 index 000000000..bcbb76b37 --- /dev/null +++ b/dev-cpp/scnlib/scnlib-3.0.0.ebuild @@ -0,0 +1,36 @@ +# 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 + 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 + ) + cmake_src_configure +} |