public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Piotr Karbowski" <slashbeast@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdispatch/
Date: Tue, 18 Apr 2023 21:24:25 +0000 (UTC)	[thread overview]
Message-ID: <1681853062.9f5f02d171c229b75c3b1be1426b6e02cc8c66f7.slashbeast@gentoo> (raw)

commit:     9f5f02d171c229b75c3b1be1426b6e02cc8c66f7
Author:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 18 21:23:21 2023 +0000
Commit:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Tue Apr 18 21:24:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f5f02d1

dev-libs/libdispatch: 5.8 version bump

Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>

 dev-libs/libdispatch/Manifest               |  1 +
 dev-libs/libdispatch/libdispatch-5.8.ebuild | 57 +++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/dev-libs/libdispatch/Manifest b/dev-libs/libdispatch/Manifest
index c26b51ec8238..ccb5d7a76e1d 100644
--- a/dev-libs/libdispatch/Manifest
+++ b/dev-libs/libdispatch/Manifest
@@ -1,2 +1,3 @@
 DIST libdispatch-5.7.1.tar.gz 594292 BLAKE2B 67112558b591c6c5f658f31ac7f48cea3eb84bffda0959663cac808e80b593f127fb85dc0a666a6ea636bc70649dd9a9c31cbd619fa0e41a803a2766a4740d85 SHA512 7f04c14cfba214d99ffbb1d6d5ae2d0b83a0e3d3597c886093993f55adef53995477d9d88207ad36facc67cd36c46e1380f57fdc847f9a5f079aa41b820ecf4f
 DIST libdispatch-5.7.3.tar.gz 594295 BLAKE2B 429a5bb52594d4b1e8f3f59c83d88f6faa237acfb4cc24a7e546d95cb3f4559d3e4fe6a0ebaa53ca58f115213bbbcee89081cee91bf3a3668947477807e2f310 SHA512 7d8f40ff7a43ac0367552855317e73e140ba7ff7d2b6494aa772ba052fd7d1a151b0122465b6a82a7e4483e8dd951e77d6b626d63e0997c9a64e3a2bc6d66250
+DIST libdispatch-5.8.tar.gz 594259 BLAKE2B 90853a19c4c99f590bef9a2153157d95c08f97dd234377f6fff488f6d09c9abebef06e4b64512ab1add1ee92912498cdbab44af7ce2c91a0460ba26c452a5b22 SHA512 913885f00c2010a88ceeb2f9414f2b39e9884ca3fd58e927248dcfafa2205560468114de5627e1225d23ea9e3a50e39670b3afd03defba3de54268653888c32c

diff --git a/dev-libs/libdispatch/libdispatch-5.8.ebuild b/dev-libs/libdispatch/libdispatch-5.8.ebuild
new file mode 100644
index 000000000000..95454fe7e805
--- /dev/null
+++ b/dev-libs/libdispatch/libdispatch-5.8.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic cmake toolchain-funcs
+
+MY_PN="swift-corelibs-${PN}"
+MY_PV="swift-${PV}-RELEASE"
+
+DESCRIPTION="A library for concurrent code execution on multicore hardware"
+HOMEPAGE="https://github.com/apple/swift-corelibs-libdispatch"
+SRC_URI="https://github.com/apple/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	!gnustep-base/libobjc2
+	!sys-libs/blocksruntime
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	sys-devel/clang
+	sys-devel/llvm
+	virtual/pkgconfig
+"
+
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+
+PATCHES=(
+	"${FILESDIR}/remove-Werror.patch"
+	"${FILESDIR}/libdispatch-5.3.3-musl.patch"
+)
+
+src_configure () {
+	if ! tc-is-clang ; then
+		AR=llvm-ar
+		CC=${CHOST}-clang
+		CXX=${CHOST}-clang++
+		NM=llvm-nm
+		RANLIB=llvm-ranlib
+
+		strip-unsupported-flags
+	fi
+
+	export HOST_CC="$(tc-getBUILD_CC)"
+	export HOST_CXX="$(tc-getBUILD_CXX)"
+	tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
+
+	local mycmakeargs=( -DBUILD_TESTING=$(usex test) )
+	cmake_src_configure
+}


             reply	other threads:[~2023-04-18 21:24 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-18 21:24 Piotr Karbowski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-02  6:06 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdispatch/ WANG Xuerui
2023-05-27 11:27 Arthur Zamarin
2023-05-21 13:49 Arthur Zamarin
2023-05-21  0:50 Sam James
2023-05-03  3:53 Sam James
2023-05-02 17:35 Sam James
2023-05-02 15:28 Arthur Zamarin
2023-04-03 20:16 Georgy Yakovlev
2023-03-29 20:51 Piotr Karbowski
2023-03-29 20:51 Piotr Karbowski
2023-03-07 11:42 Sam James
2023-03-06 13:04 Arthur Zamarin
2023-03-06 12:51 Arthur Zamarin
2022-11-14 21:32 Piotr Karbowski
2022-11-14 21:32 Piotr Karbowski
2022-11-06  8:05 Agostino Sarubbo
2022-11-06  3:59 Sam James
2022-11-06  3:59 Sam James
2022-06-26 12:36 Piotr Karbowski
2022-03-12 10:15 Arthur Zamarin
2022-02-07  6:32 Sam James
2022-02-06 13:42 Piotr Karbowski
2022-01-24  3:42 Sam James
2022-01-21 12:40 Sam James
2022-01-21 12:40 Sam James
2022-01-07 17:01 Georgy Yakovlev
2022-01-06 23:47 Georgy Yakovlev
2022-01-06 23:47 Georgy Yakovlev
2021-03-12 12:31 Piotr Karbowski

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=1681853062.9f5f02d171c229b75c3b1be1426b6e02cc8c66f7.slashbeast@gentoo \
    --to=slashbeast@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