summaryrefslogtreecommitdiff
path: root/net-libs/cppzmq
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/cppzmq')
-rw-r--r--net-libs/cppzmq/Manifest1
-rw-r--r--net-libs/cppzmq/cppzmq-4.10.0.ebuild4
-rw-r--r--net-libs/cppzmq/cppzmq-4.11.0.ebuild37
-rw-r--r--net-libs/cppzmq/cppzmq-4.9.0.ebuild4
4 files changed, 42 insertions, 4 deletions
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.10.0.ebuild b/net-libs/cppzmq/cppzmq-4.10.0.ebuild
index 4fb02db8a148..21f81e94f89b 100644
--- a/net-libs/cppzmq/cppzmq-4.10.0.ebuild
+++ b/net-libs/cppzmq/cppzmq-4.10.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,8 +9,8 @@ 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"
+SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~x86-linux"
IUSE="test"
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
+}
diff --git a/net-libs/cppzmq/cppzmq-4.9.0.ebuild b/net-libs/cppzmq/cppzmq-4.9.0.ebuild
index 2b4063863cad..52885b68923b 100644
--- a/net-libs/cppzmq/cppzmq-4.9.0.ebuild
+++ b/net-libs/cppzmq/cppzmq-4.9.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,8 +9,8 @@ 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"
+SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~x86-linux"
IUSE="test"