From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 21889138239 for ; Tue, 5 Nov 2019 12:59:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9175FE08F9; Tue, 5 Nov 2019 12:59:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65A7EE08F9 for ; Tue, 5 Nov 2019 12:59:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3179D34C8DA for ; Tue, 5 Nov 2019 12:59:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07FEFA8 for ; Tue, 5 Nov 2019 12:59:21 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1572958626.4dd3777ed418a13b60dbc8a9d3f51ca84f6f914c.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/hsa-ext-rocr/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/hsa-ext-rocr/Manifest dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.9.122.ebuild X-VCS-Directories: dev-libs/hsa-ext-rocr/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 4dd3777ed418a13b60dbc8a9d3f51ca84f6f914c X-VCS-Branch: master Date: Tue, 5 Nov 2019 12:59:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 025a989e-f16b-4dd6-8938-eaaf7e29811b X-Archives-Hash: a58a1986de6dcbfaf330c4a6fa8c6e7b commit: 4dd3777ed418a13b60dbc8a9d3f51ca84f6f914c Author: Marek Szuba gentoo org> AuthorDate: Tue Nov 5 12:56:49 2019 +0000 Commit: Marek Szuba gentoo org> CommitDate: Tue Nov 5 12:57:06 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dd3777e dev-libs/hsa-ext-rocr: bump to 1.1.9.122 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Marek Szuba gentoo.org> dev-libs/hsa-ext-rocr/Manifest | 1 + .../hsa-ext-rocr/hsa-ext-rocr-1.1.9.122.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-libs/hsa-ext-rocr/Manifest b/dev-libs/hsa-ext-rocr/Manifest index 039a7c242ab..0c83092e19b 100644 --- a/dev-libs/hsa-ext-rocr/Manifest +++ b/dev-libs/hsa-ext-rocr/Manifest @@ -1 +1,2 @@ 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 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 00000000000..cb5e5cc1699 --- /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 +}