commit:     5583ec33f2157fc036742530e331d4c7d40f7d1a
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Nov  6 12:40:38 2025 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Nov  6 12:42:16 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5583ec33

dev-libs/tfdn: update for virtual/zlib

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

 dev-libs/tfdn/tfdn-1.10.1-r1.ebuild | 48 +++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/dev-libs/tfdn/tfdn-1.10.1-r1.ebuild 
b/dev-libs/tfdn/tfdn-1.10.1-r1.ebuild
new file mode 100644
index 0000000000..9078c58bb3
--- /dev/null
+++ b/dev-libs/tfdn/tfdn-1.10.1-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="app-text/doxygen[dot]"
+DOCS_CONFIG_NAME="the_Foundation.doxygen"
+inherit cmake docs flag-o-matic
+
+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.7"
+KEYWORDS="~amd64 ~x86"
+IUSE="cpu_flags_x86_sse4_1 curl debug ssl"
+
+DEPEND="
+       dev-libs/libpcre2:=
+       dev-libs/libunistring:=
+       virtual/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)
+       )
+
+       append-cppflags $(usex debug "-UNDEBUG" "-DNDEBUG")
+       cmake_src_configure
+}
+
+src_compile() {
+       cmake_src_compile
+       docs_compile
+}

Reply via email to