diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-01-15 12:05:45 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-01-15 12:14:18 +0100 |
commit | ad9df4319c4d14ae2b2e7c4e5a6d1b0f631d7015 (patch) | |
tree | 6b21260e52fdc9b98455f811d3285f842af4d470 | |
parent | dev-libs/libatomic_ops: Stabilize 7.8.2 arm, #922156 (diff) | |
download | gentoo-ad9df4319c4d14ae2b2e7c4e5a6d1b0f631d7015.tar.gz gentoo-ad9df4319c4d14ae2b2e7c4e5a6d1b0f631d7015.tar.bz2 gentoo-ad9df4319c4d14ae2b2e7c4e5a6d1b0f631d7015.zip |
media-libs/oneVPL-intel-gpu: add 24.1.1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
-rw-r--r-- | media-libs/oneVPL-intel-gpu/Manifest | 1 | ||||
-rw-r--r-- | media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.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 98916679354e..035a23fbaf47 100644 --- a/media-libs/oneVPL-intel-gpu/Manifest +++ b/media-libs/oneVPL-intel-gpu/Manifest @@ -1,3 +1,4 @@ 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 +DIST oneVPL-intel-gpu-24.1.1.tar.gz 9052853 BLAKE2B 3b41e4da58550c95617b8089f2a6a06498cecd256ff09e9cf275c53c9eabb3526f83e9e645b12352771a7eccf302ada727bc6c64847e4d5ee1fba2908bd6206e SHA512 6bb4ea1c6f8e6d591ecf96cbd24e4c278f5e4c61c543b6c1537157e69e5597963671e687829a60bd64ea860741c22c8510b478bcdcbf5d3de1df02f8ea6c502a diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.1.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.1.ebuild new file mode 100644 index 000000000000..faf2827d97cf --- /dev/null +++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.1.1.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/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 +} |