public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/msgpack/
Date: Thu, 30 Mar 2023 22:41:54 +0000 (UTC)	[thread overview]
Message-ID: <1680216100.a00a05bf07c41a52c213333984da540cc81b6f7e.marecki@gentoo> (raw)

commit:     a00a05bf07c41a52c213333984da540cc81b6f7e
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 30 22:32:19 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Mar 30 22:41:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a00a05bf

dev-libs/msgpack: add 6.0.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-libs/msgpack/Manifest             |  1 +
 dev-libs/msgpack/msgpack-6.0.0.ebuild | 61 +++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/dev-libs/msgpack/Manifest b/dev-libs/msgpack/Manifest
index 4774d20f2102..1fded80f469a 100644
--- a/dev-libs/msgpack/Manifest
+++ b/dev-libs/msgpack/Manifest
@@ -1,2 +1,3 @@
 DIST msgpack-3.3.0.tar.gz 508001 BLAKE2B 3017c44689f8afbf078b9c498449e21b4e3b87591c50a37bf9ae73869dab550819f24d6e5179a3600df297aa2c024e5a7fe1defcbab7c0f1aff826870de2ab32 SHA512 ad3e32edc8c6afd70282b3d4b493c2ffe74a697c41bd1f39030c5b4752cccefaa965bc049d4c2e63103a210bf714dc3bddd474691bc067d1475ae017593f55e6
 DIST msgpack-c-5.0.0.tar.gz 69275 BLAKE2B 9c4ebc60387028cba04d5a8f4d97ca3cf6caa3db93fa7da1a90089d63cd58b36a7fb387b4fd5410d0c422719c1aed6d479418d3cbc011b609afb49cf89c4d0e3 SHA512 f61f19c7dcb5ef2a94cd3fb84e9b090e236caa922f590496e6455bd49a3d001021b55d0f28cea3ce3c35558bedb64f2f932c0e107fb15e6efc6855b99cbe4de6
+DIST msgpack-c-6.0.0.tar.gz 69341 BLAKE2B e5f4f99266e568e7df46064803f869874559b766d32a3eb61f722b610753dd20eb755657eab305079ce0c3c6798848d6511b56d9e60cfedab6fa809cb2f1cb2f SHA512 77a2a3c984e04fcda298ae34571b6826f1d4f6e53b5f7166992269421ae3153b986ed69ba0360347920047e38f6941680bc9e38563ec79f15591bf8d66cd7978

diff --git a/dev-libs/msgpack/msgpack-6.0.0.ebuild b/dev-libs/msgpack/msgpack-6.0.0.ebuild
new file mode 100644
index 000000000000..cc6f586a055f
--- /dev/null
+++ b/dev-libs/msgpack/msgpack-6.0.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+MY_PN="${PN}-c"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="MessagePack is a binary-based efficient data interchange format"
+HOMEPAGE="https://msgpack.org/ https://github.com/msgpack/msgpack-c/"
+SRC_URI="https://github.com/${PN}/${PN}-c/releases/download/c-${PV}/${MY_P}.tar.gz"
+
+LICENSE="Boost-1.0"
+SLOT="0/2"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="doc examples test"
+
+RESTRICT="!test? ( test )"
+
+BDEPEND="doc? ( app-doc/doxygen[dot] )
+	test? (
+		dev-cpp/gtest[${MULTILIB_USEDEP}]
+		sys-libs/zlib[${MULTILIB_USEDEP}]
+	)"
+
+S="${WORKDIR}"/${MY_P}
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DMSGPACK_BUILD_EXAMPLES=OFF
+		-DMSGPACK_BUILD_TESTS="$(usex test)"
+	)
+
+	cmake_src_configure
+}
+
+multilib_src_compile() {
+	cmake_src_compile
+
+	if multilib_is_native_abi && use doc; then
+		cmake_build doxygen
+	fi
+}
+
+multilib_src_install() {
+	if multilib_is_native_abi; then
+		if use doc; then
+			local HTML_DOCS=( "${BUILD_DIR}"/doc_c/html/. )
+		fi
+
+		if use examples; then
+			docinto examples
+			dodoc -r "${S}"/example/.
+			docompress -x /usr/share/doc/${PF}/examples
+		fi
+	fi
+
+	cmake_src_install
+}


             reply	other threads:[~2023-03-30 22:41 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-30 22:41 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-09 13:20 [gentoo-commits] repo/gentoo:master commit in: dev-libs/msgpack/ Michał Górny
2023-12-09 13:18 Sam James
2023-12-09 13:18 Sam James
2023-12-01 20:57 Arthur Zamarin
2023-04-29 15:09 Andreas Sturmlechner
2023-04-22 16:24 Arthur Zamarin
2023-04-22 15:57 Arthur Zamarin
2023-04-22 15:20 Sam James
2023-04-08 13:42 Luca Barbato
2023-04-03  5:40 Sam James
2023-04-03  5:37 Sam James
2023-03-30 22:41 Marek Szuba
2023-02-13  4:48 Sam James
2023-02-07  9:42 Marek Szuba
2023-02-03  9:21 Marek Szuba
2022-07-15  7:40 Sam James
2021-08-05  8:11 Yixun Lan
2021-06-27 20:03 Aaron Bauman
2021-02-14 19:59 Sam James
2021-01-04  9:32 Sam James
2020-11-16  1:42 Sam James
2020-11-14  0:09 Thomas Deutschmann
2020-09-30  2:55 Sam James
2020-09-29 23:14 Sam James
2020-01-16 15:45 Tim Harder
2019-12-29  9:22 Mikle Kolyada
2019-06-13  2:25 Tim Harder
2019-04-20 19:01 Mikle Kolyada
2018-12-28 21:06 Tim Harder
2018-10-04 20:24 Andreas Sturmlechner
2018-03-10 22:55 Patrice Clement
2017-12-11 20:58 Patrice Clement
2017-07-31 21:58 Patrice Clement
2016-04-21 18:11 Tim Harder

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=1680216100.a00a05bf07c41a52c213333984da540cc81b6f7e.marecki@gentoo \
    --to=marecki@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