From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/blocksruntime/
Date: Sun, 5 Mar 2023 21:36:58 +0000 (UTC) [thread overview]
Message-ID: <1678052205.e678177aed8f5be31a8fb35a9a135f9f8f45128c.marecki@gentoo> (raw)
commit: e678177aed8f5be31a8fb35a9a135f9f8f45128c
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 5 21:35:10 2023 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun Mar 5 21:36:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e678177a
sys-libs/blocksruntime: block dev-libs/libdispatch
libdispatch bundles the Apple fork of blocksruntime.
While at it, trivial EAPI bump.
Closes: https://bugs.gentoo.org/879919
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
.../blocksruntime-0_pre20171027-r2.ebuild | 42 ++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/sys-libs/blocksruntime/blocksruntime-0_pre20171027-r2.ebuild b/sys-libs/blocksruntime/blocksruntime-0_pre20171027-r2.ebuild
new file mode 100644
index 000000000000..1036aca20985
--- /dev/null
+++ b/sys-libs/blocksruntime/blocksruntime-0_pre20171027-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs vcs-snapshot
+
+COMMIT=9cc93ae2b58676c23fd02cf0c686fa15b7a3ff81 # 27 Oct 2017
+
+DESCRIPTION="BlocksRuntime library needed for clang's -fblocks support"
+HOMEPAGE="https://github.com/mackyle/blocksruntime"
+SRC_URI="https://github.com/mackyle/blocksruntime/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="static-libs"
+
+RDEPEND="!dev-libs/libdispatch"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0_pre20171027-ldflags-soname.patch
+)
+
+src_prepare() {
+ default
+
+ tc-export CC AR RANLIB
+}
+
+src_compile() {
+ ./buildlib -shared || die
+}
+
+src_install() {
+ prefix="${EPREFIX}/usr" \
+ includedir="${EPREFIX}/usr/include/blocksruntime" \
+ libdir="${EPREFIX}/usr/$(get_libdir)" \
+ DESTDIR="${D}" \
+ ./installlib $(use static-libs || echo -shared) || die
+}
next reply other threads:[~2023-03-05 21:37 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-05 21:36 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-21 11:25 [gentoo-commits] repo/gentoo:master commit in: sys-libs/blocksruntime/ Marek Szuba
2023-05-19 17:45 Sam James
2021-07-02 9:18 Marek Szuba
2021-07-02 7:17 Sergei Trofimovich
2021-02-05 2:06 Sam James
2021-01-20 0:39 Sam James
2021-01-20 0:38 Sam James
2021-01-19 14:25 Sam James
2021-01-13 14:59 Sam James
2021-01-13 14:59 Sam James
2020-09-04 12:57 Sergei Trofimovich
2020-08-28 17:07 Sergei Trofimovich
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=1678052205.e678177aed8f5be31a8fb35a9a135f9f8f45128c.marecki@gentoo \
--to=marecki@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