diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-11-27 14:04:17 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-11-27 14:04:17 +0100 |
commit | 37a8d1016f93723dbc77fa352550e77c74aa8791 (patch) | |
tree | dead97d2d6ccf0ebac141979b63fab78db7ab643 /media-libs/oneVPL-intel-gpu | |
parent | sys-apps/ripgrep: fix BDEPEND: ripgrep 14.0 requires rustc 1.72 (diff) | |
download | gentoo-37a8d1016f93723dbc77fa352550e77c74aa8791.tar.gz gentoo-37a8d1016f93723dbc77fa352550e77c74aa8791.tar.bz2 gentoo-37a8d1016f93723dbc77fa352550e77c74aa8791.zip |
media-libs/oneVPL-intel-gpu: add 23.4.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.4.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 a9a401c44277..7c9d0eafa6de 100644 --- a/media-libs/oneVPL-intel-gpu/Manifest +++ b/media-libs/oneVPL-intel-gpu/Manifest @@ -1,2 +1,3 @@ DIST oneVPL-intel-gpu-23.3.2.tar.gz 9028702 BLAKE2B 8e3505a6af829c5cbd15bba4db4fd139e031eb1bea475e7f2979cdb3a452c7362f76e2b627ae256025e071d8ec39e5759ca07d464e6a1eaeb9d7da2e6218700a SHA512 87c0168f29b6b93cda9670c2e3a91bbccf751f4a3e3ced2f89b617af4029f2bfc8c931f8f754988d146359676072f792273adbc4e048076455080628db17399f DIST oneVPL-intel-gpu-23.3.4.tar.gz 9041237 BLAKE2B 15f7075195a6b5d7048f6caa0ccdfee56aeaaaa2b445c02148c9869a4f8a555e58353674fc1cf9708773d9e4bc119e2aa6a4d4c76b80a7e78c89b396935f876d SHA512 9d3fd273ae907b8026ff32009637f2dc0c9c8cf161e85b9052b351cfe74dcbf5c06619dc9268cfd12981908dd4adad68070990e3ef42c2b0f152d214e3ff5422 +DIST oneVPL-intel-gpu-23.4.1.tar.gz 9048865 BLAKE2B 8a743e9a5b045a3c1ee07d08ac2bd82815cc0b41bff27b1f7700e9d6cb5ef111ea37152d5611effc277f1b32a49f156c84c4fbaaf7a92ce9e5342eec8bad24ba SHA512 ad2c154bae1ea30b94cd5916265dbf217b20f89d20410731a70c4460d1f3a8439e1773503b9fd7fe56040efa77894c3b50f08a46a57316ea56f037220997f32e diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.1.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.1.ebuild new file mode 100644 index 000000000000..6d87d22aff64 --- /dev/null +++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.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 +} |