diff options
author | Matt Turner <mattst88@gentoo.org> | 2020-08-11 15:16:51 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2020-08-11 16:24:24 -0700 |
commit | 43f229b209087aea713ece50c8b9f99191763994 (patch) | |
tree | 4bca9b433799e99e7c78ab0571d1c1ab16e7c146 /dev-libs/ocl-icd | |
parent | games-emulation/pcsx2: Drop old versions (diff) | |
download | gentoo-43f229b209087aea713ece50c8b9f99191763994.tar.gz gentoo-43f229b209087aea713ece50c8b9f99191763994.tar.bz2 gentoo-43f229b209087aea713ece50c8b9f99191763994.zip |
dev-libs/ocl-icd: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-libs/ocl-icd')
-rw-r--r-- | dev-libs/ocl-icd/ocl-icd-2.2.12-r2.ebuild | 55 | ||||
-rw-r--r-- | dev-libs/ocl-icd/ocl-icd-2.2.12.ebuild | 52 |
2 files changed, 0 insertions, 107 deletions
diff --git a/dev-libs/ocl-icd/ocl-icd-2.2.12-r2.ebuild b/dev-libs/ocl-icd/ocl-icd-2.2.12-r2.ebuild deleted file mode 100644 index 192d49e15487..000000000000 --- a/dev-libs/ocl-icd/ocl-icd-2.2.12-r2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" -inherit autotools flag-o-matic multilib-minimal ruby-single - -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="${RUBY_DEPS}" -RDEPEND="app-eselect/eselect-opencl - !dev-libs/opencl-icd-loader" - -PATCHES=("${FILESDIR}"/${P}-gcc-10.patch) - -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} -} diff --git a/dev-libs/ocl-icd/ocl-icd-2.2.12.ebuild b/dev-libs/ocl-icd/ocl-icd-2.2.12.ebuild deleted file mode 100644 index 04777289f858..000000000000 --- a/dev-libs/ocl-icd/ocl-icd-2.2.12.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby23 ruby24 ruby25" -inherit autotools flag-o-matic multilib-minimal ruby-single - -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" - -DEPEND="${RUBY_DEPS}" -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} -} |