Gentoo Archives: gentoo-commits

From: Craig Andrews <candrews@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/rocr-runtime/
Date: Wed, 07 Aug 2019 17:38:57
Message-Id: 1565199525.735e70751a6ca277349ff68c86c754b3e8c36026.candrews@gentoo
1 commit: 735e70751a6ca277349ff68c86c754b3e8c36026
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 24 18:48:47 2019 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 7 17:38:45 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=735e7075
7
8 dev-libs/rocr-runtime: add -9999 version
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
12
13 dev-libs/rocr-runtime/rocr-runtime-9999.ebuild | 31 ++++++++++++++++++++++++++
14 1 file changed, 31 insertions(+)
15
16 diff --git a/dev-libs/rocr-runtime/rocr-runtime-9999.ebuild b/dev-libs/rocr-runtime/rocr-runtime-9999.ebuild
17 new file mode 100644
18 index 00000000000..a31193337a6
19 --- /dev/null
20 +++ b/dev-libs/rocr-runtime/rocr-runtime-9999.ebuild
21 @@ -0,0 +1,31 @@
22 +# Copyright 1999-2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit cmake-utils
28 +
29 +if [[ ${PV} == *9999 ]] ; then
30 + EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCR-Runtime/"
31 + inherit git-r3
32 + S="${WORKDIR}/${P}/src"
33 +else
34 + SRC_URI="https://github.com/RadeonOpenCompute/ROCR-Runtime/archive/roc-${PV}.tar.gz -> ${P}.tar.gz"
35 + S="${WORKDIR}/ROCR-Runtime-roc-${PV}/src"
36 + KEYWORDS="~amd64"
37 +fi
38 +
39 +DESCRIPTION="Radeon Open Compute Runtime"
40 +HOMEPAGE="https://github.com/RadeonOpenCompute/ROCR-Runtime"
41 +
42 +LICENSE="MIT"
43 +SLOT="0/$(ver_cut 1-2)"
44 +
45 +RDEPEND="sys-process/numactl"
46 +DEPEND="${RDEPEND}
47 + dev-libs/roct-thunk-interface"
48 +
49 +src_prepare() {
50 + sed -e "s:get_version ( \"1.0.0\" ):get_version ( \"${PV}\" ):" -i CMakeLists.txt || die
51 + cmake-utils_src_prepare
52 +}