From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3F9A2158021 for ; Tue, 6 Dec 2022 18:09:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4173BE07C9; Tue, 6 Dec 2022 18:09:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 28CD0E07C9 for ; Tue, 6 Dec 2022 18:09:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27DD0341146 for ; Tue, 6 Dec 2022 18:09:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 697CF776 for ; Tue, 6 Dec 2022 18:09:04 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1670349632.e729b3cd5338d75fa01f64730eda23ca7a09f628.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-intel-gpu/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/oneVPL-intel-gpu/Manifest media-libs/oneVPL-intel-gpu/metadata.xml media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.3.ebuild X-VCS-Directories: media-libs/oneVPL-intel-gpu/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: e729b3cd5338d75fa01f64730eda23ca7a09f628 X-VCS-Branch: master Date: Tue, 6 Dec 2022 18:09:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 442e3fff-3dac-41b0-80f7-a632caa8ba34 X-Archives-Hash: d092a60b96d1870c46dd928bed5db22c commit: e729b3cd5338d75fa01f64730eda23ca7a09f628 Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon Nov 21 11:05:56 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Dec 6 18:00:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e729b3cd media-libs/oneVPL-intel-gpu: new package, add 22.6.3 Signed-off-by: Andrew Ammerlaan gentoo.org> media-libs/oneVPL-intel-gpu/Manifest | 1 + media-libs/oneVPL-intel-gpu/metadata.xml | 14 +++++++ .../oneVPL-intel-gpu-22.6.3.ebuild | 46 ++++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/media-libs/oneVPL-intel-gpu/Manifest b/media-libs/oneVPL-intel-gpu/Manifest new file mode 100644 index 000000000000..c6372d256f43 --- /dev/null +++ b/media-libs/oneVPL-intel-gpu/Manifest @@ -0,0 +1 @@ +DIST oneVPL-intel-gpu-22.6.3.tar.gz 6819100 BLAKE2B 9c87c41c072b7e7ef2dd8adcc6843eea564582f4070d452babb6b1eeadc13eb12dbe2e9d6075821954b7f7194f2ed814d3c1f6463c3b078912ee42cd684d1277 SHA512 56b29513142dc434732e646e3ec3e8d60db542f3be315190b06e9b532e4aef98423be9a0b6f35e65489085786446ecbd1c1774d06bea7552aaa7fb71517f4fb9 diff --git a/media-libs/oneVPL-intel-gpu/metadata.xml b/media-libs/oneVPL-intel-gpu/metadata.xml new file mode 100644 index 000000000000..1d48ba0cbeed --- /dev/null +++ b/media-libs/oneVPL-intel-gpu/metadata.xml @@ -0,0 +1,14 @@ + + + + + media-video@gentoo.org + + + andrewammerlaan@gentoo.org + Andrew Ammerlaan + + + oneapi-src/oneVPL-intel-gpu + + diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.3.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.3.ebuild new file mode 100644 index 000000000000..7e2c69f5b324 --- /dev/null +++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-22.6.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022 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 +}