summaryrefslogtreecommitdiff
path: root/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.16.194.ebuild
blob: ff7797e5a0ef34281c820d02164a82a6eb6841ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2026 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/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_P}"

LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="amd64"

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

PATCHES=( "${FILESDIR}/${PN}-1.12.193-revert-definitions.patch" )

src_configure() {
	cmake_src_configure
}