summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Roman <droman@ifae.es>2024-10-31 11:50:44 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-11-01 09:50:59 +0100
commitf255686bdee86bc40f8fd3b528f1811399f6e5a3 (patch)
tree3cc05308657709039a12c7031b30ae7f42eee586 /net-libs
parentdev-lang/spidermonkey: add 128.4.0 (diff)
downloadgentoo-f255686bdee86bc40f8fd3b528f1811399f6e5a3.tar.gz
gentoo-f255686bdee86bc40f8fd3b528f1811399f6e5a3.tar.bz2
gentoo-f255686bdee86bc40f8fd3b528f1811399f6e5a3.zip
net-libs/cppzmq: add 4.10.0
Signed-off-by: David Roman <droman@ifae.es> Closes: https://github.com/gentoo/gentoo/pull/39171 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/cppzmq/Manifest1
-rw-r--r--net-libs/cppzmq/cppzmq-4.10.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/net-libs/cppzmq/Manifest b/net-libs/cppzmq/Manifest
index a146c041ae14..8f84067a5cb4 100644
--- a/net-libs/cppzmq/Manifest
+++ b/net-libs/cppzmq/Manifest
@@ -1 +1,2 @@
+DIST cppzmq-4.10.0.tar.gz 47099 BLAKE2B 7c85b95f45901b21a4f66c109427ac383494d58c27e54db7f56cc53b913ae154caa2f51c538c1e80f5479181ff83c9a1b1a389c74f2fa6545de874299c8bbc5b SHA512 4a4f3c2a270b9b21591b08a81f2ab6a72693af213c115f2c0aa5b737fd0363d09dba92437f48268ff982e6c27d6830f79244599bd9198e3402c6cca566cea27a
DIST cppzmq-4.9.0.tar.gz 46936 BLAKE2B 230c5a983fb902bdf880b1b0464033a389c500cae635b501275cc3df0980765bd48c1e1a1bb4e1a3d49b1fe63648d77feebc39a7f35c0474bfdc7e2e918c920f SHA512 a9d1c25084b5b84dfa20a005299213c3bb610e46ac7433236fd8d3c60c7e71153c738da4645343080c0d1cad9008aca1a3091d4247c7a2f08c506ed3054d55a7
diff --git a/net-libs/cppzmq/cppzmq-4.10.0.ebuild b/net-libs/cppzmq/cppzmq-4.10.0.ebuild
new file mode 100644
index 000000000000..84e084f6e220
--- /dev/null
+++ b/net-libs/cppzmq/cppzmq-4.10.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="High-level CPP Binding for ZeroMQ"
+HOMEPAGE="https://github.com/zeromq/cppzmq"
+SRC_URI="https://github.com/zeromq/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~x86-linux"
+
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=net-libs/zeromq-4.3.1"
+# Tests require cmake modules from catch2 and headers from older version of catch
+DEPEND="${RDEPEND}
+ test? ( =dev-cpp/catch-2* )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.9.0-disable-static.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DCPPZMQ_CMAKECONFIG_INSTALL_DIR="/usr/$(get_libdir)/cmake/${PN}/"
+ -DCPPZMQ_BUILD_TESTS="$(usex test)"
+ )
+ if has_version -d '>=net-libs/zeromq-4.3.1[drafts]'; then
+ mycmakeargs+=( -DENABLE_DRAFTS=on )
+ fi
+ cmake_src_configure
+}