diff options
author | Craig Andrews <candrews@gentoo.org> | 2020-03-01 19:32:09 -0500 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2020-03-01 19:39:06 -0500 |
commit | e2008460bfeb609e4953ab8cbe7717df93c47bf6 (patch) | |
tree | dddbd785ee64332820a6ac17bf32e27ae20f3450 /dev-libs/rocr-runtime | |
parent | sys-kernel/git-sources: Linux patch 5.6-rc4 (diff) | |
download | gentoo-e2008460bfeb609e4953ab8cbe7717df93c47bf6.tar.gz gentoo-e2008460bfeb609e4953ab8cbe7717df93c47bf6.tar.bz2 gentoo-e2008460bfeb609e4953ab8cbe7717df93c47bf6.zip |
dev-libs/rocr-runtime: 3.1.0 version bump
Package-Manager: Portage-2.3.90, Repoman-2.3.20
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'dev-libs/rocr-runtime')
-rw-r--r-- | dev-libs/rocr-runtime/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/rocr-runtime/rocr-runtime-3.1.0.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/rocr-runtime/Manifest b/dev-libs/rocr-runtime/Manifest index ff5165ff39b6..d0f212931ea2 100644 --- a/dev-libs/rocr-runtime/Manifest +++ b/dev-libs/rocr-runtime/Manifest @@ -1 +1,2 @@ DIST rocr-runtime-3.0.0.tar.gz 327908 BLAKE2B 0d95ecc22d27e470dd46f02aca012c59e8d0b0bd76de21133a1198d2daa75547600d95ea6c3a3771da36ce3fdf5e197b40ff68543b71adf36d33079a9d9496ab SHA512 e1a1eeec67bca02defc6f502e94dab71e48833737cc0f45552781c5b0cc36bff9147b2c477d6c2c3c9bd25654569ad1d91cd06aa81fcf412657a489cb56c5674 +DIST rocr-runtime-3.1.0.tar.gz 329176 BLAKE2B 845dcfc5a00e6d571bfef6330b370f588496de95ee7e04caf9c29f81e389f3e82dcdace11d48c86b01119cc0e73bf0a50949da9c4f5383044360f59176670d95 SHA512 a9b540341c649786aa0b53755fc51f540425d67c5a567834abbef9bb55c9b0120b1f14c082bfbc97f3c2a586aa846853f293093116aa8625dc34cae6fe50683a diff --git a/dev-libs/rocr-runtime/rocr-runtime-3.1.0.ebuild b/dev-libs/rocr-runtime/rocr-runtime-3.1.0.ebuild new file mode 100644 index 000000000000..d6ba469a09fe --- /dev/null +++ b/dev-libs/rocr-runtime/rocr-runtime-3.1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCR-Runtime/" + inherit git-r3 + S="${WORKDIR}/${P}/src" +else + SRC_URI="https://github.com/RadeonOpenCompute/ROCR-Runtime/archive/roc-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/ROCR-Runtime-roc-${PV}/src" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Radeon Open Compute Runtime" +HOMEPAGE="https://github.com/RadeonOpenCompute/ROCR-Runtime" +PATCHES=( + "${FILESDIR}/${PN}-3.0.0-cmake-install-paths.patch" +) + +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" +IUSE="non-free" + +COMMON_DEPEND="sys-process/numactl" +RDEPEND="${COMMON_DEPEND} + non-free? ( dev-libs/hsa-ext-rocr )" +DEPEND="${COMMON_DEPEND} + >=dev-libs/roct-thunk-interface-${PV}" + +src_prepare() { + sed -e "s:get_version ( \"1.0.0\" ):get_version ( \"${PV}\" ):" -i CMakeLists.txt || die + cmake_src_prepare +} |