commit: b00f05adc68aa3296c6911d0c59e4828724d5c9d Author: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> AuthorDate: Mon May 19 14:08:29 2025 +0000 Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> CommitDate: Mon May 19 14:09:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b00f05ad
media-libs/libvpl: add 2.15.0 Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org> media-libs/libvpl/Manifest | 1 + media-libs/libvpl/libvpl-2.15.0.ebuild | 53 ++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/media-libs/libvpl/Manifest b/media-libs/libvpl/Manifest index d595022821a5..ff26fc8164d5 100644 --- a/media-libs/libvpl/Manifest +++ b/media-libs/libvpl/Manifest @@ -1,2 +1,3 @@ DIST libvpl-2.13.0.tar.gz 12952887 BLAKE2B e90bb3a99127b07dc29c9bf8ea2411f4b360344e11050c1e5821840eed9a54c0d73d88aabf425dbda7313b95e416f5323ee535b9c5e5f11d76c4e0465e1ca16e SHA512 22b9f409a9b8ed551847e1b5a94d0c48502b5fbf68ec28021ba36d3f851ef83896205977e6b7f52c102f747a8fbc793424181ecd7edaf6058a39dc15b78d19cd DIST libvpl-2.14.0.tar.gz 12958172 BLAKE2B 2aa47e076da70969233a47e79a3c92bb1c406221f8cf335f55745f7b3a25ea688d6a07d413a80afbab67d8576b7480472a319acdff452bec9a62ef67103f589f SHA512 7557f4054b84ba4425e6a50c4abd24594ef7c9a21c27137a971987634cdf5ed54e82c76d92b6740f3183a49b92edb6a5848f584c619bd30b2fbd821706bba1e4 +DIST libvpl-2.15.0.tar.gz 12969762 BLAKE2B e60f97e42fbd90f1f78cfe1219e632f4dd9bcbf5889be968c5d6107bd3a4b1b258fa494dfa2f3fe606a99ff70fabd3537311e8a6ebda1f2b49b585f0d87e4ea0 SHA512 daf7c3d5722515ed2346e252b39f117c0c3f24f6c80ab3492bd7107b2207c49c0d2247cc2d043298f43045884247024a109c698751fcbd88eb5ab54a4122c26d diff --git a/media-libs/libvpl/libvpl-2.15.0.ebuild b/media-libs/libvpl/libvpl-2.15.0.ebuild new file mode 100644 index 000000000000..f8a99014b643 --- /dev/null +++ b/media-libs/libvpl/libvpl-2.15.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib optfeature flag-o-matic + +DESCRIPTION="Intel Video Processing Library dispatcher" +HOMEPAGE="https://github.com/intel/libvpl" +SRC_URI="https://github.com/intel/libvpl/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/2" +KEYWORDS="~amd64" + +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + x11-libs/libpciaccess[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-2.13.0_do-not-fortify-source.patch ) + +src_prepare() { + filter-lto + cmake_src_prepare +} + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DBUILD_TESTS="$(usex test)" + -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/vpl-gpu-rt + optfeature "Intel GPUs older then Intel Xe" media-libs/intel-mediasdk +}
