diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-03-15 11:35:37 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-03-15 11:40:00 +0100 |
commit | 3fb42e64722882814738f00253943468d44d5c4c (patch) | |
tree | 3923e3e3772f9c8d24ee7e8780176e199257e5f4 /media-libs/oneVPL-intel-gpu | |
parent | www-servers/tomcat: bump to 9.0.87 (diff) | |
download | gentoo-3fb42e64722882814738f00253943468d44d5c4c.tar.gz gentoo-3fb42e64722882814738f00253943468d44d5c4c.tar.bz2 gentoo-3fb42e64722882814738f00253943468d44d5c4c.zip |
media-libs/oneVPL-intel-gpu: add 24.1.4
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-24.1.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 d716efac33d8..cd81ae9ad536 100644 --- a/media-libs/oneVPL-intel-gpu/Manifest +++ b/media-libs/oneVPL-intel-gpu/Manifest @@ -1,3 +1,4 @@ DIST oneVPL-intel-gpu-23.4.3.tar.gz 9048461 BLAKE2B b182a6bb9c9f7ca28dc1b806f52915f1f09ddae96c9b5630149b48677cfe58ec0db159005c1e0905ef337a5dbeddbeec0dc3232fd3bb431c0013c635a77526f2 SHA512 7dcdf04b68bf8fba68832d258a347b07066de5c5ee4fefa0ea94d64611c3f19caeebbc57b44ba63a349e82c6031f2ffd664d18cea1d139260a69247b21afc03f DIST oneVPL-intel-gpu-24.1.1.tar.gz 9052853 BLAKE2B 3b41e4da58550c95617b8089f2a6a06498cecd256ff09e9cf275c53c9eabb3526f83e9e645b12352771a7eccf302ada727bc6c64847e4d5ee1fba2908bd6206e SHA512 6bb4ea1c6f8e6d591ecf96cbd24e4c278f5e4c61c543b6c1537157e69e5597963671e687829a60bd64ea860741c22c8510b478bcdcbf5d3de1df02f8ea6c502a DIST oneVPL-intel-gpu-24.1.3.tar.gz 9055096 BLAKE2B 63f4b14660ef897f9b67675f7b54bd0f48097570d69cc9206e7cc21476854537df5e0c925de413dc6267ab08ca59a3b72a08070b0a0652baa9a7c02f1976a98c SHA512 d885e1076fafa82da5433d38c729b3a5016a8b39f30511c8eff2f695d53ef6d7835b366db8c9cb6d1bd5f30ce47ea84e1a31fb85a536daef0a0c4cd6a874c37d +DIST oneVPL-intel-gpu-24.1.4.tar.gz 9055058 BLAKE2B 28c4b05dcaa2f2ce460b6a0d058c48253b891e1a1893cb7b0b883e01638c44c9987357e2671e7077155863b7a3763e18f46039f908abcd19aff859c3bc2fc2a4 SHA512 20e26a89965181fff89a4722a0fe069ff8356cbe719c753ac32864d046234b601b22fc8df28b0575f147d173888d3218baf218f1a0bab89e1fe7d8a0e2c1e0b4 diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.4.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.4.ebuild new file mode 100644 index 000000000000..9df902c406a2 --- /dev/null +++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.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/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/libvpl[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 +} |