gentoo/dev-libs/intel-metrics-library/intel-metrics-library-1.0.209.ebuild
Conrad Kostecki b95d398ceb
dev-libs/intel-metrics-library: add 1.0.209
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2025-12-14 02:17:47 +01:00

28 lines
638 B
Bash

# 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/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${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
}