commit:     1d9ca3847a85ed7dc59c155e3a19522aed59f149
Author:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
AuthorDate: Mon May 19 14:18:26 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Mon May 19 14:22:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d9ca384

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

Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 media-libs/vpl-gpu-rt/Manifest                 |  1 +
 media-libs/vpl-gpu-rt/vpl-gpu-rt-25.2.2.ebuild | 50 ++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/media-libs/vpl-gpu-rt/Manifest b/media-libs/vpl-gpu-rt/Manifest
index 3273e3348e72..842fe5b8fef8 100644
--- a/media-libs/vpl-gpu-rt/Manifest
+++ b/media-libs/vpl-gpu-rt/Manifest
@@ -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

diff --git a/media-libs/vpl-gpu-rt/vpl-gpu-rt-25.2.2.ebuild 
b/media-libs/vpl-gpu-rt/vpl-gpu-rt-25.2.2.ebuild
new file mode 100644
index 000000000000..aaefd1d2372b
--- /dev/null
+++ b/media-libs/vpl-gpu-rt/vpl-gpu-rt-25.2.2.ebuild
@@ -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
+}

Reply via email to