summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-07-31 20:48:18 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-07-31 20:48:27 +0200
commite6a13e9f79cebb8e59336c99642380ea2f5c403b (patch)
tree636873400b989d68141a9c1449f1af4ee9f1ca61 /media-libs/oneVPL-intel-gpu
parentmedia-libs/libiptcdata: Stabilize 1.0.5-r1 arm64, #937000 (diff)
downloadgentoo-e6a13e9f79cebb8e59336c99642380ea2f5c403b.tar.gz
gentoo-e6a13e9f79cebb8e59336c99642380ea2f5c403b.tar.bz2
gentoo-e6a13e9f79cebb8e59336c99642380ea2f5c403b.zip
media-libs/oneVPL-intel-gpu: add 24.2.5
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'media-libs/oneVPL-intel-gpu')
-rw-r--r--media-libs/oneVPL-intel-gpu/Manifest1
-rw-r--r--media-libs/oneVPL-intel-gpu/metadata.xml2
-rw-r--r--media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.5.ebuild46
3 files changed, 48 insertions, 1 deletions
diff --git a/media-libs/oneVPL-intel-gpu/Manifest b/media-libs/oneVPL-intel-gpu/Manifest
index 1299126ae342..478fa98c0f02 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -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
diff --git a/media-libs/oneVPL-intel-gpu/metadata.xml b/media-libs/oneVPL-intel-gpu/metadata.xml
index 1d48ba0cbeed..6bcfa55e06ba 100644
--- a/media-libs/oneVPL-intel-gpu/metadata.xml
+++ b/media-libs/oneVPL-intel-gpu/metadata.xml
@@ -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>
diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.5.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.5.ebuild
new file mode 100644
index 000000000000..1e9794bab839
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.5.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/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
+}