1 |
commit: 7c05061c40634d9a1adc02c17ffaff53fcfa65e8 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 27 06:05:11 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 27 06:06:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c05061c |
7 |
|
8 |
dev-libs/boehm-gc: add 8.2.2 |
9 |
|
10 |
No longer marked as a pre-release. |
11 |
|
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-libs/boehm-gc/Manifest | 1 + |
15 |
dev-libs/boehm-gc/boehm-gc-8.2.2.ebuild | 56 +++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 57 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/boehm-gc/Manifest b/dev-libs/boehm-gc/Manifest |
19 |
index 1589b260ac5a..9242479e58a2 100644 |
20 |
--- a/dev-libs/boehm-gc/Manifest |
21 |
+++ b/dev-libs/boehm-gc/Manifest |
22 |
@@ -3,3 +3,4 @@ DIST gc-8.0.4.tar.gz 1160528 BLAKE2B ec42378c964fc573e53f6f58aa22fa63a0b421c91b8 |
23 |
DIST gc-8.0.6.tar.gz 1168660 BLAKE2B c23cb10db54db0e8b16c429e039791086dfec4216ad65fabf072bc0f05df66364d019fccf945bffc32ce12868edfbaf6d9482acb2949d1e233bd89925ab55ebd SHA512 2ea25003d585118e3ac0e12be9240e8195db511c6e94949f20453dc3cb771380bd5b956c04243b2a8ce31508587aa32de4f0f10a813577e6dbe8367688b7614e |
24 |
DIST gc-8.0.8.tar.gz 1173619 BLAKE2B 5caa3839390f0a727d7b6fafc13094507326f42c57766ef3f80fb59d64ebbe00e780990735bdefcf26d160a1ae8d44c0d9658310314877b11a91e064a875483a SHA512 c09da03883170b91e7d4904484266948472018a42092f7df42798507666d693327895ef8348f7cb0007f7e4948fbd0476e4021f5a203838157ce46ef3a401f7b |
25 |
DIST gc-8.2.0.tar.gz 1183225 BLAKE2B 382c28041b8cff9df794db48727c0bb478ed9222b15bcf11eda7132b1776970774576b63823e62a87c6563a06359a3d0572effea1ca63fb4f6fdadf1ea350cbe SHA512 ff781360bca667f1f95fbfed073e9035f63134cac1bda4f7e4217664a3713c2846f750a3ce92732972c0435c69355b051f6e8eb6f2698b0d48d9107ff960bacf |
26 |
+DIST gc-8.2.2.tar.gz 1200115 BLAKE2B 9f0306f24189687f0e9e58cd942d67e94d009bd4c9a88556edaae756f902ce71f7eed2ee66a9a9b2e8e40c54653796f494104b395828282b83ee6a89a5542378 SHA512 4a7b26789ce22ab72bfaadf3029362c5fe26737df1e856e43db7d9b24ee8acf625e35d596bb3f698f91d6a5ddfb6c45a952a1dbd18d47359569696a544c9c248 |
27 |
|
28 |
diff --git a/dev-libs/boehm-gc/boehm-gc-8.2.2.ebuild b/dev-libs/boehm-gc/boehm-gc-8.2.2.ebuild |
29 |
new file mode 100644 |
30 |
index 000000000000..0d463fd97be6 |
31 |
--- /dev/null |
32 |
+++ b/dev-libs/boehm-gc/boehm-gc-8.2.2.ebuild |
33 |
@@ -0,0 +1,56 @@ |
34 |
+# Copyright 1999-2022 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=8 |
38 |
+ |
39 |
+inherit multilib-minimal libtool |
40 |
+ |
41 |
+MY_P="gc-${PV}" |
42 |
+ |
43 |
+DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector" |
44 |
+HOMEPAGE="https://www.hboehm.info/gc/ https://github.com/ivmai/bdwgc/" |
45 |
+SRC_URI="https://github.com/ivmai/bdwgc/releases/download/v${PV}/${MY_P}.tar.gz" |
46 |
+S="${WORKDIR}/${MY_P}" |
47 |
+ |
48 |
+LICENSE="boehm-gc" |
49 |
+# SONAME: libgc.so.1 libgccpp.so.1 |
50 |
+# We've been using subslot 0 for these instead of "1.1". |
51 |
+SLOT="0" |
52 |
+# Upstream marked this version as "Pre-release" |
53 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
54 |
+IUSE="cxx +large static-libs +threads" |
55 |
+ |
56 |
+RDEPEND=">=dev-libs/libatomic_ops-7.4[${MULTILIB_USEDEP}]" |
57 |
+DEPEND="${RDEPEND}" |
58 |
+BDEPEND="virtual/pkgconfig" |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ default |
62 |
+ |
63 |
+ # bug #594754 |
64 |
+ elibtoolize |
65 |
+} |
66 |
+ |
67 |
+multilib_src_configure() { |
68 |
+ local config=( |
69 |
+ --disable-docs |
70 |
+ --with-libatomic-ops |
71 |
+ $(use_enable cxx cplusplus) |
72 |
+ $(use_enable static-libs static) |
73 |
+ $(use threads || echo --disable-threads) |
74 |
+ $(use_enable large large-config) |
75 |
+ ) |
76 |
+ |
77 |
+ ECONF_SOURCE="${S}" econf "${config[@]}" |
78 |
+} |
79 |
+ |
80 |
+multilib_src_install_all() { |
81 |
+ local HTML_DOCS=( doc/*.md ) |
82 |
+ einstalldocs |
83 |
+ dodoc doc/README{.environment,.linux,.macros} |
84 |
+ |
85 |
+ # Package provides .pc files |
86 |
+ find "${ED}" -name '*.la' -delete || die |
87 |
+ |
88 |
+ newman doc/gc.man GC_malloc.1 |
89 |
+} |