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 E5F3715802F for ; Tue, 7 Mar 2023 08:27:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2197EE0845; Tue, 7 Mar 2023 08:27:40 +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 07547E0845 for ; Tue, 7 Mar 2023 08:27:40 +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 13EEB341357 for ; Tue, 7 Mar 2023 08:27:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 537E18CF for ; Tue, 7 Mar 2023 08:27:37 +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: <1678177640.6e5159fd33da52961a5eb91588983dc228f9cffd.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/oneVPL-cpu/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/oneVPL-cpu/Manifest media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.3.ebuild X-VCS-Directories: media-libs/oneVPL-cpu/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 6e5159fd33da52961a5eb91588983dc228f9cffd X-VCS-Branch: master Date: Tue, 7 Mar 2023 08:27:37 +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: 1b7fa196-079a-483f-afa8-9337d2a853e6 X-Archives-Hash: f0727e347312f7cd26befb3f1ef5945d commit: 6e5159fd33da52961a5eb91588983dc228f9cffd Author: Andrew Ammerlaan gentoo org> AuthorDate: Tue Mar 7 08:26:46 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Mar 7 08:27:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e5159fd media-libs/oneVPL-cpu: add 2023.1.3 Signed-off-by: Andrew Ammerlaan gentoo.org> media-libs/oneVPL-cpu/Manifest | 1 + media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.3.ebuild | 57 ++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/media-libs/oneVPL-cpu/Manifest b/media-libs/oneVPL-cpu/Manifest index 2208fcb9f814..1977480f15b4 100644 --- a/media-libs/oneVPL-cpu/Manifest +++ b/media-libs/oneVPL-cpu/Manifest @@ -1,2 +1,3 @@ DIST oneVPL-cpu-2023.1.1.tar.gz 9917709 BLAKE2B 2e30f8e8e493b4027089031ea9434dd04e2ca4dc75d56083259077ef6f2b906c4419451592ce7d272af689c9e46f5dafe2a1552564e77a8012eb4881edc6afc2 SHA512 d294268f45dd59ebae43f3845641c39ecdea39055b9b2fb0fa660e7a3c809ba675f52a23a4cfb67b7c6e6dc0ea200aeb43d3313aeb70efa2b5027eec3d25e5f8 DIST oneVPL-cpu-2023.1.2.tar.gz 10130122 BLAKE2B 4f78258071cbcfb3bf5357bce86e4f2c5d6551800a3f98589d130efc106a83dcaa298d621564cd0c362f227759417a0f6bb6037e6caff4a6f8fa8bfc20c0cde0 SHA512 e206589b8f8b57094e7c850ba2de26fa777e1d90985187d49a26753525ce80fc380cff538a6c4fe67db00314252c56afcca35081e9d39f7a80d1e59b1e7617af +DIST oneVPL-cpu-2023.1.3.tar.gz 10138929 BLAKE2B bbbe20e7434abcf713fe43d7c1974bba20864fc8ab9087d5e22f82483500738190aaa7a4204ba68c4bcdb1d11552156df97485da09ef9f1084d7c3c60797b178 SHA512 6b9f4a350c771ad5e509f1d39aee67acc5d6501f62741855d3a13f41c29ee1c06b8d885873db2373a5413a0efc349eceaf915ddc789b5ef7da8bf4dfe21ae0d6 diff --git a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.3.ebuild b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.3.ebuild new file mode 100644 index 000000000000..513675dc8a74 --- /dev/null +++ b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.3.ebuild @@ -0,0 +1,57 @@ +# 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 CPU implementation" +HOMEPAGE="https://github.com/oneapi-src/oneVPL-cpu" +SRC_URI="https://github.com/oneapi-src/oneVPL-cpu/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT x264? ( GPL-2 )" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="experimental openh264 test +x264" +REQUIRED_USE="^^ ( openh264 x264 )" +# RESTRICT="!test? ( test )" +# Tests fail +RESTRICT="test" + +BDEPEND="virtual/pkgconfig" +DEPEND=" + media-libs/dav1d + media-libs/oneVPL[experimental?] + media-libs/svt-av1 + media-libs/svt-hevc + media-video/ffmpeg + x264? ( media-libs/x264 ) + openh264? ( media-libs/openh264 ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-2022.2.5-use-system-libs.patch" + "${FILESDIR}/${PN}-2022.2.5-respect-user-flags.patch" +) + +src_configure() { + # Use system libraries + export VPL_BUILD_DEPENDENCIES="${ESYSROOT}/usr" + local mycmakeargs=( + -DUSE_EXPERIMENTAL_API="$(usex experimental)" + -DBUILD_OPENH264="$(usex openh264)" + -DBUILD_TESTS="$(usex test)" + -DBUILD_GPL_X264="$(usex x264)" + # Use FHS instead + -DUSE_ONEAPI_INSTALL_LAYOUT=NO + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + # Remove these license files + rm -r "${ED}/usr/share/oneVPL-cpu/licensing" || die +}