commit:     b24e7c9441f3a0462eb172103885ea8ea884acfb
Author:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  9 15:42:02 2026 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Mon Feb  9 17:16:49 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b24e7c94

media-libs/libvpl: add 2.16.0

Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 media-libs/libvpl/Manifest             |  1 +
 media-libs/libvpl/libvpl-2.16.0.ebuild | 53 ++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/media-libs/libvpl/Manifest b/media-libs/libvpl/Manifest
index 21b9126e7d9e..fab5b8167f39 100644
--- a/media-libs/libvpl/Manifest
+++ b/media-libs/libvpl/Manifest
@@ -1,2 +1,3 @@
 DIST libvpl-2.14.0.tar.gz 12958172 BLAKE2B 
2aa47e076da70969233a47e79a3c92bb1c406221f8cf335f55745f7b3a25ea688d6a07d413a80afbab67d8576b7480472a319acdff452bec9a62ef67103f589f
 SHA512 
7557f4054b84ba4425e6a50c4abd24594ef7c9a21c27137a971987634cdf5ed54e82c76d92b6740f3183a49b92edb6a5848f584c619bd30b2fbd821706bba1e4
 DIST libvpl-2.15.0.tar.gz 12969762 BLAKE2B 
e60f97e42fbd90f1f78cfe1219e632f4dd9bcbf5889be968c5d6107bd3a4b1b258fa494dfa2f3fe606a99ff70fabd3537311e8a6ebda1f2b49b585f0d87e4ea0
 SHA512 
daf7c3d5722515ed2346e252b39f117c0c3f24f6c80ab3492bd7107b2207c49c0d2247cc2d043298f43045884247024a109c698751fcbd88eb5ab54a4122c26d
+DIST libvpl-2.16.0.tar.gz 12968334 BLAKE2B 
fcbd1e702a767f1ec3083ae9350f599355c902e6fa224b72771b472e6f5351dc78f364cda2f8eb408f351d7abdd24ddb0ff78864aed9b45a61cc0f00ab3c9f4d
 SHA512 
bda6e8387f1e86eee86357a967ae58d9e87e2cada50317913ee8452e116220c5837643ea62c0b04baf9783daeca76d12ca63a34ce6acd6fb3ea2511bb47696bc

diff --git a/media-libs/libvpl/libvpl-2.16.0.ebuild 
b/media-libs/libvpl/libvpl-2.16.0.ebuild
new file mode 100644
index 000000000000..790c6ebae7c7
--- /dev/null
+++ b/media-libs/libvpl/libvpl-2.16.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2022-2026 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
+}

Reply via email to