diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-30 11:00:41 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-30 11:00:41 +0000 |
commit | 18a69c52453e0db481bfa441cf1d9616c97c9928 (patch) | |
tree | 9ea41629c5312d98d2ac8bda976eb877403cd2f7 /media-libs/oneVPL | |
parent | e984f0bb49fed14c51c7c15ed8d7b8bd2cca4b1d (diff) |
gentoo auto-resync : 30:11:2023 - 11:00:41
Diffstat (limited to 'media-libs/oneVPL')
-rw-r--r-- | media-libs/oneVPL/Manifest | 4 | ||||
-rw-r--r-- | media-libs/oneVPL/metadata.xml | 2 | ||||
-rw-r--r-- | media-libs/oneVPL/oneVPL-2023.4.0.ebuild | 82 |
3 files changed, 86 insertions, 2 deletions
diff --git a/media-libs/oneVPL/Manifest b/media-libs/oneVPL/Manifest index 55c6333f56b5..75cb75e75609 100644 --- a/media-libs/oneVPL/Manifest +++ b/media-libs/oneVPL/Manifest @@ -1,3 +1,5 @@ DIST oneVPL-2023.3.1.tar.gz 6322962 BLAKE2B 3e688886d03ee90c27e42204f926bbb4eb7fb0926f1bbb4f8dfdd0427adccda3cb3138dbed5d2fc9ea3aa7af78aadced4a242c16aede27d1f1fe781ecb83e58c SHA512 1e8cc143f33438d3a4e1d65aa57dca4e0ebc1a47741b7a124a273cc609cc4ce789c0e230db3244010f5f1ca54f42cdd2e17d132b2c904af41607a2a0527c38ed +DIST oneVPL-2023.4.0.tar.gz 11592938 BLAKE2B e2f264a4729b6c2dd88cc690d78d4106112cc4957c216f52c1381ff3ff7b994e696c969adb6227422160950e4918f8e24c94346b1290515bcd951f814875876a SHA512 240ebcee8c57699c6fdbaf5939ed059758dc9b7e2bd5631138a07b44e8f3007ebd99e7791e648f9ed2f08336063272ea157d55dfdde32bce8a88d62a1a34b1d7 EBUILD oneVPL-2023.3.1.ebuild 2291 BLAKE2B 7626732399eaa222ca9b8067d5a9e3f00e3e108ee5ee68482090bd9bd17e57cfa8c2b494ad618fd565232a814bf00f231e1b743134cc482a8e3c525b320a6035 SHA512 41eb1ab0d5da32801d3cbc0251131eb928a3f843e4f6f870b23a51cd41db3e57e8dcdecaf04e31221cef40755ba2aa8fa3d3ddcb830bd2374592c5d489e75fa3 -MISC metadata.xml 633 BLAKE2B b53305f7c1127190352b5ba25b43411455eba014b85a2305abe07571c2d95c6e1a60b1f1872895b94b7e6292178966c5b3733d7c8b5b9d1c16925f153d60e00d SHA512 a1dcf8c3fe13311bd81d48c3afd76de850b7fc395ae89e2f5973811525e56e69c12de2c83ce8e25971ab4330ed80ba4794051e5826c271f62b86116bc520d81a +EBUILD oneVPL-2023.4.0.ebuild 2298 BLAKE2B b785babc48fb61f230a47f2d4c7a9f725cbbf1adfb00754cd68857ca1accc53b1fd5560b909b8df3e2e0a8fe497bd4ca98ff3c964fadd45e9dc4406fb79ed919 SHA512 d0532a09dc180a520246e4647040d9513989e478a4187d1774568924acb0e10a685879c72e05cd42f2c697fb8edfb343b43faa68faa29da66ed6c921e7a8f096 +MISC metadata.xml 628 BLAKE2B 6e1cb517bc3732e69840258317fc6c02db8ecf5c7ef9961cdd501a16cd93eece14372976f207d15bf4b89d3afc076ff5f0e073b8710bbf18b45fa108001b4520 SHA512 89108483f9020309cc4ba350c5671fe01abd13fd64d0f6accbe5f049b3b60fc312489b62dd8e9c2eac6b2310907ae61929307beadc8508e0a534003bf18d7a4a diff --git a/media-libs/oneVPL/metadata.xml b/media-libs/oneVPL/metadata.xml index a3315c4abeff..77f4c9b27db9 100644 --- a/media-libs/oneVPL/metadata.xml +++ b/media-libs/oneVPL/metadata.xml @@ -9,7 +9,7 @@ <name>Andrew Ammerlaan</name> </maintainer> <upstream> - <remote-id type="github">oneapi-src/oneVPL</remote-id> + <remote-id type="github">intel/libvpl</remote-id> </upstream> <use> <flag name="drm">Build with DRM support</flag> diff --git a/media-libs/oneVPL/oneVPL-2023.4.0.ebuild b/media-libs/oneVPL/oneVPL-2023.4.0.ebuild new file mode 100644 index 000000000000..a669bf8ca480 --- /dev/null +++ b/media-libs/oneVPL/oneVPL-2023.4.0.ebuild @@ -0,0 +1,82 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib optfeature + +DESCRIPTION="oneAPI Video Processing Library, dispatcher, tools, and examples" +HOMEPAGE="https://github.com/intel/libvpl/" +SRC_URI="https://github.com/intel/libvpl//archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/libvpl-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="dri drm examples experimental tools test vaapi wayland X" +RESTRICT="!test? ( test )" + +REQUIRED_USE=" + dri? ( X drm ) + X? ( vaapi ) + wayland? ( drm ) +" + +RDEPEND=" + x11-libs/libpciaccess[${MULTILIB_USEDEP}] + vaapi? ( media-libs/libva[X?,wayland?,drm(+)?,${MULTILIB_USEDEP}] ) + drm? ( x11-libs/libdrm[${MULTILIB_USEDEP}] ) + wayland? ( + dev-libs/wayland[${MULTILIB_USEDEP}] + ) + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libxcb[${MULTILIB_USEDEP}] + ) +" +DEPEND="${RDEPEND} + wayland? ( + dev-libs/wayland-protocols + ) +" +BDEPEND="virtual/pkgconfig" + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DBUILD_DISPATCHER=ON + # Headers, cmake and pkgconfig files + -DBUILD_DEV=ON + -DBUILD_EXAMPLES="$(usex examples)" + -DINSTALL_EXAMPLE_CODE="$(usex examples)" + -DBUILD_PREVIEW="$(usex experimental)" + -DBUILD_DISPATCHER_ONEVPL_EXPERIMENTAL="$(usex experimental)" + # Fails to build with experimental tools off if tools on + -DBUILD_TOOLS_ONEVPL_EXPERIMENTAL="$(multilib_native_usex tools)" + -DBUILD_TESTS="$(usex test)" + # Tools fails to compile for 32 bit + -DBUILD_TOOLS="$(multilib_native_usex tools)" + -DENABLE_WAYLAND="$(usex wayland)" + -DENABLE_X11="$(usex X)" + -DENABLE_DRI3="$(usex dri)" + -DENABLE_VA="$(usex vaapi)" + -DENABLE_DRM="$(usex drm)" + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc" + ) + cmake_src_configure +} + +multilib_src_install() { + cmake_src_install + # Remove these license files + rm -r "${ED}/usr/share/vpl/licensing" || die +} + +pkg_postinst() { + optfeature_header "This package provides only the dispatcher, to use it install one or more implementations" + optfeature "CPUs" media-libs/oneVPL-cpu + optfeature "Intel GPUs newer then, and including, Intel Xe" media-libs/oneVPL-intel-gpu + optfeature "Intel GPUs older then Intel Xe" media-libs/intel-mediasdk +} |