From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 487E0158041 for ; Wed, 27 Mar 2024 15:55:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5051CE29FB; Wed, 27 Mar 2024 15:55:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 30D4EE29FB for ; Wed, 27 Mar 2024 15:55:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66093335C36 for ; Wed, 27 Mar 2024 15:55:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 836C015B8 for ; Wed, 27 Mar 2024 15:55:09 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1711554905.eb0257b1eae46f10c3e67cede7c1d90c8ecb7a08.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libva/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libva/Manifest media-libs/libva/libva-2.21.0.ebuild X-VCS-Directories: media-libs/libva/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: eb0257b1eae46f10c3e67cede7c1d90c8ecb7a08 X-VCS-Branch: master Date: Wed, 27 Mar 2024 15:55:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b7c1fe4b-bd77-48dd-9da8-67f2c607e5b3 X-Archives-Hash: b66788b74f9c4ecb9ac2b4750cdaf76a commit: eb0257b1eae46f10c3e67cede7c1d90c8ecb7a08 Author: Konstantin Fedotov gmail com> AuthorDate: Fri Mar 15 23:29:04 2024 +0000 Commit: Matt Turner gentoo org> CommitDate: Wed Mar 27 15:55:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb0257b1 media-libs/libva: add 2.21.0 Signed-off-by: Konstantin Fedotov gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35776 Signed-off-by: Matt Turner gentoo.org> media-libs/libva/Manifest | 1 + media-libs/libva/libva-2.21.0.ebuild | 67 ++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/media-libs/libva/Manifest b/media-libs/libva/Manifest index 13feecbbf8ea..9e846cbb2b19 100644 --- a/media-libs/libva/Manifest +++ b/media-libs/libva/Manifest @@ -1 +1,2 @@ DIST libva-2.20.0.tar.gz 280079 BLAKE2B bb1b7f8757d068765fa69e57e8747e0bbd61ea0874bd42d27e0a99786cad2a4a81d7c20a28ff977cebcef54cd8cafa6c0493c18b563ad1ab47a9c3190d0cd1c6 SHA512 85f4aa6b6e9173d407ca3987745f985d0f898091f14c947a928b6db662a03b5cfe82483901690d81618697fe17a2c41ff6694a611f3654d5ab06840da987e40d +DIST libva-2.21.0.tar.gz 281515 BLAKE2B bd430162b07987d8982d8f81296e94623efea68624f34b7e159ebefeb37a2b062f2c0d809e16e76c172d6c2df11b59691174fb9a1d65d0938949ac2a025b746c SHA512 93654bb892e0e269d7682a1344fe6f7298432d1f2b347396c63aa1bd84ac0f707af34950a93098fe86a9bc8986fc9f97f75f0f15d8495ffd2caf8cf0eed9612c diff --git a/media-libs/libva/libva-2.21.0.ebuild b/media-libs/libva/libva-2.21.0.ebuild new file mode 100644 index 000000000000..009f40c00c1c --- /dev/null +++ b/media-libs/libva/libva-2.21.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 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} + X? ( x11-base/xorg-proto ) +" +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 +}