Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/intel-neo/
Date: Sun, 26 Sep 2021 11:41:01
Message-Id: 1632656417.8551eef34e1baf1b11db46748c2369c6bf070926.conikost@gentoo
1 commit: 8551eef34e1baf1b11db46748c2369c6bf070926
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 26 11:38:06 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 26 11:40:17 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8551eef3
7
8 dev-libs/intel-neo: bump to version 21.38.21026
9
10 Package-Manager: Portage-3.0.22, Repoman-3.0.3
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 dev-libs/intel-neo/Manifest | 1 +
14 dev-libs/intel-neo/intel-neo-21.38.21026.ebuild | 61 +++++++++++++++++++++++++
15 2 files changed, 62 insertions(+)
16
17 diff --git a/dev-libs/intel-neo/Manifest b/dev-libs/intel-neo/Manifest
18 index 66bc37a5159..ca8977c627a 100644
19 --- a/dev-libs/intel-neo/Manifest
20 +++ b/dev-libs/intel-neo/Manifest
21 @@ -1,2 +1,3 @@
22 DIST intel-neo-21.33.20678.tar.gz 4534884 BLAKE2B 9a5e7f962be08701bec1e890eeb5b6208694a33b524872494e428b73d46629b7cde1522c6b7d0b27725cc170f1e65391892b253ca84d988b209e41631548b135 SHA512 278284fafe0e2d340668e1c21188b706ab48439c6ea573885d1b060df458e2016ed40e0a0c65e4076378ddb3ab284eb2cd92b1db5e6bd892babf2275ed600341
23 DIST intel-neo-21.37.20939.tar.gz 4576917 BLAKE2B 42563ce897667025100b40f504fe4897222fd28f1b82ac22fb6cfaa6a273b8e9199d57743ab338ab52b32c9598bbf6856530688ca9cbff360db356dabed6d96b SHA512 ed213e2fd234300ac940ffa503a34ae54698e2d359927b3bdcb59bf7ea9d6b950073e9e2e750ec5b8e3e387f0c8d74b4852627c283964fd6a9742dcdc32f518f
24 +DIST intel-neo-21.38.21026.tar.gz 4655853 BLAKE2B 28ebfb1cbce30fdefb7104a2b6840ea95d62645ae51a97a0b970aa4344fca7e64eb8f289895c30cf9fe4a0d9e5294490810236c0e565e78383ad7096429e2155 SHA512 08ffaaed80ef5776e6ecff15467170ca143887cda7905a49f7b2d12862ff17e75e7ff89ff2bb76ce25eec4ef32dfc882ac3cddf5a3e71d24adb21cc8c806cf5b
25
26 diff --git a/dev-libs/intel-neo/intel-neo-21.38.21026.ebuild b/dev-libs/intel-neo/intel-neo-21.38.21026.ebuild
27 new file mode 100644
28 index 00000000000..df46dbb3c9c
29 --- /dev/null
30 +++ b/dev-libs/intel-neo/intel-neo-21.38.21026.ebuild
31 @@ -0,0 +1,61 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit cmake
38 +
39 +MY_PN="compute-runtime"
40 +MY_P="${MY_PN}-${PV}"
41 +
42 +DESCRIPTION="Intel Graphics Compute Runtime for oneAPI Level Zero and OpenCL Driver"
43 +HOMEPAGE="https://github.com/intel/compute-runtime"
44 +SRC_URI="https://github.com/intel/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 +S="${WORKDIR}/${MY_P}"
46 +
47 +LICENSE="MIT"
48 +SLOT="0"
49 +KEYWORDS="~amd64"
50 +IUSE="+l0 +vaapi"
51 +
52 +RDEPEND="
53 + dev-libs/libnl:3
54 + dev-libs/libxml2:2
55 + >=dev-util/intel-graphics-compiler-1.0.8708
56 + >=dev-util/intel-graphics-system-controller-0.2.4
57 + >=media-libs/gmmlib-21.2.1
58 + >=virtual/opencl-3
59 + l0? ( >=dev-libs/level-zero-1.5.0 )
60 + vaapi? (
61 + x11-libs/libdrm[video_cards_intel]
62 + x11-libs/libva
63 + )
64 +"
65 +
66 +# for Khronos OpenGL headers
67 +DEPEND="
68 + ${RDEPEND}
69 + media-libs/mesa
70 +"
71 +
72 +BDEPEND="virtual/pkgconfig"
73 +
74 +DOCS=( "README.md" "FAQ.md" )
75 +
76 +PATCHES=( "${FILESDIR}/${PN}-21.31.20514-no_Werror.patch" )
77 +
78 +src_configure() {
79 + local mycmakeargs=(
80 + -DBUILD_WITH_L0="$(usex l0)"
81 + -DDISABLE_LIBVA="$(usex !vaapi)"
82 + -DKHRONOS_GL_HEADERS_DIR="${ESYSROOT}/usr/include"
83 + -DOCL_ICD_VENDORDIR="${EPREFIX}/etc/OpenCL/vendors"
84 +
85 + # If enabled, tests are automatically run during
86 + # the compile phase and we cannot run them because
87 + # they require permissions to access the hardware.
88 + -DSKIP_UNIT_TESTS="ON"
89 + )
90 +
91 + cmake_src_configure
92 +}