diff options
author | Piotr Karbowski <slashbeast@gentoo.org> | 2022-02-06 14:41:10 +0100 |
---|---|---|
committer | Piotr Karbowski <slashbeast@gentoo.org> | 2022-02-06 14:42:12 +0100 |
commit | a97cb3d078a14d8f6ea07357d5d046d11d9a7efb (patch) | |
tree | f2b4d0f83c588d08cf4cd2039fd28be262c9cf4c /dev-libs/libdispatch | |
parent | x11-misc/autocutsel: drop project desktop-misc (diff) | |
download | gentoo-a97cb3d078a14d8f6ea07357d5d046d11d9a7efb.tar.gz gentoo-a97cb3d078a14d8f6ea07357d5d046d11d9a7efb.tar.bz2 gentoo-a97cb3d078a14d8f6ea07357d5d046d11d9a7efb.zip |
dev-libs/libdispatch: 5.5 version bump.
Closes: https://bugs.gentoo.org/830686
Closes: https://bugs.gentoo.org/776313
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.5.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/libdispatch/Manifest b/dev-libs/libdispatch/Manifest index aa3b6b67cbee..eccfb10e6806 100644 --- a/dev-libs/libdispatch/Manifest +++ b/dev-libs/libdispatch/Manifest @@ -1 +1,2 @@ DIST libdispatch-5.3.3.tar.gz 591794 BLAKE2B 982b99227a1292d999639e7b16c1382a38dd6799a0ea1b83dd66333d5b6388be809127565fafc7f171dab9d8aa388cf67316d7eb6fa2ae2e1b8ccf660b32f0ab SHA512 b76071e8fac19ef5aed8cb3998b903a17a4f2b9e6b992d22d394212f4d48c4a547fb7a8cf16e4ce2ef17d6b58e253c2d52c6b176c3a874132410215b73332909 +DIST libdispatch-5.5.tar.gz 592054 BLAKE2B 500ae44069063f202b48cfab2df1fb7fc012f1a1048d2460054e34f18629feefd38952d08f9de310d71774120a0516b4f9210147869e2ce34c266bf44e6fa0d7 SHA512 58ad7122d2fac7b117f4e81eec2b5c1dfdf5256865337110d660790744e83c3fea5e82fbe521b6e56fd0e2f09684e5e1475cf2cac67989a8f78dd0a284fb0d21 diff --git a/dev-libs/libdispatch/libdispatch-5.5.ebuild b/dev-libs/libdispatch/libdispatch-5.5.ebuild new file mode 100644 index 000000000000..72ab2824900b --- /dev/null +++ b/dev-libs/libdispatch/libdispatch-5.5.ebuild @@ -0,0 +1,50 @@ +# 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 ~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" ) + +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 +} |