summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-06 19:05:15 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-06 19:51:42 +0100
commit1b1cccd97d88875133ef4e4c41c0a0de5c84a2c8 (patch)
tree2e2d7a890621ac480da623fff381e1deb0ac7543 /dev-libs/nsync
parentmedia-fonts/terminus-font: Stabilize 4.49 ppc64, #774429 (diff)
downloadgentoo-1b1cccd97d88875133ef4e4c41c0a0de5c84a2c8.tar.gz
gentoo-1b1cccd97d88875133ef4e4c41c0a0de5c84a2c8.tar.bz2
gentoo-1b1cccd97d88875133ef4e4c41c0a0de5c84a2c8.zip
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@gentoo.org>
Diffstat (limited to 'dev-libs/nsync')
-rw-r--r--dev-libs/nsync/Manifest1
-rw-r--r--dev-libs/nsync/nsync-1.24.0.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-libs/nsync/Manifest b/dev-libs/nsync/Manifest
index 40c1fd70c042..be0e62943054 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 000000000000..ef961974705e
--- /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
+}