From f8cc813de3f0c22aa99c153a72a2c4ef0134f564 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Mon, 29 Nov 2021 12:46:13 +0500 Subject: [PATCH] dev-libs/tfdn: add 1.0.2 Signed-off-by: Anna (cybertailor) Vyalkova --- dev-libs/tfdn/Manifest | 1 + dev-libs/tfdn/tfdn-1.0.2.ebuild | 47 +++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 dev-libs/tfdn/tfdn-1.0.2.ebuild diff --git a/dev-libs/tfdn/Manifest b/dev-libs/tfdn/Manifest index b8480ccb64..06b578abf4 100644 --- a/dev-libs/tfdn/Manifest +++ b/dev-libs/tfdn/Manifest @@ -1 +1,2 @@ DIST tfdn-1.0.1.tar.gz 205687 BLAKE2B b399133d2a01fec2e7f83ebf5cfc33b3682f1e8fa17d42760c2ea86fb2fbe1e573efb08afe91b416d11e50d10141770071736d23ae332746fdec23feea7f64e9 SHA512 33d9f3f8b26e495f56586ef494c88ab35623dd3927b9c419ed9e3ed46f999aaeedf9723e267635b1dbf65f39ee20eecf54a5f498008b7d16241a58d7f832141c +DIST tfdn-1.0.2.tar.gz 205745 BLAKE2B 6e807c07d11b8120144a0d25f5c3ffb1f0f7b0b6397439bf16af8df3cab615782700966ff8c616c80213bd193edf4a2ba2e66b84a641560bbe1bf99da3d790e2 SHA512 fade7799ed2f890b2076567b7aaf7765520e4198fcee0fb394249a8d010ef6454c7807e406069fc916ddd63f7c54d054146b0d369c05dec9f92fcefa01a00521 diff --git a/dev-libs/tfdn/tfdn-1.0.2.ebuild b/dev-libs/tfdn/tfdn-1.0.2.ebuild new file mode 100644 index 0000000000..ad1fa878f5 --- /dev/null +++ b/dev-libs/tfdn/tfdn-1.0.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="doxygen" +DOCS_DEPEND="app-doc/doxygen[dot]" +DOCS_CONFIG_NAME="the_Foundation.doxygen" +inherit cmake docs + +MY_PN="the_foundation" +DESCRIPTION="Opinionated C11 library for low-level functionality" +HOMEPAGE="https://git.skyjake.fi/skyjake/the_Foundation" +SRC_URI="https://git.skyjake.fi/skyjake/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}" + +LICENSE="BSD-2" +SLOT="0/1" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_sse4_1 curl debug ssl" + +DEPEND=" + dev-libs/libpcre:3 + dev-libs/libunistring:= + sys-libs/zlib:= + curl? ( net-misc/curl ) + ssl? ( dev-libs/openssl:= ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DTFDN_ENABLE_WARN_ERROR=OFF + -DTFDN_ENABLE_DEBUG_OUTPUT=$(usex debug) + -DTFDN_ENABLE_SSE41=$(usex cpu_flags_x86_sse4_1) + -DTFDN_ENABLE_TESTS=OFF # not actual tests + -DTFDN_ENABLE_TLSREQUEST=$(usex ssl) + -DTFDN_ENABLE_WEBREQUEST=$(usex curl) + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + docs_compile +}