commit:     1a8e3258d5ca7a8c899aa7e9a2810606a9b3411b
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue May  5 05:16:42 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue May  5 06:04:48 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=1a8e3258

dev-lang/vtune: version bump to 2020 update 1

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-lang/vtune/metadata.xml                 | 13 ++++++--
 dev-lang/vtune/vtune-2020.1.0.607630.ebuild | 52 +++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+), 3 deletions(-)

diff --git a/dev-lang/vtune/metadata.xml b/dev-lang/vtune/metadata.xml
index c46d15bb3..718cc299c 100644
--- a/dev-lang/vtune/metadata.xml
+++ b/dev-lang/vtune/metadata.xml
@@ -1,8 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-       <maintainer type="person">
-               <email>nbigaoue...@gmail.com</email>
-               <name>Nicolas Bigaouette</name>
+       <maintainer type="project">
+               <email>s...@gentoo.org</email>
+               <name>Gentoo Science Project</name>
        </maintainer>
+       <longdescription lang="en">
+The Intel® VTune™ Profiler collects key profiling data and presents
+it with a powerful interface that simplifies its analysis and
+interpretation. The package comes with extensive documentation. The
+product can be installed as a non-commercial as well. License, terms
+of qualifications can be found on the web site.
+</longdescription>
 </pkgmetadata>

diff --git a/dev-lang/vtune/vtune-2020.1.0.607630.ebuild 
b/dev-lang/vtune/vtune-2020.1.0.607630.ebuild
new file mode 100644
index 000000000..e1ec58882
--- /dev/null
+++ b/dev-lang/vtune/vtune-2020.1.0.607630.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+INTEL_DIST_PV=2020_update1_professional_edition
+INTEL_SUBDIR=vtune_profiler
+
+inherit intel-sdp-r1
+
+DESCRIPTION="Intel VTune Profiler"
+HOMEPAGE="https://software.intel.com/en-us/vtune";
+
+IUSE="doc"
+KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="~dev-libs/intel-common-19.1.1.217[compiler]"
+
+MY_PV="$(ver_rs 3 '-')" # 20.1.0-607630
+
+QA_PREBUILT="*"
+
+INTEL_DIST_DAT_RPMS=(
+       "vtune-profiler-2020-cli-common-${MY_PV}.noarch.rpm"
+       "vtune-profiler-2020-common-${MY_PV}.noarch.rpm"
+       "vtune-profiler-2020-common-pset-${MY_PV}.noarch.rpm"
+       "vtune-profiler-2020-sep-${MY_PV}.noarch.rpm"
+       "vtune-profiler-2020-target-${MY_PV}.noarch.rpm")
+INTEL_DIST_AMD64_RPMS=(
+       "vtune-profiler-2020-cli-${MY_PV}.x86_64.rpm"
+       "vtune-profiler-2020-collector-64linux-${MY_PV}.x86_64.rpm"
+       "vtune-profiler-2020-gui-${MY_PV}.x86_64.rpm"
+       "vtune-profiler-2020-vpp-server-${MY_PV}.x86_64.rpm")
+INTEL_DIST_X86_RPMS=(
+       "vtune-profiler-2020-cli-32bit-${MY_PV}.i486.rpm"
+       "vtune-profiler-2020-collector-32linux-${MY_PV}.i486.rpm")
+
+pkg_setup() {
+       if use doc; then
+               INTEL_DIST_DAT_RPMS+=( 
"vtune-profiler-2020-doc-${MY_PV}.noarch.rpm" )
+       fi
+}
+
+src_install() {
+       intel-sdp-r1_src_install
+
+       local path="PATH="
+       use abi_x86_64 && path+=":$(isdp_get-sdp-edir)/bin64"
+       use abi_x86_32 && path+=":$(isdp_get-sdp-edir)/bin32"
+       echo "${path}" > "${T}"/35vtune || die
+       doenvd "${T}"/35vtune
+}

Reply via email to