diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-10-20 17:52:35 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-10-20 17:53:38 +0200 |
commit | 04760b621c7c31e611e711dbe15156cf64e18c33 (patch) | |
tree | 536bde06269739ffe0fe68afd0dc5e8bf06dcd0e /media-libs/oneVPL-intel-gpu | |
parent | media-libs/oneVPL: drop 2023.2.1, 2023.3.0 (diff) | |
download | gentoo-04760b621c7c31e611e711dbe15156cf64e18c33.tar.gz gentoo-04760b621c7c31e611e711dbe15156cf64e18c33.tar.bz2 gentoo-04760b621c7c31e611e711dbe15156cf64e18c33.zip |
media-libs/oneVPL-intel-gpu: add 23.3.4
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'media-libs/oneVPL-intel-gpu')
-rw-r--r-- | media-libs/oneVPL-intel-gpu/Manifest | 1 | ||||
-rw-r--r-- | media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.4.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/oneVPL-intel-gpu/Manifest b/media-libs/oneVPL-intel-gpu/Manifest index 8f861f7a0133..e7dba4219e19 100644 --- a/media-libs/oneVPL-intel-gpu/Manifest +++ b/media-libs/oneVPL-intel-gpu/Manifest @@ -1,3 +1,4 @@ DIST oneVPL-intel-gpu-23.3.0.tar.gz 9025885 BLAKE2B 64346c71ddf24401445522390558ec8c0b354e2f609d45bd8528336b7be9199b0547076b326e5900caf2743349d04447e9c05025055a043fa34e0da6883974da SHA512 3fc4ebc0f1faade624e221e399716fa62b5e4baba4b134a7bb65e47812ee3cca64e1d1f3def3139f0aaa9bae35de3c44aaeb061a44c466af9268e12a5aa21a80 DIST oneVPL-intel-gpu-23.3.1.tar.gz 9028608 BLAKE2B f1d28d63ea80de954d9ae13c53c58e5aed66f81208b4f5ef565961221362270b10bbfb5cdffcd20241f5ea3ea420c741881d1ca579cb4810f2ef029c37ab0af3 SHA512 a9607f28c4d20c8de774ea498fc612b80f2558f3223c96feea6ffcb6990e7d8ddae180fbceed8599fcf1c7d3b7347f86bdbe45a347964984e902cf5ff8843d1c DIST oneVPL-intel-gpu-23.3.2.tar.gz 9028702 BLAKE2B 8e3505a6af829c5cbd15bba4db4fd139e031eb1bea475e7f2979cdb3a452c7362f76e2b627ae256025e071d8ec39e5759ca07d464e6a1eaeb9d7da2e6218700a SHA512 87c0168f29b6b93cda9670c2e3a91bbccf751f4a3e3ced2f89b617af4029f2bfc8c931f8f754988d146359676072f792273adbc4e048076455080628db17399f +DIST oneVPL-intel-gpu-23.3.4.tar.gz 9041237 BLAKE2B 15f7075195a6b5d7048f6caa0ccdfee56aeaaaa2b445c02148c9869a4f8a555e58353674fc1cf9708773d9e4bc119e2aa6a4d4c76b80a7e78c89b396935f876d SHA512 9d3fd273ae907b8026ff32009637f2dc0c9c8cf161e85b9052b351cfe74dcbf5c06619dc9268cfd12981908dd4adad68070990e3ef42c2b0f152d214e3ff5422 diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.4.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.4.ebuild new file mode 100644 index 000000000000..6d87d22aff64 --- /dev/null +++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.4.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 )" + +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 + ) +" +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 +} |