1 |
commit: 108710c9a2875c0b31f78b917eaa40fbd136bd59 |
2 |
Author: Peter Levine <plevine457 <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Mar 27 08:16:37 2021 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 29 14:43:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=108710c9 |
7 |
|
8 |
dev-libs/ocl-icd: Remove ruby24 from USE_RUBY |
9 |
|
10 |
dev-lang/ruby:2.4 is no longer in the gentoo tree. |
11 |
|
12 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
13 |
Signed-off-by: Peter Levine <plevine457 <AT> gmail.com> |
14 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
15 |
|
16 |
dev-libs/ocl-icd/ocl-icd-2.2.14-r1.ebuild | 44 +++++++++++++++++++++++++++++++ |
17 |
1 file changed, 44 insertions(+) |
18 |
|
19 |
diff --git a/dev-libs/ocl-icd/ocl-icd-2.2.14-r1.ebuild b/dev-libs/ocl-icd/ocl-icd-2.2.14-r1.ebuild |
20 |
new file mode 100644 |
21 |
index 00000000000..94aa219cb56 |
22 |
--- /dev/null |
23 |
+++ b/dev-libs/ocl-icd/ocl-icd-2.2.14-r1.ebuild |
24 |
@@ -0,0 +1,44 @@ |
25 |
+# Copyright 1999-2021 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=7 |
29 |
+ |
30 |
+USE_RUBY="ruby25 ruby26 ruby27" |
31 |
+inherit autotools flag-o-matic multilib-minimal ruby-single |
32 |
+ |
33 |
+DESCRIPTION="Alternative to vendor specific OpenCL ICD loaders" |
34 |
+HOMEPAGE="https://github.com/OCL-dev/ocl-icd" |
35 |
+SRC_URI="https://github.com/OCL-dev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
36 |
+LICENSE="BSD-2" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+ |
40 |
+# Does nothing now but by keeping it here we avoid having to have virtual/opencl |
41 |
+# handle ebuilds both with and without this flag. |
42 |
+IUSE="+khronos-headers" |
43 |
+ |
44 |
+BDEPEND="${RUBY_DEPS}" |
45 |
+DEPEND=">=dev-util/opencl-headers-2020.12.18" |
46 |
+RDEPEND="${DEPEND} |
47 |
+ !app-eselect/eselect-opencl |
48 |
+ !dev-libs/opencl-icd-loader" |
49 |
+ |
50 |
+src_prepare() { |
51 |
+ replace-flags -Os -O2 # bug 646122 |
52 |
+ |
53 |
+ default |
54 |
+ eautoreconf |
55 |
+} |
56 |
+ |
57 |
+multilib_src_configure() { |
58 |
+ # dev-util/opencl-headers ARE official Khronos Group headers, what this option |
59 |
+ # does is disable the use of the bundled ones |
60 |
+ ECONF_SOURCE="${S}" econf --enable-pthread-once --disable-official-khronos-headers |
61 |
+} |
62 |
+ |
63 |
+multilib_src_install() { |
64 |
+ default |
65 |
+ |
66 |
+ # Drop .la files |
67 |
+ find "${ED}" -name '*.la' -delete || die |
68 |
+} |