dev-libs/tfdn: fetch from Codeberg

Closes: https://bugs.gentoo.org/975796
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2026-06-16 16:46:39 +05:00
parent 7bb2a8e4aa
commit 7b03ecca68
4 changed files with 3 additions and 108 deletions

View File

@@ -1,2 +1 @@
DIST tfdn-1.11.0.tar.gz 226808 BLAKE2B c2c662f5fcf33cb129ea1a8dcdc588d4668273311ab8e5adbcd51955471b8b788dab739f7b4d9de7d0810fd1326bb1100db8cb5ab8f16f0ec0a0f8e22de6df91 SHA512 fb86e59626bf125b8a4b01dc3e58ec69f313baa307a3637393928b281dcac3b874e19052d5a8acb577ec6a6e32f9c8e9e19759cf1dff95bc82b95f5ef30f61e7
DIST tfdn-1.12.2.tar.gz 233355 BLAKE2B 94d202665c5120b526eda712e265a08cca9fc4e695708081df9c9ebb4ff2d2e148dc7f1a3e9a3310be4113d61f2aed4c01acfac9c0493d91b9dce86a01e9c55d SHA512 a82d415575aa1584a0a76672f72ddaf0eeba61f9c45fcc2eab1cbda9025ceec56df9f55173df0702d6dc951d08634c3a4cc18714678b55ee115abf21d5430f2c
DIST tfdn-1.12.2.codeberg.tar.gz 233451 BLAKE2B ef6cbd7b130c9075b619ba15089e9f9dc38b8f9776d5ff005376343d0c409131e84f7c0cdb7f52ef6f86e86051330afb5bc67d4c3514f6e613298c328a9c959c SHA512 5e6b7fe750e744c41baf38ee1a32027f6740b315e284a7efffc6c9569ea7826095ac84ecf8e0ac6f08ac64baa04134bbc1e50ba705b85724e78faec545e397d1

View File

@@ -1,56 +0,0 @@
# 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.11"
KEYWORDS="~amd64 ~x86"
IUSE="cpu_flags_x86_sse4_1 curl debug ssl"
PATCHES=(
"${FILESDIR}"/tfdn-1.11.0-glibc-2.43-once-flag.patch
)
DEPEND="
dev-libs/libpcre2:=
dev-libs/libunistring:=
virtual/zlib:=
curl? ( net-misc/curl )
ssl? ( dev-libs/openssl:= )
"
RDEPEND="${DEPEND}"
src_prepare() {
cmake_src_prepare
}
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
}

View File

@@ -1,48 +0,0 @@
# 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.11"
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
}

View File

@@ -1,4 +1,4 @@
# Copyright 2021-2025 Gentoo Authors
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,7 +11,7 @@ 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"
SRC_URI="https://codeberg.org/skyjake/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.codeberg.tar.gz"
S="${WORKDIR}/${MY_PN}"
LICENSE="BSD-2"