commit:     a9c4c0fca7795008020baf752385e94cb8792297
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Oct 31 08:51:36 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Nov  6 12:43:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a9c4c0fc

dev-libs/tfdn: initial import

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-libs/tfdn/Manifest          |  1 +
 dev-libs/tfdn/metadata.xml      | 22 +++++++++++++++++++
 dev-libs/tfdn/tfdn-1.0.1.ebuild | 47 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 70 insertions(+)

diff --git a/dev-libs/tfdn/Manifest b/dev-libs/tfdn/Manifest
new file mode 100644
index 000000000..b8480ccb6
--- /dev/null
+++ b/dev-libs/tfdn/Manifest
@@ -0,0 +1 @@
+DIST tfdn-1.0.1.tar.gz 205687 BLAKE2B 
b399133d2a01fec2e7f83ebf5cfc33b3682f1e8fa17d42760c2ea86fb2fbe1e573efb08afe91b416d11e50d10141770071736d23ae332746fdec23feea7f64e9
 SHA512 
33d9f3f8b26e495f56586ef494c88ab35623dd3927b9c419ed9e3ed46f999aaeedf9723e267635b1dbf65f39ee20eecf54a5f498008b7d16241a58d7f832141c

diff --git a/dev-libs/tfdn/metadata.xml b/dev-libs/tfdn/metadata.xml
new file mode 100644
index 000000000..6ec671d56
--- /dev/null
+++ b/dev-libs/tfdn/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+<maintainer type="person">
+       <email>[email protected]</email>
+       <name>Anna</name>
+</maintainer>
+<longdescription>
+       the_Foundation is a C11 library and a coding convention for
+       object-oriented programming that has been designed from the point of
+       view of someone who appreciates the user-friendliness of Qt and some of
+       the thinking behind C++ STL. The preprocessor is used heavily to provide
+       flexibility and convenience for the programmer.
+</longdescription>
+<upstream>
+       <maintainer>
+               <email>[email protected]</email>
+               <name>Jaakko Keränen</name>
+       </maintainer>
+       <bugs-to>https://codeberg.org/skyjake/the_Foundation/issues/</bugs-to>
+</upstream>
+</pkgmetadata>

diff --git a/dev-libs/tfdn/tfdn-1.0.1.ebuild b/dev-libs/tfdn/tfdn-1.0.1.ebuild
new file mode 100644
index 000000000..ad1fa878f
--- /dev/null
+++ b/dev-libs/tfdn/tfdn-1.0.1.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
+}

Reply via email to