commit: a0f8d9c91590ffc97f7037a02aa02c49170bf8ab
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 10 18:26:17 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Apr 10 18:37:11 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0f8d9c9
dev-libs/intel-metrics-discovery: new package, add 1.12.164
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-libs/intel-metrics-discovery/Manifest | 1 +
.../intel-metrics-discovery-1.12.164.ebuild | 32 ++++++++++++++++++++++
dev-libs/intel-metrics-discovery/metadata.xml | 25 +++++++++++++++++
3 files changed, 58 insertions(+)
diff --git a/dev-libs/intel-metrics-discovery/Manifest
b/dev-libs/intel-metrics-discovery/Manifest
new file mode 100644
index 000000000000..05fdbbdedb8f
--- /dev/null
+++ b/dev-libs/intel-metrics-discovery/Manifest
@@ -0,0 +1 @@
+DIST metrics-discovery-1.12.164.tar.gz 4235286 BLAKE2B
f2a707fd2b43e096ad1c02032558c141add286d9f8cef20a317f5109245328ae7d22dd1acec64df99ef17dd652e67e5cba8db0e3271dd2259138924218ef893a
SHA512
8e8e00d75ba14abecd9c650c0f5a33dd8f46396e8ed4f2a4eefb1b76b87cfc38ad47740dddd00698c09055a79e12ac2a4b23187c0b6146b4ef0745b21f0bf975
diff --git
a/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.164.ebuild
b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.164.ebuild
new file mode 100644
index 000000000000..3b483c3c9bf2
--- /dev/null
+++ b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.164.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE="Release"
+MY_PN="${PN/intel-/}"
+MY_P="${MY_PN}-${PV}"
+
+inherit cmake
+
+DESCRIPTION="A user mode library that provides access to GPU performance data"
+HOMEPAGE="https://github.com/intel/metrics-library"
+SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${MY_P}"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+
+DEPEND="x11-libs/libdrm"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=( -DLINUX_DISTRO="Gentoo" )
+ cmake_src_configure
+}
diff --git a/dev-libs/intel-metrics-discovery/metadata.xml
b/dev-libs/intel-metrics-discovery/metadata.xml
new file mode 100644
index 000000000000..446f29fca8dd
--- /dev/null
+++ b/dev-libs/intel-metrics-discovery/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>[email protected]</email>
+ <name>Jan Henke</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>[email protected]</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>[email protected]</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <longdescription>
+ This software is a user mode library that
+ provides access to GPU performance data.
+ The library has OS abstraction layer that
+ allows for interoperability in different environments.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">intel/metrics-discovery</remote-id>
+ </upstream>
+</pkgmetadata>