diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-12-27 10:31:24 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-12-27 10:31:44 +0100 |
commit | d082c2414d5fa6b2e8f004a680324357b3748f77 (patch) | |
tree | 17ef7ec4ca5142ba0f508547d6556956608d275d /media-libs/oneVPL-intel-gpu | |
parent | dev-libs/linux-syscall-support: update Manifest (diff) | |
download | gentoo-d082c2414d5fa6b2e8f004a680324357b3748f77.tar.gz gentoo-d082c2414d5fa6b2e8f004a680324357b3748f77.tar.bz2 gentoo-d082c2414d5fa6b2e8f004a680324357b3748f77.zip |
media-libs/oneVPL-intel-gpu: add 23.4.3
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.3.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 92c6226d90b7..98916679354e 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.4.tar.gz 9041237 BLAKE2B 15f7075195a6b5d7048f6caa0ccdfee56aeaaaa2b445c02148c9869a4f8a555e58353674fc1cf9708773d9e4bc119e2aa6a4d4c76b80a7e78c89b396935f876d SHA512 9d3fd273ae907b8026ff32009637f2dc0c9c8cf161e85b9052b351cfe74dcbf5c06619dc9268cfd12981908dd4adad68070990e3ef42c2b0f152d214e3ff5422 DIST oneVPL-intel-gpu-23.4.1.tar.gz 9048865 BLAKE2B 8a743e9a5b045a3c1ee07d08ac2bd82815cc0b41bff27b1f7700e9d6cb5ef111ea37152d5611effc277f1b32a49f156c84c4fbaaf7a92ce9e5342eec8bad24ba SHA512 ad2c154bae1ea30b94cd5916265dbf217b20f89d20410731a70c4460d1f3a8439e1773503b9fd7fe56040efa77894c3b50f08a46a57316ea56f037220997f32e +DIST oneVPL-intel-gpu-23.4.3.tar.gz 9048461 BLAKE2B b182a6bb9c9f7ca28dc1b806f52915f1f09ddae96c9b5630149b48677cfe58ec0db159005c1e0905ef337a5dbeddbeec0dc3232fd3bb431c0013c635a77526f2 SHA512 7dcdf04b68bf8fba68832d258a347b07066de5c5ee4fefa0ea94d64611c3f19caeebbc57b44ba63a349e82c6031f2ffd664d18cea1d139260a69247b21afc03f diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.3.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.3.ebuild new file mode 100644 index 000000000000..6d87d22aff64 --- /dev/null +++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.3.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 +} |