diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-10 13:21:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-10 13:21:36 +0000 |
commit | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (patch) | |
tree | 5aeffd3fc7b92fc615bd2c222fa8831aeda1925b /dev-libs/hsa-ext-rocr | |
parent | bd4aeefe33e63f613512604e47bfca7b2187697d (diff) |
gentoo resync : 10.11.2019
Diffstat (limited to 'dev-libs/hsa-ext-rocr')
-rw-r--r-- | dev-libs/hsa-ext-rocr/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.9.122.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/hsa-ext-rocr/Manifest b/dev-libs/hsa-ext-rocr/Manifest index 1fd274f2c451..27f4e2aac961 100644 --- a/dev-libs/hsa-ext-rocr/Manifest +++ b/dev-libs/hsa-ext-rocr/Manifest @@ -1,3 +1,5 @@ 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-122-ge5c4efb_amd64.deb 1120322 BLAKE2B 40c60058c2b6d6debf80503c36f6b0ddc72747c7327e411121f99fa2e507e5e9414cb91c80be0acf283bff23a6a029b3ef199577846b694b2e2e11696cc7d225 SHA512 60dad492cc66f249d48fb057b2ecec1719525a871d38f39a403a55de98e8cdea5f00f672fa3ea697490c287ba7e5c3be035f1f2861a7fc97d9b949f575e51ad7 EBUILD hsa-ext-rocr-1.1.9.112.ebuild 1161 BLAKE2B c0892ada0cdcb0bbc511755218382809b3fc266230e4d41a495a4d63ad83bb5d144b67808ca55889fc6b96ca506ce3de56d3505c98e2c28407a91a6d192c66e2 SHA512 347291970514118859262e1b3357bc7b65c9d142e020653a4069a632345efbdd5c93d11459ce07f2f622a667a0147b171a1911bc2e307e2d2ecce0f6535dbeff +EBUILD hsa-ext-rocr-1.1.9.122.ebuild 1161 BLAKE2B f80763569f5f6524de62b94e0f1907d38d53592360fd736d9b01c7800dc89cae05b93f522cf853121295f2016743eb1e1f2a810cec170f1b1ddbf57cdbd1f545 SHA512 dcafb018921d836207078d7a61ebe7b8639738bfc916e6a46e471795781e34172bb978c28c89de7e715f787598aa6506d46445ebd5996c9f82fd6d1c1cf383d3 MISC metadata.xml 804 BLAKE2B 53bf694f8db04562ed3dcde4ed009a447f913d545012b511d0321d230ed9110ab73da69c2b5ac295eea48a705a8defb4409326d4f4001727139ce3ce2b7b699f SHA512 9f1c2af7864205799b5b2f36be15148de6b0d3ebe8fa6f1ca578abcf5fa6c4b08b24082a2a32e93fce71de25756c7644989b51e63b765516ad63f63a5eb880b3 diff --git a/dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.9.122.ebuild b/dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.9.122.ebuild new file mode 100644 index 000000000000..cb5e5cc16994 --- /dev/null +++ b/dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.9.122.ebuild @@ -0,0 +1,45 @@ +# 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}-ge5c4efb_amd64.deb" + +LICENSE="AMD-GPU-PRO-EULA" +SLOT="0" +KEYWORDS="~amd64" +IUSE="-deprecated" + +RESTRICT="bindist strip" + +QA_PREBUILT="/opt/${PN}/lib*/*" + +S="${WORKDIR}" + +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 +} |