media-libs/vpl-gpu-rt: add 25.2.2

Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
This commit is contained in:
Nowa Ammerlaan 2025-05-19 16:18:26 +02:00
parent 975df7f8fc
commit 1d9ca3847a
No known key found for this signature in database
GPG Key ID: A2E2304370447E8E
2 changed files with 51 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST vpl-gpu-rt-24.4.4.tar.gz 9185059 BLAKE2B 25438360274d456fd8fafe95a3bafe9fd2637a8a02422cb42acfd6948fafe8826d438fd1a431d7a0e95f035bd46b20f23a71585c6e3ca4d9faa0e07c02aae02b SHA512 bb5fa4213b5e142c798324e55aec6c4e3faf1d20afda3c35c4cf1d0050263b493df442961b55ff035430002dd180fc51f22b774d525a5b0c80e10e5fddb622da
DIST vpl-gpu-rt-25.2.2.tar.gz 9194348 BLAKE2B c21f4876cbaab42085d7af5b151fe09509dae10ffbc22814225c82d4df113ba48705844431e7b0ce828c3b293ea1d1731ba60e5e05c6089d5fb1ae4d64f14f83 SHA512 7d32dec65b059e22bc10d6b82cee16fdd9eeddc4cec03fd0f078f6f696e81d8614c14f48c88a8587107f1255d28f6f08f505db6ceda7e3403d570740967ba2d9

View File

@ -0,0 +1,50 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# NOTE: please bump with the other parts of intel's media stack, listed below
# https://github.com/intel/vpl-gpu-rt/releases
EAPI=8
inherit cmake
DESCRIPTION="Intel Video Processing Library GPU Runtime"
HOMEPAGE="https://github.com/intel/vpl-gpu-rt/"
SRC_URI="https://github.com/intel/${PN}/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/gmmlib
media-libs/libva
x11-libs/libdrm[video_cards_intel]
"
# At runtime we need a dispatcher, libvpl is preferred but mediasdk also works
RDEPEND="${DEPEND}
>=media-libs/libva-intel-media-driver-${PV}
|| (
media-libs/libvpl
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
}