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>

View file

@ -0,0 +1,14 @@
BDEPEND=app-alternatives/ninja >=dev-build/cmake-3.20.5
DEFINED_PHASES=compile configure install prepare test
DEPEND=x11-libs/libdrm
DESCRIPTION=User mode driver helper library that provides access to GPU performance counters
EAPI=8
HOMEPAGE=https://github.com/intel/metrics-library
INHERIT=cmake
KEYWORDS=~amd64 ~X86
LICENSE=MIT
RDEPEND=x11-libs/libdrm
SLOT=0/1.0.200
SRC_URI=https://github.com/intel/metrics-library/archive/refs/tags/metrics-library-1.0.200.tar.gz
_eclasses_=toolchain-funcs a0b29008c671a362b505f96fa80ce9c0 flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 460729dc36f68cf03b044bc1d367e34a
_md5_=e6d5f74695946c36f85426178e9f1acc