summaryrefslogtreecommitdiff
path: root/media-libs/oneVPL-cpu
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-03 20:27:24 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-03 20:27:24 +0000
commit27e5574c9ed56a2633e25f7fa8f591554266a1b4 (patch)
treeeafae39b8faa55ceb7cc8100d5d03a2dfc9b7842 /media-libs/oneVPL-cpu
parent5aede38e7304fc5c3bd8a2034b25758b15a19fa0 (diff)
gentoo auto-resync : 03:01:2023 - 20:27:24
Diffstat (limited to 'media-libs/oneVPL-cpu')
-rw-r--r--media-libs/oneVPL-cpu/Manifest2
-rw-r--r--media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.1.ebuild57
2 files changed, 59 insertions, 0 deletions
diff --git a/media-libs/oneVPL-cpu/Manifest b/media-libs/oneVPL-cpu/Manifest
index 3ab9f22ee9c0..9b0083767acd 100644
--- a/media-libs/oneVPL-cpu/Manifest
+++ b/media-libs/oneVPL-cpu/Manifest
@@ -1,5 +1,7 @@
AUX oneVPL-cpu-2022.2.5-respect-user-flags.patch 416 BLAKE2B c0ba2a7d75ab2d4ce93a472df09529536a141ff30563f0c6cc618a02d2766a1a88b5c3ab21fc6d02a4da6007e1b0c45df8b3c7bd206d2494200b8a835654315f SHA512 e5e7d762db4b45e84832cbee5f8e3e37e986bb0f73c07e792373c254e172fed0eb320ec58c3873aec071a51617682b0f4e2c299f701112094fec56ee74356986
AUX oneVPL-cpu-2022.2.5-use-system-libs.patch 1884 BLAKE2B c13fecb58e2692ae53c531fe3ca4199a381f170712777d2df9f5ddd334481238f48666636dced8d39213187d9e162915b62c641d9015afe1a8326fcdcb724c88 SHA512 bffcfcc4b17145d1b1f0b608b1451d8438a77254c389ed4542c0b457b6064ad85b646605ac9cd2c176d9480aa1136412a728b172e8d2c642f8aae77ff9d18703
DIST oneVPL-cpu-2022.2.5.tar.gz 9917180 BLAKE2B 8e0beebc226a0984474ca6822769736c78e80959bd2df9fd4a34014a31e3439cd42b9a104dfefaa70043df03834246c973e1ba29cea3a9af94a48c2b1d08edcc SHA512 e79b0f396bfcdb7156f8ec5b3008ddd813a0a01ade8e319f78afd3c9d862b111531c42a65ba19ea396b51d3e298608da271894867297dc95f51e4bcc19e9029e
+DIST oneVPL-cpu-2023.1.1.tar.gz 9917709 BLAKE2B 2e30f8e8e493b4027089031ea9434dd04e2ca4dc75d56083259077ef6f2b906c4419451592ce7d272af689c9e46f5dafe2a1552564e77a8012eb4881edc6afc2 SHA512 d294268f45dd59ebae43f3845641c39ecdea39055b9b2fb0fa660e7a3c809ba675f52a23a4cfb67b7c6e6dc0ea200aeb43d3313aeb70efa2b5027eec3d25e5f8
EBUILD oneVPL-cpu-2022.2.5.ebuild 1350 BLAKE2B 39d7b66b53cd7f0c6a02a7f6626131adf78a176fbb270fdfd45853c99cf42655ac383feb4039d658d6ba8ff7601f0843ccac547d7116fa1e53ba98f9f05153ea SHA512 6d32c0ef1a0e77d75cc65a24c418b963be6daa2009aae32e6de92e579e81e7db302edf1ef811a0d5eea5b5474a78486b1df8d0be0aaddd812b0b36328194d45e
+EBUILD oneVPL-cpu-2023.1.1.ebuild 1355 BLAKE2B 5722d49b8a2cc4a81e9349b072605149efa1cc90cd20d73315094920f8ab504f15cf443835e872015b6e23249b6dd686110d498ca97136b25e1da2190a91d53a SHA512 4969d207a4e58b03e3fcec68b828a5bcbeb1c7618889db3682272eeb3f1e682574257214b016efe1b1e9c314519a1ee41469e26f3dc0340ae373b1d1856104c7
MISC metadata.xml 606 BLAKE2B 470321a75d274c50d7480359081d67f9a4614549af06d0172f8211815d1d70edf73fd17ab576802294c375b7ddfff1849b63647894c7dca971e3b429236501cb SHA512 3e43d49860ee353cd16b6070ff358d3bef7ab404c55bd57f22e49e6aebf3b245930554884ecc490690512c92914fe04d40b35dbb6b339f46b5314d9e3545a92f
diff --git a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.1.ebuild b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.1.ebuild
new file mode 100644
index 000000000000..513675dc8a74
--- /dev/null
+++ b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.1.1.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
+}