1 |
commit: a9c4c0fca7795008020baf752385e94cb8792297 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Sun Oct 31 08:51:36 2021 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Sat Nov 6 12:43:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a9c4c0fc |
7 |
|
8 |
dev-libs/tfdn: initial import |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
dev-libs/tfdn/Manifest | 1 + |
13 |
dev-libs/tfdn/metadata.xml | 22 +++++++++++++++++++ |
14 |
dev-libs/tfdn/tfdn-1.0.1.ebuild | 47 +++++++++++++++++++++++++++++++++++++++++ |
15 |
3 files changed, 70 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/tfdn/Manifest b/dev-libs/tfdn/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..b8480ccb6 |
20 |
--- /dev/null |
21 |
+++ b/dev-libs/tfdn/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST tfdn-1.0.1.tar.gz 205687 BLAKE2B b399133d2a01fec2e7f83ebf5cfc33b3682f1e8fa17d42760c2ea86fb2fbe1e573efb08afe91b416d11e50d10141770071736d23ae332746fdec23feea7f64e9 SHA512 33d9f3f8b26e495f56586ef494c88ab35623dd3927b9c419ed9e3ed46f999aaeedf9723e267635b1dbf65f39ee20eecf54a5f498008b7d16241a58d7f832141c |
24 |
|
25 |
diff --git a/dev-libs/tfdn/metadata.xml b/dev-libs/tfdn/metadata.xml |
26 |
new file mode 100644 |
27 |
index 000000000..6ec671d56 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/tfdn/metadata.xml |
30 |
@@ -0,0 +1,22 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+<maintainer type="person"> |
35 |
+ <email>cyber+gentoo@×××××.in</email> |
36 |
+ <name>Anna</name> |
37 |
+</maintainer> |
38 |
+<longdescription> |
39 |
+ the_Foundation is a C11 library and a coding convention for |
40 |
+ object-oriented programming that has been designed from the point of |
41 |
+ view of someone who appreciates the user-friendliness of Qt and some of |
42 |
+ the thinking behind C++ STL. The preprocessor is used heavily to provide |
43 |
+ flexibility and convenience for the programmer. |
44 |
+</longdescription> |
45 |
+<upstream> |
46 |
+ <maintainer> |
47 |
+ <email>jaakko.keranen@×××.fi</email> |
48 |
+ <name>Jaakko Keränen</name> |
49 |
+ </maintainer> |
50 |
+ <bugs-to>https://codeberg.org/skyjake/the_Foundation/issues/</bugs-to> |
51 |
+</upstream> |
52 |
+</pkgmetadata> |
53 |
|
54 |
diff --git a/dev-libs/tfdn/tfdn-1.0.1.ebuild b/dev-libs/tfdn/tfdn-1.0.1.ebuild |
55 |
new file mode 100644 |
56 |
index 000000000..ad1fa878f |
57 |
--- /dev/null |
58 |
+++ b/dev-libs/tfdn/tfdn-1.0.1.ebuild |
59 |
@@ -0,0 +1,47 @@ |
60 |
+# Copyright 2021 Gentoo Authors |
61 |
+# Distributed under the terms of the GNU General Public License v2 |
62 |
+ |
63 |
+EAPI=8 |
64 |
+ |
65 |
+DOCS_BUILDER="doxygen" |
66 |
+DOCS_DEPEND="app-doc/doxygen[dot]" |
67 |
+DOCS_CONFIG_NAME="the_Foundation.doxygen" |
68 |
+inherit cmake docs |
69 |
+ |
70 |
+MY_PN="the_foundation" |
71 |
+DESCRIPTION="Opinionated C11 library for low-level functionality" |
72 |
+HOMEPAGE="https://git.skyjake.fi/skyjake/the_Foundation" |
73 |
+SRC_URI="https://git.skyjake.fi/skyjake/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
74 |
+S="${WORKDIR}/${MY_PN}" |
75 |
+ |
76 |
+LICENSE="BSD-2" |
77 |
+SLOT="0/1" |
78 |
+KEYWORDS="~amd64 ~x86" |
79 |
+IUSE="cpu_flags_x86_sse4_1 curl debug ssl" |
80 |
+ |
81 |
+DEPEND=" |
82 |
+ dev-libs/libpcre:3 |
83 |
+ dev-libs/libunistring:= |
84 |
+ sys-libs/zlib:= |
85 |
+ curl? ( net-misc/curl ) |
86 |
+ ssl? ( dev-libs/openssl:= ) |
87 |
+" |
88 |
+RDEPEND="${DEPEND}" |
89 |
+ |
90 |
+src_configure() { |
91 |
+ local mycmakeargs=( |
92 |
+ -DTFDN_ENABLE_WARN_ERROR=OFF |
93 |
+ -DTFDN_ENABLE_DEBUG_OUTPUT=$(usex debug) |
94 |
+ -DTFDN_ENABLE_SSE41=$(usex cpu_flags_x86_sse4_1) |
95 |
+ -DTFDN_ENABLE_TESTS=OFF # not actual tests |
96 |
+ -DTFDN_ENABLE_TLSREQUEST=$(usex ssl) |
97 |
+ -DTFDN_ENABLE_WEBREQUEST=$(usex curl) |
98 |
+ ) |
99 |
+ |
100 |
+ cmake_src_configure |
101 |
+} |
102 |
+ |
103 |
+src_compile() { |
104 |
+ cmake_src_compile |
105 |
+ docs_compile |
106 |
+} |