diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-03-03 22:10:37 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-03-05 18:02:49 +0200 |
commit | 5918d1be6e686363aa4eeb6ace96225950b9cba2 (patch) | |
tree | 948de4e86a6b5fea2d26dff34ce64ac353414bed /dev-libs/nanomsg | |
parent | kde-apps/kdenetwork-filesharing: Add missing USEdep (diff) | |
download | gentoo-5918d1be6e686363aa4eeb6ace96225950b9cba2.tar.gz gentoo-5918d1be6e686363aa4eeb6ace96225950b9cba2.tar.bz2 gentoo-5918d1be6e686363aa4eeb6ace96225950b9cba2.zip |
dev-libs/nanomsg: add 1.2.1
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-libs/nanomsg')
-rw-r--r-- | dev-libs/nanomsg/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/nanomsg/nanomsg-1.2.1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-libs/nanomsg/Manifest b/dev-libs/nanomsg/Manifest index d73398817638..57a64ee14c0e 100644 --- a/dev-libs/nanomsg/Manifest +++ b/dev-libs/nanomsg/Manifest @@ -1 +1,2 @@ DIST nanomsg-1.1.5.tar.gz 310739 BLAKE2B be3a6c3b8d41373798909f24f49c24018d99454e431dc64105a554021b1b49c8ed4fc6d14adfef315f5defd38d19482ab3a7625ea54fefea0794f149038ddfd4 SHA512 773b8e169a7accac21414c63972423a249164f5b843c6c65c1b03a2eb90d21da788a98debdeb396dab795e52d30605696bc2cf65e5e05687bf115438d5b22717 +DIST nanomsg-1.2.1.tar.gz 310191 BLAKE2B 8b02bf60196ce3d316643547e0a88cc63227306a24551f97a141e99996390cf3a8f1c838c6416991d09ff1309da5c69d995021585a5b8bcd02113fdcc232225a SHA512 cc119acafe6e000b75299e866b4bace56ec6d8c90e7843ad773efad7b534296d6baf2b75b107c70a0e4fd4cee9763315d87b6f354676b7915732961b89c3adcb 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 +} |