diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-09-29 16:58:14 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-09-29 17:02:00 +0200 |
commit | df4f20fee90d7d19d7f1f656626dc2fb8705b2f4 (patch) | |
tree | d7f280bd9f1f2347dd3c088c6e67ac8c772de17e /media-libs | |
parent | media-libs/libvpl-tools: add 1.2.0 (diff) | |
download | gentoo-df4f20fee90d7d19d7f1f656626dc2fb8705b2f4.tar.gz gentoo-df4f20fee90d7d19d7f1f656626dc2fb8705b2f4.tar.bz2 gentoo-df4f20fee90d7d19d7f1f656626dc2fb8705b2f4.zip |
media-libs/oneVPL-intel-gpu: add 24.3.4
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.3.4.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 478fa98c0f02..42c39833676e 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.2.tar.gz 9059065 BLAKE2B 05ff0161fab1d7b3c55bfeeae0262f960136f04e75530d1b1fa7bf99cefc5c30f4041907d303c7197eefbf55e30d834e6cd7a15fe6216780e0aaead8585ff8e2 SHA512 47cdbcf39fddd7a54682b9d1dbeb210175fa052326b33664bc5b80f9dc073df333c9e21ae57db49781d494e49a199c6ffe2f90719041b09c5e5fa46922e3e159 DIST oneVPL-intel-gpu-24.2.5.tar.gz 9063523 BLAKE2B 1d993c5f8fc460323b3630af4068e49c8222c685288f32a3500d9bc646ef99ef1273854422d34831739bbe13750993a9f23b1a8e4ed827b28e0712422b06786f SHA512 a7aa37d27e4f2429634382d55074a014d96fa15ff2c5c40539f753888152f42dd46c9e5b0899021099091167f7a611016e79792ed8808935276adf34199113bf +DIST oneVPL-intel-gpu-24.3.4.tar.gz 9193620 BLAKE2B 9a1804bdf4ce8624bf57d38a7f0f349770ac743b50dc513fa2569bf233aabf3972d8bbd0081e00dbf2dc6e5127cdc4372b68b3b65c9b44f0dce67b4f29f1991e SHA512 586094dc531ff4ca952f6682a7a6148d77bca0beaaff7a8411d942ca23bd1c4e70969d4354b3afe65af92fdb42816cd93fe757c4dc21b52bafde14346ac6296a diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.3.4.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.3.4.ebuild new file mode 100644 index 000000000000..1e9794bab839 --- /dev/null +++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.3.4.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/intel/vpl-gpu-rt/" +SRC_URI="https://github.com/intel/vpl-gpu-rt/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 +} |