diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-04-30 11:04:20 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-04-30 11:04:20 +0200 |
commit | 1fc08a5041ba19b58798b55f66af83f740a5d5e2 (patch) | |
tree | 61c9916a78503d2757d33c0dbcd42df65a10f762 /media-libs | |
parent | media-libs/oneVPL-cpu: drop 2023.1.1, 2023.1.2, 2023.1.3 (diff) | |
download | gentoo-1fc08a5041ba19b58798b55f66af83f740a5d5e2.tar.gz gentoo-1fc08a5041ba19b58798b55f66af83f740a5d5e2.tar.bz2 gentoo-1fc08a5041ba19b58798b55f66af83f740a5d5e2.zip |
media-libs/oneVPL-intel-gpu: add 23.2.0
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-23.2.0.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 ad959dfc38b1..6acb97411e93 100644 --- a/media-libs/oneVPL-intel-gpu/Manifest +++ b/media-libs/oneVPL-intel-gpu/Manifest @@ -1,3 +1,4 @@ DIST oneVPL-intel-gpu-22.6.5.tar.gz 6836805 BLAKE2B 73c2f0a7ec0f0712db737cbaee7c62d9801ebca3b75185bc35156922d04da1076015fcf9491be4ebe4cd2d5c87c90903d818a012d4af5c5393f298bd06fad200 SHA512 505bfc0235748fc4a3ee9229e5ffdb815212427266238dbaf0463565ec415c9c767247b6a1c6c10e479da186b834e5df114798a8e84d7b97873d1d97748e9bb5 DIST oneVPL-intel-gpu-23.1.3.tar.gz 6976927 BLAKE2B a338ca7a088c8171a8b0c8fd4de09fb07c5272f9c50c8389aa6442f5368e88f9e012bf9f4c6d49e6a094f615366c84dcddca760cc144ea99204627198e0d4a6f SHA512 c01a32a4aa3988d105cee463e40bb59f834d926f8e67a3fff83dfb4e6f0e2690e845ad179e6bbc31e12528c35d422403706064152a387d36af8939b7168ab7be DIST oneVPL-intel-gpu-23.1.5.tar.gz 6983380 BLAKE2B 5eba00d2f02110d1fae9f5433c8ad63ec57b57a2374e9ea2a5b2ca3fb11a481c9181dda25fcc54e88d2d04b79b6f8d8d4c727235faceb66345a6780122f4c8b0 SHA512 5ccb786e3f9edde8255ab3b0161151428defbce8a465be7a2de0dfe7b6a8f91074e9bead4314aa2b81ca195b559ae97bba1e56f73c9bcf32d719f44cdf038362 +DIST oneVPL-intel-gpu-23.2.0.tar.gz 6983812 BLAKE2B b3e58e9b79f0689f847a7268fe2b465d424d5716298a3a61586be994d5bb8d3d68f90ef7bb3f877f799fead58b5acdecc64ed0c86e803770738f370d2b3f333f SHA512 fd8778bc197ab912d704a74c447f830451bfdd33614bae3ba62f4712ee9a90a54ffa6562e925aa1a5d0fc12e6b9494f9018753ce57e8ec49a5b7602a117e8321 diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.0.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.0.ebuild new file mode 100644 index 000000000000..6d87d22aff64 --- /dev/null +++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.2.0.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 +} |