1 |
commit: f8cc813de3f0c22aa99c153a72a2c4ef0134f564 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Mon Nov 29 07:46:13 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 29 08:22:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f8cc813d |
7 |
|
8 |
dev-libs/tfdn: add 1.0.2 |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
dev-libs/tfdn/Manifest | 1 + |
13 |
dev-libs/tfdn/tfdn-1.0.2.ebuild | 47 +++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/tfdn/Manifest b/dev-libs/tfdn/Manifest |
17 |
index b8480ccb6..06b578abf 100644 |
18 |
--- a/dev-libs/tfdn/Manifest |
19 |
+++ b/dev-libs/tfdn/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST tfdn-1.0.1.tar.gz 205687 BLAKE2B b399133d2a01fec2e7f83ebf5cfc33b3682f1e8fa17d42760c2ea86fb2fbe1e573efb08afe91b416d11e50d10141770071736d23ae332746fdec23feea7f64e9 SHA512 33d9f3f8b26e495f56586ef494c88ab35623dd3927b9c419ed9e3ed46f999aaeedf9723e267635b1dbf65f39ee20eecf54a5f498008b7d16241a58d7f832141c |
22 |
+DIST tfdn-1.0.2.tar.gz 205745 BLAKE2B 6e807c07d11b8120144a0d25f5c3ffb1f0f7b0b6397439bf16af8df3cab615782700966ff8c616c80213bd193edf4a2ba2e66b84a641560bbe1bf99da3d790e2 SHA512 fade7799ed2f890b2076567b7aaf7765520e4198fcee0fb394249a8d010ef6454c7807e406069fc916ddd63f7c54d054146b0d369c05dec9f92fcefa01a00521 |
23 |
|
24 |
diff --git a/dev-libs/tfdn/tfdn-1.0.2.ebuild b/dev-libs/tfdn/tfdn-1.0.2.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..ad1fa878f |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/tfdn/tfdn-1.0.2.ebuild |
29 |
@@ -0,0 +1,47 @@ |
30 |
+# Copyright 2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DOCS_BUILDER="doxygen" |
36 |
+DOCS_DEPEND="app-doc/doxygen[dot]" |
37 |
+DOCS_CONFIG_NAME="the_Foundation.doxygen" |
38 |
+inherit cmake docs |
39 |
+ |
40 |
+MY_PN="the_foundation" |
41 |
+DESCRIPTION="Opinionated C11 library for low-level functionality" |
42 |
+HOMEPAGE="https://git.skyjake.fi/skyjake/the_Foundation" |
43 |
+SRC_URI="https://git.skyjake.fi/skyjake/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+S="${WORKDIR}/${MY_PN}" |
45 |
+ |
46 |
+LICENSE="BSD-2" |
47 |
+SLOT="0/1" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="cpu_flags_x86_sse4_1 curl debug ssl" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ dev-libs/libpcre:3 |
53 |
+ dev-libs/libunistring:= |
54 |
+ sys-libs/zlib:= |
55 |
+ curl? ( net-misc/curl ) |
56 |
+ ssl? ( dev-libs/openssl:= ) |
57 |
+" |
58 |
+RDEPEND="${DEPEND}" |
59 |
+ |
60 |
+src_configure() { |
61 |
+ local mycmakeargs=( |
62 |
+ -DTFDN_ENABLE_WARN_ERROR=OFF |
63 |
+ -DTFDN_ENABLE_DEBUG_OUTPUT=$(usex debug) |
64 |
+ -DTFDN_ENABLE_SSE41=$(usex cpu_flags_x86_sse4_1) |
65 |
+ -DTFDN_ENABLE_TESTS=OFF # not actual tests |
66 |
+ -DTFDN_ENABLE_TLSREQUEST=$(usex ssl) |
67 |
+ -DTFDN_ENABLE_WEBREQUEST=$(usex curl) |
68 |
+ ) |
69 |
+ |
70 |
+ cmake_src_configure |
71 |
+} |
72 |
+ |
73 |
+src_compile() { |
74 |
+ cmake_src_compile |
75 |
+ docs_compile |
76 |
+} |