public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/capnproto/
Date: Fri, 25 Apr 2025 20:23:19 +0000 (UTC)	[thread overview]
Message-ID: <1745612579.3c4f8c2b27d88a56bbc3727297e2663c42b80bde.sam@gentoo> (raw)

commit:     3c4f8c2b27d88a56bbc3727297e2663c42b80bde
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 25 20:22:43 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 25 20:22:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c4f8c2b

dev-libs/capnproto: add 1.1.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/capnproto/Manifest               |  1 +
 dev-libs/capnproto/capnproto-1.1.0.ebuild | 47 +++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-libs/capnproto/Manifest b/dev-libs/capnproto/Manifest
index f37f2c7fc98f..ccae134e89f5 100644
--- a/dev-libs/capnproto/Manifest
+++ b/dev-libs/capnproto/Manifest
@@ -2,3 +2,4 @@ DIST capnproto-0.10.2.tar.gz 2279393 BLAKE2B d78442bc122bc976fb636dfde694e10414b
 DIST capnproto-0.10.4.tar.gz 2280389 BLAKE2B 3a893b766302a96df71763613fa1624f6b7229b8926099d1d9c217f4a1817db16aa24d3bec7950e480da6b027bd9b6b0b5a4083e982e7bda8fc6594794fd379a SHA512 6179a202399f4391014827799c954e0b3ad811ab82ebd0addc01d8c7695b9c1a9c0a0c26b018cd392e3731e12b30cca58545459d1b3a140e86e34b75d7eacbc7
 DIST capnproto-0.9.1.tar.gz 2238849 BLAKE2B f8de56c7f79b0ddad35f3e8fec7740510ca2328e4ddc633a71420901d3fc44df44d807c3965213dfc2535bbe03832c5164242d33cd0bff901d6f288fb62bab21 SHA512 bdc5960f26214139744d768ca4558b085e2d359c375a8849ca532a4c458a2daf0ee1a1f4d00745de5abf353aa1e4084a2d85e5523006f23f591f21fac2d847fd
 DIST capnproto-1.0.2.tar.gz 2412146 BLAKE2B c4f519ced618cd7473194fce9fae96cce22abf2ee4a30f4fd8550e82875727cb8f9c420bd8faba71190bf05870b82e4ff2e74729c7bc2e2e255163e9e764f8d3 SHA512 56551ecad52cf06e5dd52401e6d848eae41126c6ba2bb31a9ec1c82e1b47e0e6171d69db923c118c614aec0d396ddf35724081cccef3a605c39d0b5379a2c03e
+DIST capnproto-1.1.0.tar.gz 2418611 BLAKE2B c3ad74d509135e9e22ef645f017227ea35c6f0dc4e5d2b7757fc3b7948dacfad4cbf9e89c2f2a1d111cd5d2c4c7673e73ce138a439e5787cb160defacda99eb8 SHA512 6992efffbfb375e2ce141e5e99bcab4c2ff2e1a71817d70dc71966633c18c7136e25220bf54da66928346d43697dbdf504e04a9d24cb00313a75b8d990cf53dd

diff --git a/dev-libs/capnproto/capnproto-1.1.0.ebuild b/dev-libs/capnproto/capnproto-1.1.0.ebuild
new file mode 100644
index 000000000000..42c5101100e0
--- /dev/null
+++ b/dev-libs/capnproto/capnproto-1.1.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="RPC/Serialization system with capabilities support"
+HOMEPAGE="https://capnproto.org"
+SRC_URI="https://github.com/sandstorm-io/capnproto/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${P}/c++
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ssl test zlib"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	ssl? ( dev-libs/openssl:= )
+	zlib? ( sys-libs/zlib:= )
+"
+DEPEND="
+	${RDEPEND}
+	test? ( dev-cpp/gtest )
+"
+
+src_configure() {
+	append-atomic-flags
+	if [[ ${LIBS} == *atomic* ]] ; then
+		# append-libs won't work here, cmake doesn't respect it
+		# ... and ldflags gets missed once
+		append-flags -latomic
+	fi
+
+	local mycmakeargs=(
+		-DBUILD_TESTING=$(usex test)
+		-DWITH_OPENSSL=$(usex ssl)
+		-DWITH_ZLIB=$(usex zlib)
+	)
+
+	cmake_src_configure
+}
+
+src_test() {
+	cmake_build check
+}


             reply	other threads:[~2025-04-25 20:23 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-25 20:23 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-25  5:37 [gentoo-commits] repo/gentoo:master commit in: dev-libs/capnproto/ Sam James
2025-01-25  5:37 Sam James
2025-01-25  5:37 Sam James
2025-01-25  5:37 Sam James
2025-01-25  5:20 Sam James
2024-11-23 16:45 Sam James
2023-12-24 10:57 WANG Xuerui
2023-06-01  3:54 Sam James
2023-06-01  1:37 Sam James
2022-10-10  6:25 Jakov Smolić
2022-07-07 10:27 Alexis Ballier
2022-02-28  0:24 Sam James
2022-02-28  0:24 Sam James
2022-02-05 20:46 Andreas Sturmlechner
2022-02-01  4:11 Sam James
2022-02-01  4:11 Sam James
2022-02-01  4:09 Sam James
2022-01-31 20:38 Arthur Zamarin
2022-01-19  9:49 Andreas Sturmlechner
2021-09-06 21:34 Sam James
2021-09-06 21:34 Sam James
2021-04-30 18:01 Mikle Kolyada
2020-12-02  0:32 Aaron Bauman
2020-09-22 11:00 Stefan Strogin
2020-08-25 14:29 Alexis Ballier
2020-03-26 10:24 Agostino Sarubbo
2020-03-26 10:17 Agostino Sarubbo
2019-02-12 13:19 Alexis Ballier
2018-02-22 20:19 Alexis Ballier
2018-01-28 16:36 Thomas Deutschmann
2017-06-15 12:45 Alexis Ballier
2017-06-15 12:45 Alexis Ballier
2017-06-15 12:45 Alexis Ballier
2017-05-24 11:08 Alexis Ballier
2017-05-15 14:45 Alexis Ballier
2017-04-19 15:32 Alexis Ballier
2016-08-02  8:23 Alexis Ballier
2015-11-10  8:58 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1745612579.3c4f8c2b27d88a56bbc3727297e2663c42b80bde.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox