mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
dev-libs/tfdn: initial import
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
1
dev-libs/tfdn/Manifest
Normal file
1
dev-libs/tfdn/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST tfdn-1.0.1.tar.gz 205687 BLAKE2B b399133d2a01fec2e7f83ebf5cfc33b3682f1e8fa17d42760c2ea86fb2fbe1e573efb08afe91b416d11e50d10141770071736d23ae332746fdec23feea7f64e9 SHA512 33d9f3f8b26e495f56586ef494c88ab35623dd3927b9c419ed9e3ed46f999aaeedf9723e267635b1dbf65f39ee20eecf54a5f498008b7d16241a58d7f832141c
|
||||
22
dev-libs/tfdn/metadata.xml
Normal file
22
dev-libs/tfdn/metadata.xml
Normal file
@@ -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>cyber+gentoo@sysrq.in</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>jaakko.keranen@iki.fi</email>
|
||||
<name>Jaakko Keränen</name>
|
||||
</maintainer>
|
||||
<bugs-to>https://codeberg.org/skyjake/the_Foundation/issues/</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
47
dev-libs/tfdn/tfdn-1.0.1.ebuild
Normal file
47
dev-libs/tfdn/tfdn-1.0.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user