summaryrefslogtreecommitdiff
path: root/dev-libs/libdispatch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
commit7218e1b46bceac05841e90472501742d905fb3fc (patch)
tree56fae051db521b8fce8014cbc8b11484885b14b3 /dev-libs/libdispatch
parent6d691ad5b6239929063441bbd14c489e92e7396e (diff)
gentoo resync : 12.03.2021
Diffstat (limited to 'dev-libs/libdispatch')
-rw-r--r--dev-libs/libdispatch/Manifest3
-rw-r--r--dev-libs/libdispatch/libdispatch-5.3.3.ebuild45
-rw-r--r--dev-libs/libdispatch/metadata.xml11
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-libs/libdispatch/Manifest b/dev-libs/libdispatch/Manifest
new file mode 100644
index 000000000000..d5b17e86e950
--- /dev/null
+++ b/dev-libs/libdispatch/Manifest
@@ -0,0 +1,3 @@
+DIST libdispatch-5.3.3.tar.gz 591794 BLAKE2B 982b99227a1292d999639e7b16c1382a38dd6799a0ea1b83dd66333d5b6388be809127565fafc7f171dab9d8aa388cf67316d7eb6fa2ae2e1b8ccf660b32f0ab SHA512 b76071e8fac19ef5aed8cb3998b903a17a4f2b9e6b992d22d394212f4d48c4a547fb7a8cf16e4ce2ef17d6b58e253c2d52c6b176c3a874132410215b73332909
+EBUILD libdispatch-5.3.3.ebuild 914 BLAKE2B 9f350cfa7bcbc278a728c4efa057a5b17bc5145b4bb43441b7a2bd73b6ded456c74a174e14558f5cea38616fd9707db792276a5f1630a500f9c306045662c5de SHA512 d0da595a9f026824aa577d35b043b5ec40441fded2efddd122eed541352bffb357641d52cd1bcb28f2f14745c42f3857004887e1acea4f21e023f97cfdb54507
+MISC metadata.xml 349 BLAKE2B 5174115141a1abee14ac46ea3e8bbf9dfdeb263fe431411ccd17c36fbf25b31607df53fe3c9535404aaf5a5b4ffd1f11606387d1b0cd7ab83e18549588a0e563 SHA512 afda3310a1fb23f69619fc40e24c2007b5b40f0c3976b0b20b5c85e87d48830d56ecfc1a0b8ca1800fba00eb00cbff22f7b63e6b99aa12d601081fb8451c42b4
diff --git a/dev-libs/libdispatch/libdispatch-5.3.3.ebuild b/dev-libs/libdispatch/libdispatch-5.3.3.ebuild
new file mode 100644
index 000000000000..d469c43530f2
--- /dev/null
+++ b/dev-libs/libdispatch/libdispatch-5.3.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+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 ~x86"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND="
+ sys-devel/clang
+ sys-devel/llvm
+"
+
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+
+src_configure () {
+ if ! tc-is-clang ; then
+ have_switched_compiler=yes
+ 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
+}
diff --git a/dev-libs/libdispatch/metadata.xml b/dev-libs/libdispatch/metadata.xml
new file mode 100644
index 000000000000..7629980c0ab6
--- /dev/null
+++ b/dev-libs/libdispatch/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>slashbeast@gentoo.org</email>
+ <name>Piotr Karbowski</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">apple/swift-corelibs-libdispatch</remote-id>
+ </upstream>
+</pkgmetadata>