summaryrefslogtreecommitdiff
path: root/media-libs/libva
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-09 18:06:43 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-09 18:06:43 +0100
commit4e4ee9865a958b6a854f9bca96637244c628d525 (patch)
tree824d75c3a55f71fc978cdd1fca5cb03ff439e59c /media-libs/libva
parentc65def1225a421dd57ac582acefc5987c9d67e0d (diff)
gentoo auto-resync : 09:10:2023 - 18:06:43
Diffstat (limited to 'media-libs/libva')
-rw-r--r--media-libs/libva/Manifest2
-rw-r--r--media-libs/libva/libva-2.20.0.ebuild64
2 files changed, 66 insertions, 0 deletions
diff --git a/media-libs/libva/Manifest b/media-libs/libva/Manifest
index b75089164848..97ac23c33b44 100644
--- a/media-libs/libva/Manifest
+++ b/media-libs/libva/Manifest
@@ -1,6 +1,8 @@
DIST libva-2.18.0.tar.gz 278493 BLAKE2B 619a1dcb9aaa71b38ec7be500adf6b526f50ae20fa76d1c5ac750229e03a2d5b82dabe334cf07c0f539c1b079829f2ec000ce6570e05e6e18fbf7415c5d5b9b3 SHA512 12e8d837604d2f354d849a8adc84281ae1ecfd2433f1b7dc8e28b5d703ada42b4a84b2b3870e8d2397b77d0d9741afe3bc04d25b4426531805aeb72defaac7ad
DIST libva-2.19.0.tar.gz 279536 BLAKE2B 85b60819b2a02aeb895c0608aa56d3d31f2c1c9db960ec9688b2af177cafad3b37e4f23f9ab9c952b7dd107233be57406f71edbcc5d7a5bbc3f5a6afece80c39 SHA512 04976f84487abac1a194a7ace9f698bb01eed04369e027351f63e07ced8694dbbe45511965e7775a6d8a701d6ad61fe6d57a23ee8c9b0d99089d5108657d018c
+DIST libva-2.20.0.tar.gz 280079 BLAKE2B bb1b7f8757d068765fa69e57e8747e0bbd61ea0874bd42d27e0a99786cad2a4a81d7c20a28ff977cebcef54cd8cafa6c0493c18b563ad1ab47a9c3190d0cd1c6 SHA512 85f4aa6b6e9173d407ca3987745f985d0f898091f14c947a928b6db662a03b5cfe82483901690d81618697fe17a2c41ff6694a611f3654d5ab06840da987e40d
EBUILD libva-2.18.0-r1.ebuild 1540 BLAKE2B 2474e8646794f2a9110e9a696e9eb87dbfe65a36e12f0fbf567781ce2d3125b96505cbe3a76e6408a0743244a098244b4a06283ced8923b480cd75e98defea99 SHA512 ed47e9788a734564415aa57ba860d22249f474faf053c47537f9346d824ec4b497d27082b1494745a4ee1ec849751c093ccbefea9dd397fbcd1794c487686f08
EBUILD libva-2.19.0.ebuild 1545 BLAKE2B 6fdf54255522daed04b98f8197fab60de24d5135033a2bf06e4a1e51216475c44629297bce8dcbca8c5ef28ad59002f861a3f42ce581f2ebef80980ffff4f81c SHA512 e0184e6812ce5255b3260215c3d168d4a9e1978c3b8ec6e10cbbb9c15695996475f97825fead54c622e0cff98989f46bc4b1aba0d07d0f9f03f1c357444496ed
+EBUILD libva-2.20.0.ebuild 1545 BLAKE2B 6fdf54255522daed04b98f8197fab60de24d5135033a2bf06e4a1e51216475c44629297bce8dcbca8c5ef28ad59002f861a3f42ce581f2ebef80980ffff4f81c SHA512 e0184e6812ce5255b3260215c3d168d4a9e1978c3b8ec6e10cbbb9c15695996475f97825fead54c622e0cff98989f46bc4b1aba0d07d0f9f03f1c357444496ed
EBUILD libva-9999.ebuild 1544 BLAKE2B 3b5b3112bafca3f8e6efdf15f214135cb7e8d4ebc0a64040bcd6ab39a4f40fbd4df03af84101f25280780768512706a25568361187c9c3684332211b36b54a8f SHA512 cbb0614ff00b592a4ca71561acab24d5c1053bab5ed7a8c75353a0b1e3182c589035019536254dd44bc2377b841bd77fb2fcd45d2e9dbe4e7951e8cc5c4740f7
MISC metadata.xml 332 BLAKE2B ee8f4e2f059c3b81126ce55575cfb267c783c37e84bfd39b4564b5f0615da7d6d7efda0bd1fe3c547aa81ff3a6de056bf2555d5049d15bc33aab16c0e2a7271d SHA512 dfa43788c2b4701dde7eacecacdd4a372b192fb98ba8d471a5226eb15b20acb89e564358aa75a1673956005ed904b9e34135ff77d230b1bee95731d61198aef0
diff --git a/media-libs/libva/libva-2.20.0.ebuild b/media-libs/libva/libva-2.20.0.ebuild
new file mode 100644
index 000000000000..4f264beeabed
--- /dev/null
+++ b/media-libs/libva/libva-2.20.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib optfeature
+
+DESCRIPTION="Video Acceleration (VA) API for Linux"
+HOMEPAGE="https://01.org/linuxmedia/vaapi"
+
+if [[ ${PV} = *9999 ]] ; then
+ inherit git-r3
+ EGIT_BRANCH=master
+ EGIT_REPO_URI="https://github.com/intel/libva"
+else
+ SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1)"
+IUSE="wayland X"
+
+RDEPEND="
+ >=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]
+ wayland? (
+ >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
+ )
+ X? (
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
+ x11-libs/libxcb:=[${MULTILIB_USEDEP}]
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ wayland? ( dev-util/wayland-scanner )
+ virtual/pkgconfig
+"
+
+MULTILIB_WRAPPED_HEADERS=(
+ /usr/include/va/va_x11.h
+ /usr/include/va/va_dri2.h
+ /usr/include/va/va_dricommon.h
+)
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Ddriverdir="${EPREFIX}/usr/$(get_libdir)/va/drivers"
+ -Ddisable_drm=false
+ -Dwith_x11=$(usex X)
+ -Dwith_glx=no
+ -Dwith_wayland=$(usex wayland)
+ -Denable_docs=false
+ )
+ meson_src_configure
+}
+
+pkg_postinst() {
+ optfeature_header
+ optfeature "Older Intel GPU support up to Gen8" media-libs/libva-intel-driver
+ optfeature "Newer Intel GPU support from Gen9+" media-libs/libva-intel-media-driver
+}