commit: 1b1cccd97d88875133ef4e4c41c0a0de5c84a2c8 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sat Mar 6 18:05:15 2021 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat Mar 6 18:51:42 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b1cccd9
dev-libs/nsync: 1.24.0 version bump, EAPI-7 bump, cmake.eclass Bug: https://bugs.gentoo.org/770580 Closes: https://bugs.gentoo.org/713500 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-libs/nsync/Manifest | 1 + dev-libs/nsync/nsync-1.24.0.ebuild | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/dev-libs/nsync/Manifest b/dev-libs/nsync/Manifest index 40c1fd70c04..be0e6294305 100644 --- a/dev-libs/nsync/Manifest +++ b/dev-libs/nsync/Manifest @@ -1 +1,2 @@ DIST nsync-1.20.1.tar.gz 154106 BLAKE2B 94eeb647de2ca58a3f3837119ef30805f0a72a9d12c19aa705f815955723ddefa1de4d2a3fe5fd0b227ffdd70d5208ab9a300e40b2aff2591a1cef28c79b450a SHA512 d7b9be1052b7d11d896d3fade822f7b1eebbd0a772c9f6e2cd827921f1adc29ed18f7587ebc7d29623d230be384a7a2356c1da3abd53567fc934979d89c70e0c +DIST nsync-1.24.0.tar.gz 155132 BLAKE2B 9a914b408faf8fff96a57fd3868c34aa96b4243ef2acd30dbdbe1fc90a1818d58ffc96bc6d016f5539c0e266fc1fb633952edba0a51b115904c9d6b06a35f7f8 SHA512 14dd582488072123a353c967664ed9a3f636865bb35e64d7256dcc809539129fa47c7979a4009fd45c9341cac537a4ca6b4b617ba2cae1d3995a7c251376339f diff --git a/dev-libs/nsync/nsync-1.24.0.ebuild b/dev-libs/nsync/nsync-1.24.0.ebuild new file mode 100644 index 00000000000..ef961974705 --- /dev/null +++ b/dev-libs/nsync/nsync-1.24.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_ECLASS=cmake +inherit cmake-multilib + +DESCRIPTION="C library that exports various synchronization primitives, such as mutexes" +HOMEPAGE="https://github.com/google/nsync" +SRC_URI="https://github.com/google/nsync/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +DOCS=( README ) + +multilib_src_configure() { + local mycmakeargs=( + -DNSYNC_ENABLE_TESTS=$(usex test) + ) + cmake_src_configure +}
