summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-03-08 15:56:13 +0100
committerConrad Kostecki <conikost@gentoo.org>2023-03-08 15:56:13 +0100
commitafe52436407d405435b2282c25adcf91a514f4db (patch)
treeebe18f4c1176d08e719cb259d65fafa1233bc5c9 /dev-libs
parentdev-util/intel-graphics-compiler: drop unused cmake variable (diff)
downloadgentoo-afe52436407d405435b2282c25adcf91a514f4db.tar.gz
gentoo-afe52436407d405435b2282c25adcf91a514f4db.tar.bz2
gentoo-afe52436407d405435b2282c25adcf91a514f4db.zip
dev-libs/intel-metrics-library: add 0_pre20221216
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/intel-metrics-library/Manifest1
-rw-r--r--dev-libs/intel-metrics-library/intel-metrics-library-0_pre20221216.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-libs/intel-metrics-library/Manifest b/dev-libs/intel-metrics-library/Manifest
index 5772ae357791..acd29866bbcb 100644
--- a/dev-libs/intel-metrics-library/Manifest
+++ b/dev-libs/intel-metrics-library/Manifest
@@ -1 +1,2 @@
DIST intel-metrics-library-0_pre20220930.tar.gz 245113 BLAKE2B c6736d0da39a577283bab77fad483d4f5f11f20fd85133682eee1686a24cdb4aedfb61a9a4ca7ab253b26a08ed22327ea4131c8d6612ca61f68b293015f8b40a SHA512 ef159fa28a8df3c707b6fe743819e97e20cadb8c731650b79dc780a938c9165a0cd1acd497319a66a75bf08990067a31b652a49c8b8f80905ee25b0e4c0532dc
+DIST intel-metrics-library-0_pre20221216.tar.gz 245599 BLAKE2B 3b7fb9ed24e1f2bade6341b0e4ceb96ecf1edca9447445e19796132b85f0c10a83a11433db7b051a215f897c71dfc80f6545f19960ee9952908d91bc4a04f319 SHA512 403e3c71010bbb4499100dbf100f593f519600064c1a3027a56fdb003c2212b723e8cd91774bb00f97a1c0dbedfce04999afad1f93a8fb957680aa4a20d70a64
diff --git a/dev-libs/intel-metrics-library/intel-metrics-library-0_pre20221216.ebuild b/dev-libs/intel-metrics-library/intel-metrics-library-0_pre20221216.ebuild
new file mode 100644
index 000000000000..b149507d520f
--- /dev/null
+++ b/dev-libs/intel-metrics-library/intel-metrics-library-0_pre20221216.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE="Release"
+EGIT_COMMIT="465ce91cab733a2a2289c4d12cff76e47c96a9ba"
+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/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${EGIT_COMMIT}"
+
+LICENSE="MIT"
+SLOT="0/122"
+KEYWORDS="~amd64"
+
+DEPEND="x11-libs/libdrm"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -e '/-Werror/d' -i CMakeLists.txt || die
+ cmake_src_prepare
+}