Install this version:
emerge -a =media-libs/libvpl-2.17.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.17.0 | 8 | amd64 | 0/2 |
# 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="examples 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"
-DINSTALL_EXAMPLES="$(usex examples)"
)
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
}
Manage flags for this package:
euse -i <flag> -p media-libs/libvpl |
euse -E <flag> -p media-libs/libvpl |
euse -D <flag> -p media-libs/libvpl
x11-libs/libpciaccess[]
x11-libs/libpciaccess[]
virtual/pkgconfig
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | libvpl-2.17.0.tar.gz | 12974961 bytes | https://github.com/intel/libvpl/archive/refs/tags/v2.17.0.tar.gz |