diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-05-17 15:52:34 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-05-17 16:12:32 +0200 |
commit | 1988170a786a10cc0c839b1824859147314cba1f (patch) | |
tree | 8d216b3f6d28935e3f67bf28f6b4b4b3849b6611 /media-libs | |
parent | media-libs/libvpl-tools: new package, add 1.0.0 (diff) | |
download | gentoo-1988170a786a10cc0c839b1824859147314cba1f.tar.gz gentoo-1988170a786a10cc0c839b1824859147314cba1f.tar.bz2 gentoo-1988170a786a10cc0c839b1824859147314cba1f.zip |
media-libs/oneVPL-intel-gpu: add 24.2.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/oneVPL-intel-gpu/Manifest | 1 | ||||
-rw-r--r-- | media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.2.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 0e89e3da082c..6baa87ded01c 100644 --- a/media-libs/oneVPL-intel-gpu/Manifest +++ b/media-libs/oneVPL-intel-gpu/Manifest @@ -1,2 +1,3 @@ DIST oneVPL-intel-gpu-24.2.0.tar.gz 9057738 BLAKE2B a878ff81f30ce9278b249fb7c3fc19b8c3165a6255413c0844d1cc01947f0cd53c87227a885103a9a7ce218d531d2a8f5d3987b40ebd005088b48545aa67d6cf SHA512 a5c7bd65a4c4c2625448bab4a7ee96ff550ee7f5f1e8f00a84177022a6b806ab6f224c6295f8f3cc7548769ae75b03fea7713c757718424548f1ad365f1df6b7 DIST oneVPL-intel-gpu-24.2.1.tar.gz 9059246 BLAKE2B aea28ac95b9ae9634a97e27c94f6628e6a2dcce455a438851e29e7f9e5674f4ba22782773d3aeae34f315c5a95e6e07ef54d89951cfee0ec316e7a578ff56de9 SHA512 ace3abf923a89720520005d4b3cf90180e2d35713012ea223f6d35a0e9dc8b442bf80915bf2d3d86f5f95b426362df79d57d6da1f4962b31547d50b9e6d80a91 +DIST oneVPL-intel-gpu-24.2.2.tar.gz 9059065 BLAKE2B 05ff0161fab1d7b3c55bfeeae0262f960136f04e75530d1b1fa7bf99cefc5c30f4041907d303c7197eefbf55e30d834e6cd7a15fe6216780e0aaead8585ff8e2 SHA512 47cdbcf39fddd7a54682b9d1dbeb210175fa052326b33664bc5b80f9dc073df333c9e21ae57db49781d494e49a199c6ffe2f90719041b09c5e5fa46922e3e159 diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.2.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.2.ebuild new file mode 100644 index 000000000000..bcc124a916dc --- /dev/null +++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022-2024 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}/vpl-gpu-rt-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, libvpl is preferred but mediasdk also works +RDEPEND="${DEPEND} + >=media-libs/libva-intel-media-driver-${PV} + || ( + media-libs/libvpl + 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 +} |