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

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2024-07-31 20:48:18 +02:00
parent e220b83da0
commit e6a13e9f79
3 changed files with 48 additions and 1 deletions

View File

@@ -1 +1,2 @@
DIST oneVPL-intel-gpu-24.2.2.tar.gz 9059065 BLAKE2B 05ff0161fab1d7b3c55bfeeae0262f960136f04e75530d1b1fa7bf99cefc5c30f4041907d303c7197eefbf55e30d834e6cd7a15fe6216780e0aaead8585ff8e2 SHA512 47cdbcf39fddd7a54682b9d1dbeb210175fa052326b33664bc5b80f9dc073df333c9e21ae57db49781d494e49a199c6ffe2f90719041b09c5e5fa46922e3e159
DIST oneVPL-intel-gpu-24.2.5.tar.gz 9063523 BLAKE2B 1d993c5f8fc460323b3630af4068e49c8222c685288f32a3500d9bc646ef99ef1273854422d34831739bbe13750993a9f23b1a8e4ed827b28e0712422b06786f SHA512 a7aa37d27e4f2429634382d55074a014d96fa15ff2c5c40539f753888152f42dd46c9e5b0899021099091167f7a611016e79792ed8808935276adf34199113bf

View File

@@ -9,6 +9,6 @@
<name>Andrew Ammerlaan</name>
</maintainer>
<upstream>
<remote-id type="github">oneapi-src/oneVPL-intel-gpu</remote-id>
<remote-id type="github">intel/vpl-gpu-rt</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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/intel/vpl-gpu-rt/"
SRC_URI="https://github.com/intel/vpl-gpu-rt/archive/refs/tags/intel-onevpl-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/vpl-gpu-rt-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, 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
}