diff options
author | Piotr Karbowski <slashbeast@gentoo.org> | 2023-03-29 22:15:06 +0200 |
---|---|---|
committer | Piotr Karbowski <slashbeast@gentoo.org> | 2023-03-29 22:50:58 +0200 |
commit | 0d33e8f18f196ef96541bf25bc5b7812a69a2e06 (patch) | |
tree | 800566dc5957b3b2df259108273ea00383e0a991 /dev-libs/libdispatch | |
parent | dev-libs/libdispatch: drop old. (diff) | |
download | gentoo-0d33e8f18f196ef96541bf25bc5b7812a69a2e06.tar.gz gentoo-0d33e8f18f196ef96541bf25bc5b7812a69a2e06.tar.bz2 gentoo-0d33e8f18f196ef96541bf25bc5b7812a69a2e06.zip |
ev-libs/libdispatch: 5.7.3 version bump.
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'dev-libs/libdispatch')
-rw-r--r-- | dev-libs/libdispatch/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libdispatch/libdispatch-5.7.3.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/libdispatch/Manifest b/dev-libs/libdispatch/Manifest index 60925753ab91..c26b51ec8238 100644 --- a/dev-libs/libdispatch/Manifest +++ b/dev-libs/libdispatch/Manifest @@ -1 +1,2 @@ DIST libdispatch-5.7.1.tar.gz 594292 BLAKE2B 67112558b591c6c5f658f31ac7f48cea3eb84bffda0959663cac808e80b593f127fb85dc0a666a6ea636bc70649dd9a9c31cbd619fa0e41a803a2766a4740d85 SHA512 7f04c14cfba214d99ffbb1d6d5ae2d0b83a0e3d3597c886093993f55adef53995477d9d88207ad36facc67cd36c46e1380f57fdc847f9a5f079aa41b820ecf4f +DIST libdispatch-5.7.3.tar.gz 594295 BLAKE2B 429a5bb52594d4b1e8f3f59c83d88f6faa237acfb4cc24a7e546d95cb3f4559d3e4fe6a0ebaa53ca58f115213bbbcee89081cee91bf3a3668947477807e2f310 SHA512 7d8f40ff7a43ac0367552855317e73e140ba7ff7d2b6494aa772ba052fd7d1a151b0122465b6a82a7e4483e8dd951e77d6b626d63e0997c9a64e3a2bc6d66250 diff --git a/dev-libs/libdispatch/libdispatch-5.7.3.ebuild b/dev-libs/libdispatch/libdispatch-5.7.3.ebuild new file mode 100644 index 000000000000..33616ad732de --- /dev/null +++ b/dev-libs/libdispatch/libdispatch-5.7.3.ebuild @@ -0,0 +1,53 @@ +# 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" + +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 +} |