diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-08-30 09:30:09 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-08-30 09:30:09 +0200 |
commit | 00ccec604eafb03c032034a226a912ced2817599 (patch) | |
tree | 6a3dec64913bf1729c996d5b92a4e09c6e3f18f7 /media-libs/oneVPL-intel-gpu | |
parent | dev-libs/libvterm: fix rlibtool build (Again) (diff) | |
download | gentoo-00ccec604eafb03c032034a226a912ced2817599.tar.gz gentoo-00ccec604eafb03c032034a226a912ced2817599.tar.bz2 gentoo-00ccec604eafb03c032034a226a912ced2817599.zip |
media-libs/oneVPL-intel-gpu: add 23.3.1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'media-libs/oneVPL-intel-gpu')
-rw-r--r-- | media-libs/oneVPL-intel-gpu/Manifest | 1 | ||||
-rw-r--r-- | media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.1.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/oneVPL-intel-gpu/Manifest b/media-libs/oneVPL-intel-gpu/Manifest index 62583371ca96..ce8370c033c2 100644 --- a/media-libs/oneVPL-intel-gpu/Manifest +++ b/media-libs/oneVPL-intel-gpu/Manifest @@ -1,3 +1,4 @@ DIST oneVPL-intel-gpu-23.2.2.tar.gz 6989173 BLAKE2B 5e0d65f320df1b7c7bba4524b51f525a71595a33e6954b0f74e1b913e0e001e55321c93c43d18dc915fc29ae4c73d408852d993084564e74ea85a75d0e959fa9 SHA512 d419519c2369444ad0daf4ff6f12ddd57e4ffb6dcba05f686490adff65c693db563d306ab9ce76fa9d21d3c4b1b01717d0a8a1d63f595d6ceb43c11657dde7af DIST oneVPL-intel-gpu-23.2.3.tar.gz 6989464 BLAKE2B 3e58be00fec9c7c8bb296e79a8910035b3423ce2baea73f3f9b96c7b88e9df37e86f6622a97f6cbe234495f54db2b764edb5bd088168abb6e9b47f041b3f991a SHA512 45039f16116053ab4d7b0b2081f267187105ce728c15236b90b835e1f70f97c3d2905b04b42d5b7ea2147ad4a305e15c705935a93a3252afc57bafc865e425c2 DIST oneVPL-intel-gpu-23.3.0.tar.gz 9025885 BLAKE2B 64346c71ddf24401445522390558ec8c0b354e2f609d45bd8528336b7be9199b0547076b326e5900caf2743349d04447e9c05025055a043fa34e0da6883974da SHA512 3fc4ebc0f1faade624e221e399716fa62b5e4baba4b134a7bb65e47812ee3cca64e1d1f3def3139f0aaa9bae35de3c44aaeb061a44c466af9268e12a5aa21a80 +DIST oneVPL-intel-gpu-23.3.1.tar.gz 9028608 BLAKE2B f1d28d63ea80de954d9ae13c53c58e5aed66f81208b4f5ef565961221362270b10bbfb5cdffcd20241f5ea3ea420c741881d1ca579cb4810f2ef029c37ab0af3 SHA512 a9607f28c4d20c8de774ea498fc612b80f2558f3223c96feea6ffcb6990e7d8ddae180fbceed8599fcf1c7d3b7347f86bdbe45a347964984e902cf5ff8843d1c diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.1.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.1.ebuild new file mode 100644 index 000000000000..6d87d22aff64 --- /dev/null +++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="oneAPI Video Processing Library Intel GPU implementation" +HOMEPAGE="https://github.com/oneapi-src/oneVPL-intel-gpu" +SRC_URI="https://github.com/oneapi-src/oneVPL-intel-gpu/archive/refs/tags/intel-onevpl-${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-intel-onevpl-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + media-libs/libva + x11-libs/libdrm[video_cards_intel] +" +# At runtime we need a dispatcher, oneVPL is preferred but mediasdk also works +RDEPEND="${DEPEND} + >=media-libs/libva-intel-media-driver-${PV} + || ( + media-libs/oneVPL[drm,vaapi] + media-libs/intel-mediasdk + ) +" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DBUILD_RUNTIME=ON + # To build the kernels we need to package the cm-compiler, use pre-built instead + -DBUILD_KERNELS=OFF + -DBUILD_TESTS="$(usex test)" + # This only seems to do something if we BUILD_KERNELS=ON + #-DBUILD_TOOLS="$(usex tools)" + # OpenCL only has an effect if we build kernels + -DENABLE_OPENCL=OFF + ) + cmake_src_configure +} |