Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-lang/vtune/
Date: Tue, 05 May 2020 06:30:48
Message-Id: 1588658688.1a8e3258d5ca7a8c899aa7e9a2810606a9b3411b.tamiko@gentoo
1 commit: 1a8e3258d5ca7a8c899aa7e9a2810606a9b3411b
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 5 05:16:42 2020 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Tue May 5 06:04:48 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1a8e3258
7
8 dev-lang/vtune: version bump to 2020 update 1
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
12
13 dev-lang/vtune/metadata.xml | 13 ++++++--
14 dev-lang/vtune/vtune-2020.1.0.607630.ebuild | 52 +++++++++++++++++++++++++++++
15 2 files changed, 62 insertions(+), 3 deletions(-)
16
17 diff --git a/dev-lang/vtune/metadata.xml b/dev-lang/vtune/metadata.xml
18 index c46d15bb3..718cc299c 100644
19 --- a/dev-lang/vtune/metadata.xml
20 +++ b/dev-lang/vtune/metadata.xml
21 @@ -1,8 +1,15 @@
22 <?xml version="1.0" encoding="UTF-8"?>
23 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
24 <pkgmetadata>
25 - <maintainer type="person">
26 - <email>nbigaouette@×××××.com</email>
27 - <name>Nicolas Bigaouette</name>
28 + <maintainer type="project">
29 + <email>sci@g.o</email>
30 + <name>Gentoo Science Project</name>
31 </maintainer>
32 + <longdescription lang="en">
33 +The Intel® VTune™ Profiler collects key profiling data and presents
34 +it with a powerful interface that simplifies its analysis and
35 +interpretation. The package comes with extensive documentation. The
36 +product can be installed as a non-commercial as well. License, terms
37 +of qualifications can be found on the web site.
38 +</longdescription>
39 </pkgmetadata>
40
41 diff --git a/dev-lang/vtune/vtune-2020.1.0.607630.ebuild b/dev-lang/vtune/vtune-2020.1.0.607630.ebuild
42 new file mode 100644
43 index 000000000..e1ec58882
44 --- /dev/null
45 +++ b/dev-lang/vtune/vtune-2020.1.0.607630.ebuild
46 @@ -0,0 +1,52 @@
47 +# Copyright 1999-2020 Gentoo Authors
48 +# Distributed under the terms of the GNU General Public License v2
49 +
50 +EAPI=7
51 +
52 +INTEL_DIST_PV=2020_update1_professional_edition
53 +INTEL_SUBDIR=vtune_profiler
54 +
55 +inherit intel-sdp-r1
56 +
57 +DESCRIPTION="Intel VTune Profiler"
58 +HOMEPAGE="https://software.intel.com/en-us/vtune"
59 +
60 +IUSE="doc"
61 +KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
62 +
63 +RDEPEND="~dev-libs/intel-common-19.1.1.217[compiler]"
64 +
65 +MY_PV="$(ver_rs 3 '-')" # 20.1.0-607630
66 +
67 +QA_PREBUILT="*"
68 +
69 +INTEL_DIST_DAT_RPMS=(
70 + "vtune-profiler-2020-cli-common-${MY_PV}.noarch.rpm"
71 + "vtune-profiler-2020-common-${MY_PV}.noarch.rpm"
72 + "vtune-profiler-2020-common-pset-${MY_PV}.noarch.rpm"
73 + "vtune-profiler-2020-sep-${MY_PV}.noarch.rpm"
74 + "vtune-profiler-2020-target-${MY_PV}.noarch.rpm")
75 +INTEL_DIST_AMD64_RPMS=(
76 + "vtune-profiler-2020-cli-${MY_PV}.x86_64.rpm"
77 + "vtune-profiler-2020-collector-64linux-${MY_PV}.x86_64.rpm"
78 + "vtune-profiler-2020-gui-${MY_PV}.x86_64.rpm"
79 + "vtune-profiler-2020-vpp-server-${MY_PV}.x86_64.rpm")
80 +INTEL_DIST_X86_RPMS=(
81 + "vtune-profiler-2020-cli-32bit-${MY_PV}.i486.rpm"
82 + "vtune-profiler-2020-collector-32linux-${MY_PV}.i486.rpm")
83 +
84 +pkg_setup() {
85 + if use doc; then
86 + INTEL_DIST_DAT_RPMS+=( "vtune-profiler-2020-doc-${MY_PV}.noarch.rpm" )
87 + fi
88 +}
89 +
90 +src_install() {
91 + intel-sdp-r1_src_install
92 +
93 + local path="PATH="
94 + use abi_x86_64 && path+=":$(isdp_get-sdp-edir)/bin64"
95 + use abi_x86_32 && path+=":$(isdp_get-sdp-edir)/bin32"
96 + echo "${path}" > "${T}"/35vtune || die
97 + doenvd "${T}"/35vtune
98 +}