summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-02-23 09:06:55 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-02-23 10:27:26 +0100
commit8736794cf7deb8cf66d5bfb9ca869b6ee5a9f8ee (patch)
tree49a7930455c03cb79c16a032578d2f22bc75cb8c /media-libs/oneVPL-intel-gpu
parentmedia-libs/oneVPL-cpu: drop 2022.2.5 (diff)
downloadgentoo-8736794cf7deb8cf66d5bfb9ca869b6ee5a9f8ee.tar.gz
gentoo-8736794cf7deb8cf66d5bfb9ca869b6ee5a9f8ee.tar.bz2
gentoo-8736794cf7deb8cf66d5bfb9ca869b6ee5a9f8ee.zip
media-libs/oneVPL-intel-gpu: add 22.6.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/oneVPL-intel-gpu-22.6.5.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/oneVPL-intel-gpu/Manifest b/media-libs/oneVPL-intel-gpu/Manifest
index 34cb25d3e02c..66c305731ddc 100644
--- a/media-libs/oneVPL-intel-gpu/Manifest
+++ b/media-libs/oneVPL-intel-gpu/Manifest
@@ -1,2 +1,3 @@
DIST oneVPL-intel-gpu-22.6.3.tar.gz 6819100 BLAKE2B 9c87c41c072b7e7ef2dd8adcc6843eea564582f4070d452babb6b1eeadc13eb12dbe2e9d6075821954b7f7194f2ed814d3c1f6463c3b078912ee42cd684d1277 SHA512 56b29513142dc434732e646e3ec3e8d60db542f3be315190b06e9b532e4aef98423be9a0b6f35e65489085786446ecbd1c1774d06bea7552aaa7fb71517f4fb9
DIST oneVPL-intel-gpu-22.6.4.tar.gz 6820037 BLAKE2B 0e91c91e31fbab69468f4ef351e6674551c02a7a42099b17b3e8fee07a2b8a1ea5884b2becee78d406cf881b3199a6b9823b690334dfd087b7e589309b382d17 SHA512 6d8c144e7efa0f900fab282fceb2d9f58e68212ed71c0e70ce3b9098f7dfba9f441d0ac181082387d254fcf171ef35746ac72edd7351a8065d0fd0f98e4b8ed6
+DIST oneVPL-intel-gpu-22.6.5.tar.gz 6836805 BLAKE2B 73c2f0a7ec0f0712db737cbaee7c62d9801ebca3b75185bc35156922d04da1076015fcf9491be4ebe4cd2d5c87c90903d818a012d4af5c5393f298bd06fad200 SHA512 505bfc0235748fc4a3ee9229e5ffdb815212427266238dbaf0463565ec415c9c767247b6a1c6c10e479da186b834e5df114798a8e84d7b97873d1d97748e9bb5
diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.5.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.5.ebuild
new file mode 100644
index 000000000000..1f7c7bcb5019
--- /dev/null
+++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.5.ebuild
@@ -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 )"
+
+BDEPEND="virtual/pkgconfig"
+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
+ )
+"
+
+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
+}