summaryrefslogtreecommitdiff
path: root/dev-libs/nanomsg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-05 19:06:10 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-05 19:06:10 +0000
commitcc420fb8bdbc37a0c10b7dc2e02928bcd840147a (patch)
tree91efb05a92ad304615442c75140e7c641274d835 /dev-libs/nanomsg
parentf61d8811e916303cabe9fafdefbe188ba9b500d5 (diff)
gentoo auto-resync : 05:03:2024 - 19:06:10
Diffstat (limited to 'dev-libs/nanomsg')
-rw-r--r--dev-libs/nanomsg/Manifest2
-rw-r--r--dev-libs/nanomsg/nanomsg-1.2.1.ebuild36
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/nanomsg/Manifest b/dev-libs/nanomsg/Manifest
index 9e6683577542..33bf2ebfebfc 100644
--- a/dev-libs/nanomsg/Manifest
+++ b/dev-libs/nanomsg/Manifest
@@ -1,3 +1,5 @@
DIST nanomsg-1.1.5.tar.gz 310739 BLAKE2B be3a6c3b8d41373798909f24f49c24018d99454e431dc64105a554021b1b49c8ed4fc6d14adfef315f5defd38d19482ab3a7625ea54fefea0794f149038ddfd4 SHA512 773b8e169a7accac21414c63972423a249164f5b843c6c65c1b03a2eb90d21da788a98debdeb396dab795e52d30605696bc2cf65e5e05687bf115438d5b22717
+DIST nanomsg-1.2.1.tar.gz 310191 BLAKE2B 8b02bf60196ce3d316643547e0a88cc63227306a24551f97a141e99996390cf3a8f1c838c6416991d09ff1309da5c69d995021585a5b8bcd02113fdcc232225a SHA512 cc119acafe6e000b75299e866b4bace56ec6d8c90e7843ad773efad7b534296d6baf2b75b107c70a0e4fd4cee9763315d87b6f354676b7915732961b89c3adcb
EBUILD nanomsg-1.1.5-r1.ebuild 803 BLAKE2B 4b25937985c3376e6d1aeedca968015205fcfdb88100d7da8b09bbacc0fe58ada7de837b6439174a422e2e1b59b5374a15b11d17be83a7b2c7c01805d08b1364 SHA512 e529e816a70ff073996a770f0de0bdfe1be08a3d2a913490dbfd240be3d069cd5c139281ff8bf9187c384aad34f70f72ee80d4bf97ae6cab39c378fbdf3e8e8e
+EBUILD nanomsg-1.2.1.ebuild 807 BLAKE2B 18bb9da6b9830cae002777628f77dea55e341ed0fe618b142a8b4889ba78bd29f291edc06e72da56ac89c366081449bbdc59e17479a8fa48106d3107068ae313 SHA512 807c8d0ca06c463452c21d3b0bd9ddbb04f5ae947596994f08705dcae68ed8b657e5f2d38aaa96d666b58ae9891b35b95be6c4bf2682f4081a68339635ae471d
MISC metadata.xml 248 BLAKE2B 491f849b48cddf6768cf7b8bf6914b5331c647f708bcd17372ea461b1d05e249aacef393f6641b7ee5c9da84d2e69588c340a72a426051cd2d29b28399416522 SHA512 f9cad9e1d46fe8f275a70a7e578de6dce7f1e705e599664a74af58a38791cddfa6446c8cceb018c1e77ef01c32ca5b8e8b18aebc22f9239d2f673441af0cfb6e
diff --git a/dev-libs/nanomsg/nanomsg-1.2.1.ebuild b/dev-libs/nanomsg/nanomsg-1.2.1.ebuild
new file mode 100644
index 000000000000..6c404dd68759
--- /dev/null
+++ b/dev-libs/nanomsg/nanomsg-1.2.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="High-performance messaging interface for distributed applications"
+HOMEPAGE="https://nanomsg.org/"
+SRC_URI="https://github.com/nanomsg/nanomsg/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/6.0.1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~riscv ~x86"
+IUSE="doc"
+
+BDEPEND="doc? ( dev-ruby/asciidoctor )"
+
+src_prepare() {
+ # Old CPUs like HPPA fails test because of timeout
+ sed -i \
+ -e '/inproc_shutdown/s/10/80/' \
+ -e '/ws_async_shutdown/s/10/80/' \
+ -e '/ipc_shutdown/s/40/80/' CMakeLists.txt || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DNN_STATIC_LIB=OFF
+ -DNN_ENABLE_DOC=$(usex doc)
+ )
+
+ cmake_src_configure
+}