summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-04-18 22:06:22 +0200
committerConrad Kostecki <conikost@gentoo.org>2023-04-18 22:30:47 +0200
commitfbdb65092927b80900dba01e785c3bb06c0e35d6 (patch)
treefd42f59c14ebb10d032b82efcd87c3a8c7ad6fe0 /dev-libs/intel-metrics-library
parentdev-libs/intel-metrics-discovery: fix homepage (diff)
downloadgentoo-fbdb65092927b80900dba01e785c3bb06c0e35d6.tar.gz
gentoo-fbdb65092927b80900dba01e785c3bb06c0e35d6.tar.bz2
gentoo-fbdb65092927b80900dba01e785c3bb06c0e35d6.zip
dev-libs/intel-metrics-library: add 0_pre20230417
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/intel-metrics-library')
-rw-r--r--dev-libs/intel-metrics-library/Manifest1
-rw-r--r--dev-libs/intel-metrics-library/intel-metrics-library-0_pre20230417.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 da66fe0bc8e2..8d1d851ca9c4 100644
--- a/dev-libs/intel-metrics-library/Manifest
+++ b/dev-libs/intel-metrics-library/Manifest
@@ -1 +1,2 @@
DIST intel-metrics-library-0_pre20221216.tar.gz 245599 BLAKE2B 3b7fb9ed24e1f2bade6341b0e4ceb96ecf1edca9447445e19796132b85f0c10a83a11433db7b051a215f897c71dfc80f6545f19960ee9952908d91bc4a04f319 SHA512 403e3c71010bbb4499100dbf100f593f519600064c1a3027a56fdb003c2212b723e8cd91774bb00f97a1c0dbedfce04999afad1f93a8fb957680aa4a20d70a64
+DIST intel-metrics-library-0_pre20230417.tar.gz 248881 BLAKE2B 83b3fb48fcb01668bda98c3a5fff1829d89686dd2731163f24a43614ac6b21c2f618be9d2f80115e2ceeffc4df0880e2dfea72a9255d3430f60a88ecd66a8893 SHA512 1b5878528e2146c9811b43b74ddb94f14b1127dc0e6231cc4ff0993d528c8ccea4d9ba52a8e50b409eb9f0e9776cbe04df7c0d1e94a8cf7020b97b822b430c13
diff --git a/dev-libs/intel-metrics-library/intel-metrics-library-0_pre20230417.ebuild b/dev-libs/intel-metrics-library/intel-metrics-library-0_pre20230417.ebuild
new file mode 100644
index 000000000000..5a958bb84747
--- /dev/null
+++ b/dev-libs/intel-metrics-library/intel-metrics-library-0_pre20230417.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="5524ef74cf0423006992a52571590cb8bc2d7468"
+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/133"
+KEYWORDS="~amd64"
+
+DEPEND="x11-libs/libdrm"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -e '/-Werror/d' -i CMakeLists.txt || die
+ cmake_src_prepare
+}