public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libva/
Date: Wed, 27 Mar 2024 15:55:09 +0000 (UTC)	[thread overview]
Message-ID: <1711554905.eb0257b1eae46f10c3e67cede7c1d90c8ecb7a08.mattst88@gentoo> (raw)

commit:     eb0257b1eae46f10c3e67cede7c1d90c8ecb7a08
Author:     Konstantin Fedotov <zenflak <AT> gmail <DOT> com>
AuthorDate: Fri Mar 15 23:29:04 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> 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 <zenflak <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35776
Signed-off-by: Matt Turner <mattst88 <AT> 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
+}


             reply	other threads:[~2024-03-27 15:55 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-27 15:55 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-11  1:38 [gentoo-commits] repo/gentoo:master commit in: media-libs/libva/ Matt Turner
2024-09-12 13:45 Sam James
2024-09-02  7:29 Arthur Zamarin
2024-09-01  8:36 Jakov Smolić
2024-09-01  2:18 Sam James
2024-07-19 17:15 Matt Turner
2024-06-17 23:37 Sam James
2024-04-29 16:45 Sam James
2024-04-29 16:45 Sam James
2024-04-29 16:45 Sam James
2024-04-29 16:45 Sam James
2024-01-09  3:27 Sam James
2023-11-25 17:07 Matt Turner
2023-11-04  9:06 Sam James
2023-11-03 23:58 Sam James
2023-11-03 23:34 Sam James
2023-11-03 23:34 Sam James
2023-10-09 16:18 Matt Turner
2023-08-01 16:14 Sam James
2023-07-15 16:01 Matt Turner
2023-05-22 14:07 Matt Turner
2023-05-12 22:27 Sam James
2023-05-12 22:27 Sam James
2023-05-12 22:27 Sam James
2023-05-12 22:27 Sam James
2023-04-17  1:25 Matt Turner
2023-03-29 21:51 Matt Turner
2023-03-21 20:56 Andrew Ammerlaan
2023-03-21 20:56 Andrew Ammerlaan
2023-03-17 11:35 Arthur Zamarin
2023-03-17  6:40 Arthur Zamarin
2023-03-17  3:45 Sam James
2023-03-17  3:45 Sam James
2023-02-26 18:16 Arthur Zamarin
2023-02-04 22:12 Conrad Kostecki
2023-02-02 22:23 Matt Turner
2023-02-02 22:14 Matt Turner
2023-02-02 22:12 Matt Turner
2022-12-30 23:39 Conrad Kostecki
2022-11-12 15:01 Arthur Zamarin
2022-11-11  4:25 Sam James
2022-11-11  3:50 Sam James
2022-10-19  0:27 Georgy Yakovlev
2022-10-16  3:02 Matt Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1711554905.eb0257b1eae46f10c3e67cede7c1d90c8ecb7a08.mattst88@gentoo \
    --to=mattst88@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox