Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-07-05 12:03:57 +00:00
6 changed files with 55 additions and 93 deletions
+1 -1
View File
@@ -1 +1 @@
DIST libvpl-tools-1.0.0.tar.gz 1280283 BLAKE2B 67e2d0339893751a572c133ef34bbde05a254de1d460da3226088608e85aa253c585fe00d3edca05d629d65d0ddb8617c85e0cb87ff25b2cb56d85717834e959 SHA512 d4225eadbed4993a80461119db1175f196b271086d79be5312e74ac7c8d1395c9ba13149145d979441cd6958ef80c7a1755c37374091fa7b7ce7581df570ffb1
DIST libvpl-tools-1.1.0.tar.gz 1282378 BLAKE2B 4565c5f4c3c7128a925882877f432ac4618ea8d3df05ec308cb6d6b0201fd94953597ce42f1e90dec73ad02612c74afa9deea1a68116436f78204f92ecfeb1e8 SHA512 2aa1e8bca981018bfd09a1500062f468364e7dac51c8643c08103ad3adf791e67b718bec01388143f95e2b1d47eac0cab8a31100574124fae825e8272d4fc87e
@@ -25,7 +25,7 @@ REQUIRED_USE="
"
RDEPEND="
drm? ( x11-libs/libdrm )
drm? ( x11-libs/libdrm[video_cards_intel] )
opencl? ( virtual/opencl )
vaapi? ( media-libs/libva[X?,wayland?,drm(+)?] )
wayland? (
@@ -36,7 +36,7 @@ RDEPEND="
x11-libs/libxcb
)
x11-libs/libpciaccess
>=media-libs/libvpl-2.11.0
>=media-libs/libvpl-2.11.0:=
"
DEPEND="${RDEPEND}
+1 -1
View File
@@ -1,2 +1,2 @@
DIST libvpl-2.10.2.tar.gz 11872075 BLAKE2B 6d9b6ba66b1e1c191a309ff26ec54a5bb62fa542ca9eab042a437eca9a82cf9d7e3056247a8110b49e28388bdbd8e4c0793dda8dd84d229937524faa96b10f37 SHA512 e4f6e1656371a8edb54a3a67726439d97dd5e8225fa37fdfc309602dd83c51e4a2b4e72bdb18b81dc6691f666a8857b460c45392cf030a8309abd368037be49d
DIST libvpl-2.11.0.tar.gz 11372299 BLAKE2B b9e95505468d8771ba9fa29c3024db2f3d2ad78d2be62c7b405c8cfd29cd5601ee10445de4ffb42c27c412760192c7505b6fb94391dddadf5118d5c785b8df74 SHA512 9b6be42fbf6c8ac48b6f04607b6c6acea7ba0ef8434b323cb1d307ac4e917144351ae9f64d2f8c5f9a5668b8623557e231b0aaf0d579cc9718c6113c37f81804
DIST libvpl-2.12.0.tar.gz 11398775 BLAKE2B e1f0a59f7261dae399eae39318b0c9c9fc671a013c4b7442af34025dce981112f6d254e39f1de432e4f4f155d00148ec9c89652e05734e1ba9cfd6e14f54d4c0 SHA512 4a9f0272684c896ca8a11c316fe05f7ea60c0cd402b0b474a90523f5aca1a16cffac84d89758c27d837ca6e7ac68b82d6aec028ee7aa237626a2194709f48782
-84
View File
@@ -1,84 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake-multilib optfeature
DESCRIPTION="Intel 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/2"
KEYWORDS="~amd64"
IUSE="dri drm examples experimental tools test vaapi wayland X"
RESTRICT="!test? ( test )"
REQUIRED_USE="
dri? ( X drm )
X? ( vaapi )
wayland? ( drm )
tools? ( vaapi )
"
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)"
-DTOOLS_ENABLE_X11="$(multilib_native_usex tools $(usex X))"
-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
}
+51
View File
@@ -0,0 +1,51 @@
# Copyright 2022-2024 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"
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/oneVPL-intel-gpu
optfeature "Intel GPUs older then Intel Xe" media-libs/intel-mediasdk
}
-5
View File
@@ -11,9 +11,4 @@
<upstream>
<remote-id type="github">intel/libvpl</remote-id>
</upstream>
<use>
<flag name="drm">Build with DRM support</flag>
<flag name="experimental">Build dispatcher with experimental APIs</flag>
<flag name="tools">Build decode/encode/analyse/inspect tools</flag>
</use>
</pkgmetadata>