dev-libs/intel-metrics-library-1.0.200 cmake fixed

This commit is contained in:
TheK0tYaRa 2025-09-29 23:47:12 +03:00
parent fb8e120d8d
commit a32ed555ad
4 changed files with 70 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST metrics-library-1.0.200.tar.gz 262759 BLAKE2B 1ca9bc1ac9292efd689fe582a9630a9f69bc5c65b70b2bac67d0289c7674c881bf2d527715d7b619ea669c3841cfac30e40f1b409f4fb358e2d6571d35e26382 SHA512 8b08e9823440d7e4fc8c9ff4b01622b74cc726febdc5e76830b1751ad063eea9b99ceb021a19f5285d18094b6d8ec93a87c999342147fcf6ef4b04e578d84b65

View file

@ -0,0 +1,27 @@
# Copyright 1999-2025 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="User mode driver helper library that provides access to GPU performance counters"
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 ~X86"
DEPEND="x11-libs/libdrm"
RDEPEND="${DEPEND}"
src_prepare() {
sed -e 's/add_definitions/add_compile_options/g' -i CMakeLists.txt || die
cmake_src_prepare
}

View file

@ -0,0 +1,28 @@
<?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 driver helper library
that provides access to GPU performance counters.
Supported Platforms are:
* Intel Processors with Gen9 graphics devices
* Intel Processors with Gen11 graphics devices
* Intel Processors with Gen12 graphics devices
</longdescription>
<upstream>
<remote-id type="github">intel/metrics-library</remote-id>
</upstream>
</pkgmetadata>