commit:     189171c59cd2274451962687f7cf0617299f617d
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 27 14:45:54 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Jun 27 15:40:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=189171c5

dev-libs/intel-metrics-discovery: add 1.12.172

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-libs/intel-metrics-discovery/Manifest          |  1 +
 .../intel-metrics-discovery-1.12.172.ebuild        | 29 ++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/dev-libs/intel-metrics-discovery/Manifest 
b/dev-libs/intel-metrics-discovery/Manifest
index a4370e0b4942..7a2452fa3e71 100644
--- a/dev-libs/intel-metrics-discovery/Manifest
+++ b/dev-libs/intel-metrics-discovery/Manifest
@@ -1 +1,2 @@
 DIST metrics-discovery-1.12.171.tar.gz 5219784 BLAKE2B 
3927ad270060543d3dbca9e32abfa83661597313a54bec591098c7f0b48443326d4bc3c13f600b8b53ba4ca2850c15c2c2bee7dc117ca38de9bad3c5b4f8d8b5
 SHA512 
7c08841e86af29465c2d09788d7230bd9401eb02c35eb0e582db68a389c6e867cbb2f9eb38876cd00ffa519633a16c804454d43efd8c32fb61e39bada202708f
+DIST metrics-discovery-1.12.172.tar.gz 5228787 BLAKE2B 
e6bc6ffd4390a8400de0917e3e68ca13e4ccab4d6732b418b5807acb629c522cce80a0a9207d287861ec4642137479003d0e0512f30dd3b9baabebf5ff9f35c3
 SHA512 
24df8497d858d33e2b464e33c158876a4642f0bff7afdb3e51a2a45969a4b9e6f9083ea15cb0a28b3a4c939b701c563d069c159b50430916009af023bd8ff6d2

diff --git 
a/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.172.ebuild 
b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.172.ebuild
new file mode 100644
index 000000000000..1aa1fe8dda1b
--- /dev/null
+++ b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.12.172.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 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-discovery";
+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}"
+
+PATCHES=( "${FILESDIR}/${PN}-1.12.170-revert-definitions.patch" )
+
+src_configure() {
+       local mycmakeargs=( -DLINUX_DISTRO="Gentoo" )
+       cmake_src_configure
+}

Reply via email to