dev-libs/intel-metrics-library - 1.0.200 (gentoo)

Search

Package Information

Description:
User mode driver helper library that provides access to GPU performance counters
Homepage:
https://github.com/intel/metrics-library
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.0.200 8 amd64 0/1.0.200
View Raw Ebuild
# 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"

DEPEND="x11-libs/libdrm"
RDEPEND="${DEPEND}"

src_prepare() {
	sed -e '/-Werror/d' -i CMakeLists.txt || die
	cmake_src_prepare
}

Dependencies

DEPEND

x11-libs/libdrm

RDEPEND

x11-libs/libdrm