mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/hsa-ext-rocr: remove old
Closes: https://bugs.gentoo.org/695768 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST hsa-ext-rocr-dev_1.1.9-112-g3d9d98f_amd64.deb 1120410 BLAKE2B 653480e4209f7f6a0d8dfe0f8a8948ef44d2aa2a415f33ce9c4ca8ec8dc3b3e0dd78dac9a3d80bb45f5202df49dc2aa5b329e285968853e0bcaf6673f76d714e SHA512 28fb2ecedb2094782376efcab2a5292cb4f3e58dbdd8ba8b520dfca7d230d30326939dc3964f6e1be841e41829bef44b96573ffdbcad187f02adb11ac70401fd
|
||||
DIST hsa-ext-rocr-dev_1.1.9-99-g835b876_amd64.deb 1113746 BLAKE2B ff1d3418febdde505e12a3a41b39a15d6ed28e97f62700ffa4b7bfbc618b23253026e3978e1293cfa2c06742c78574510e08969e1e1524b82b94a45d98efd2af SHA512 e7c799e218eaee6f926fe309b470af00e0ef7e4974a3dd67231c1c904a0a036e62b1ce3b176bb0c13c0fa65a718443f06e7472e3e66225d818074620e46350b1
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit unpacker
|
||||
|
||||
MY_PV=$(ver_rs 3 '-')
|
||||
|
||||
DESCRIPTION="Proprietary image-support library for Radeon Open Compute"
|
||||
HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm#closed-source-components"
|
||||
SRC_URI="http://repo.radeon.com/rocm/apt/debian/pool/main/h/${PN}-dev/${PN}-dev_${MY_PV}-g835b876_amd64.deb"
|
||||
|
||||
LICENSE="AMD-GPU-PRO-EULA"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="-deprecated"
|
||||
|
||||
RESTRICT="bindist mirror fetch strip"
|
||||
|
||||
QA_PREBUILT="/opt/${PN}/lib*/*"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download the package"
|
||||
einfo
|
||||
einfo " ${SRC_URI}"
|
||||
einfo
|
||||
einfo "and place into your distfiles directory."
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack_deb ${A}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local destdir="/opt/${PN}"
|
||||
local soversion=$(ver_cut 1-3)
|
||||
local somajor=$(ver_cut 1)
|
||||
|
||||
local solibs_to_install=( "libhsa-ext-image64.so" )
|
||||
if use deprecated; then
|
||||
solibs_to_install+=( "libhsa-runtime-tools64.so" )
|
||||
fi
|
||||
|
||||
into "${destdir}"
|
||||
for solib in ${solibs_to_install[@]}; do
|
||||
dolib.so "opt/rocm/hsa/lib/${solib}.${soversion}"
|
||||
dosym "${EPREFIX}${destdir}/$(get_libdir)/${solib}.${soversion}" "${EPREFIX}usr/$(get_libdir)/${solib}.${soversion}"
|
||||
dosym "${solib}.${soversion}" "${EPREFIX}usr/$(get_libdir)/${solib}.${somajor}"
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user