commit:     a8b524f9aeefc8f6df34fca87dfc38dc76aec39d
Author:     Vladislav Mikhailikov <vmikhailikov <AT> gmail <DOT> com>
AuthorDate: Mon Dec  1 22:15:31 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Mon Dec 15 17:32:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8b524f9

net-libs/cppzmq: add 4.11.0

What's Changed

Features/fixes

- Add zmq_timers support by @cacharle in #657
- Add file descriptor support for poller by @stephanschim in #606
- Feature/expose monitor socket for active poller by @dietelTiMaMi in #612
- Allow generic sequence of poller events by @typon in #622
- Add configurable sockopt for raw router sockets by @dr7ana in #627
- Add on_monitor_stopped function for monitor_t by @egecetin in #631
- Add ZMQ_BUSY_POLL option by @stephanlachnit in #648
- Fix std::max compilation error on Windows by @cacharle in #656
- Fix -Wold-style-cast compilation warning by @cacharle in #660
- Remove space in custom string literal by @MichaelChirico in #652

Package/tools/internal

- Remove ENABLE_DRAFTS option by @stephanlachnit in #565
- Update to Catch2 v3 by @cybaol in #632
- document CPPZMQ_BUILD_TESTS and adjust formatting and semantics of build 
instructions by @nevadex in #646
- Update CMakeLists.txt by @LocutusOfBorg in #608
- docs: fix link target by @MistEO in #650
- ...

Signed-off-by: Vladislav Mikhailikov <vmikhailikov <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44811
Closes: https://github.com/gentoo/gentoo/pull/44811
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 net-libs/cppzmq/Manifest             |  1 +
 net-libs/cppzmq/cppzmq-4.11.0.ebuild | 37 ++++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/net-libs/cppzmq/Manifest b/net-libs/cppzmq/Manifest
index 8f84067a5cb4..6240e610409d 100644
--- a/net-libs/cppzmq/Manifest
+++ b/net-libs/cppzmq/Manifest
@@ -1,2 +1,3 @@
 DIST cppzmq-4.10.0.tar.gz 47099 BLAKE2B 
7c85b95f45901b21a4f66c109427ac383494d58c27e54db7f56cc53b913ae154caa2f51c538c1e80f5479181ff83c9a1b1a389c74f2fa6545de874299c8bbc5b
 SHA512 
4a4f3c2a270b9b21591b08a81f2ab6a72693af213c115f2c0aa5b737fd0363d09dba92437f48268ff982e6c27d6830f79244599bd9198e3402c6cca566cea27a
+DIST cppzmq-4.11.0.tar.gz 49666 BLAKE2B 
bc2569c2260cfc08a81f0a14b42e81911dd338ab496dd09ba681a908ca7df427ee6656a825133045271318a0fb4b79bc1513f5d7195da558ab6fe6e9cf633304
 SHA512 
7ef3866fe0a337771be40153dd744306fa951214329670a068a0344e909b1128fabce22676561d68bed270716e6fabda53e8bcc839184565db634b38d11bdbac
 DIST cppzmq-4.9.0.tar.gz 46936 BLAKE2B 
230c5a983fb902bdf880b1b0464033a389c500cae635b501275cc3df0980765bd48c1e1a1bb4e1a3d49b1fe63648d77feebc39a7f35c0474bfdc7e2e918c920f
 SHA512 
a9d1c25084b5b84dfa20a005299213c3bb610e46ac7433236fd8d3c60c7e71153c738da4645343080c0d1cad9008aca1a3091d4247c7a2f08c506ed3054d55a7

diff --git a/net-libs/cppzmq/cppzmq-4.11.0.ebuild 
b/net-libs/cppzmq/cppzmq-4.11.0.ebuild
new file mode 100644
index 000000000000..902b3eee1e30
--- /dev/null
+++ b/net-libs/cppzmq/cppzmq-4.11.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 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"
+
+LICENSE="MIT"
+SLOT="0"
+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-3* )"
+
+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
+}

Reply via email to