summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/intel-metrics-discovery/Manifest1
-rw-r--r--dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.164.ebuild32
-rw-r--r--dev-libs/intel-metrics-discovery/metadata.xml25
3 files changed, 58 insertions, 0 deletions
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>gentoo@taujhe.de</email>
+ <name>Jan Henke</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>conikost@gentoo.org</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>