From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 162F0158021 for ; Mon, 14 Nov 2022 21:32:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B401E0901; Mon, 14 Nov 2022 21:32:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 16187E0901 for ; Mon, 14 Nov 2022 21:32:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2FE00340E8B for ; Mon, 14 Nov 2022 21:32:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7803573C for ; Mon, 14 Nov 2022 21:32:50 +0000 (UTC) From: "Piotr Karbowski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Piotr Karbowski" Message-ID: <1668461568.0ef6ec64647d1ae6e9e86dd91734d70d70307b66.slashbeast@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdispatch/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libdispatch/Manifest dev-libs/libdispatch/libdispatch-5.7.1.ebuild X-VCS-Directories: dev-libs/libdispatch/ X-VCS-Committer: slashbeast X-VCS-Committer-Name: Piotr Karbowski X-VCS-Revision: 0ef6ec64647d1ae6e9e86dd91734d70d70307b66 X-VCS-Branch: master Date: Mon, 14 Nov 2022 21:32:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9f6ad725-2540-4d00-948f-c14352d43307 X-Archives-Hash: 374e8a0c1b14c49ccb57818a0a2770bb commit: 0ef6ec64647d1ae6e9e86dd91734d70d70307b66 Author: Piotr Karbowski gentoo org> AuthorDate: Mon Nov 14 21:31:29 2022 +0000 Commit: Piotr Karbowski gentoo org> CommitDate: Mon Nov 14 21:32:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ef6ec64 dev-libs/libdispatch: 5.7.1 version bump Signed-off-by: Piotr Karbowski gentoo.org> dev-libs/libdispatch/Manifest | 1 + dev-libs/libdispatch/libdispatch-5.7.1.ebuild | 53 +++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-libs/libdispatch/Manifest b/dev-libs/libdispatch/Manifest index 9afa9b31d9f9..3fd44f6b78de 100644 --- a/dev-libs/libdispatch/Manifest +++ b/dev-libs/libdispatch/Manifest @@ -1 +1,2 @@ DIST libdispatch-5.6.1.tar.gz 592615 BLAKE2B bbd495717456163b0740cd6bcb92d9dfa7a728b88ab6c3ec6c25bcd4bcc3575cb3eb5e93416ddf8293854c17566f4d0ef7ee4280cf15944ddf224e7439b59a5b SHA512 083a8ebdea87cc04f856db1833adcfca83b16568cff311123ccc6a835f73979ac1051f1733feacfa04155fcabc97f561738adf8e871468e808cf8048bea063b1 +DIST libdispatch-5.7.1.tar.gz 594292 BLAKE2B 67112558b591c6c5f658f31ac7f48cea3eb84bffda0959663cac808e80b593f127fb85dc0a666a6ea636bc70649dd9a9c31cbd619fa0e41a803a2766a4740d85 SHA512 7f04c14cfba214d99ffbb1d6d5ae2d0b83a0e3d3597c886093993f55adef53995477d9d88207ad36facc67cd36c46e1380f57fdc847f9a5f079aa41b820ecf4f diff --git a/dev-libs/libdispatch/libdispatch-5.7.1.ebuild b/dev-libs/libdispatch/libdispatch-5.7.1.ebuild new file mode 100644 index 000000000000..af88a1aec21c --- /dev/null +++ b/dev-libs/libdispatch/libdispatch-5.7.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 2022 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" + +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 + + cmake_src_configure +}