summaryrefslogtreecommitdiff
path: root/dev-libs/ocl-icd/ocl-icd-2.2.12-r10.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 04:42:05 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 04:42:05 +0100
commitc49dc9bc9e89953423f60ca7ce1beb69bce2ca5b (patch)
tree15ba21ea62ab8758081dd5d321020ba7ed56f6ab /dev-libs/ocl-icd/ocl-icd-2.2.12-r10.ebuild
parent88a6968c9bae82f8c05b78fd03a3fa9a1f1bae16 (diff)
dev-libs/ocl-icd : add gcc10 patch
Diffstat (limited to 'dev-libs/ocl-icd/ocl-icd-2.2.12-r10.ebuild')
-rw-r--r--dev-libs/ocl-icd/ocl-icd-2.2.12-r10.ebuild52
1 files changed, 0 insertions, 52 deletions
diff --git a/dev-libs/ocl-icd/ocl-icd-2.2.12-r10.ebuild b/dev-libs/ocl-icd/ocl-icd-2.2.12-r10.ebuild
deleted file mode 100644
index ec8e555b..00000000
--- a/dev-libs/ocl-icd/ocl-icd-2.2.12-r10.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic multilib-minimal
-
-DESCRIPTION="Alternative to vendor specific OpenCL ICD loaders"
-HOMEPAGE="https://github.com/OCL-dev/ocl-icd"
-SRC_URI="https://github.com/OCL-dev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="+khronos-headers"
-
-BDEPEND="dev-lang/ruby:2.5
- virtual/rubygems"
-RDEPEND="app-eselect/eselect-opencl"
-
-src_prepare() {
- replace-flags -Os -O2 # bug 646122
-
- default
- eautoreconf
-}
-
-multilib_src_configure() {
- ECONF_SOURCE="${S}" econf --enable-pthread-once
-}
-
-multilib_src_install() {
- default
-
- # Drop .la files
- find "${ED}" -name '*.la' -delete || die
-
- OCL_DIR="/usr/$(get_libdir)/OpenCL/vendors/ocl-icd"
- dodir ${OCL_DIR}/{,include}
-
- # Install vendor library
- mv -f "${ED}/usr/$(get_libdir)"/libOpenCL* "${ED}${OCL_DIR}" || die "Can't install vendor library"
-
- # Install vendor headers
- if use khronos-headers; then
- cp -r "${S}/khronos-headers/CL" "${ED}${OCL_DIR}/include" || die "Can't install vendor headers"
- fi
-}
-
-pkg_postinst() {
- eselect opencl set --use-old ${PN}
-}