media-libs/oneVPL-intel-gpu: add 23.4.3

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2023-12-27 10:31:24 +01:00
parent 8cb713bd08
commit d082c2414d
2 changed files with 47 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}