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-video/libva-utils/
Date: Mon, 10 Oct 2022 04:22:35 +0000 (UTC)	[thread overview]
Message-ID: <1665375687.85cb0bb9b1d6963dc7b2231f363ac6346d0e519d.mattst88@gentoo> (raw)

commit:     85cb0bb9b1d6963dc7b2231f363ac6346d0e519d
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 10 04:21:27 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Oct 10 04:21:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85cb0bb9

media-video/libva-utils: Version bump to 2.16.0

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-video/libva-utils/Manifest                  |  1 +
 media-video/libva-utils/libva-utils-2.16.0.ebuild | 91 +++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/media-video/libva-utils/Manifest b/media-video/libva-utils/Manifest
index e8905bbfec08..893fbad39180 100644
--- a/media-video/libva-utils/Manifest
+++ b/media-video/libva-utils/Manifest
@@ -1,2 +1,3 @@
 DIST libva-utils-2.14.0.tar.gz 1241072 BLAKE2B 17f1e0badb05e39f3979bde652dfe6832e8bfb2accd99fd6c5d972090cfce630e2a93ad96e5d17bc7bd9c393b12c2a7b066cb60a715c2dbb128dd263c480bcca SHA512 631e9becf5b2f6d083906962c004c9080d2e2b2d98b6003638a31dde8ad4e2549606301b97e88822471e29007232fc470a2116be09dc0c55d3cc2df6a45a7be1
 DIST libva-utils-2.15.0.tar.gz 1245559 BLAKE2B 92fe1e7dbd3c953eecb351625213c2b537ad640f61534f3316d3a46070cb3818b4acafbc7a666e24b51d0900cea044074a7a6519f3c4aba6d2a38cf6ed0b2d66 SHA512 90cfa83fb7443fc90558c148c740c9c272796197fba49ff0179af94c40e97c830fc26c534e9a74fa58f597075f9ba68b477aabc784148c14dc09bde07f23cdeb
+DIST libva-utils-2.16.0.tar.gz 1245723 BLAKE2B 3ce3b54f9b8d1e5960fdb7587da9dc4fa9754f3612155e86d99f2f120e31e0e69a40482d7a4571fefc0a8079ba987303cbb433203de9ef6e203e9419b6d91b91 SHA512 d5395c1de4b95f4d0a86621b0338852250a3893b732c6fd69d0622c989bff530461a183c151f322469b1ed7e4815173dbbcf36cc390db9ebbae6fb7d7a90cb9c

diff --git a/media-video/libva-utils/libva-utils-2.16.0.ebuild b/media-video/libva-utils/libva-utils-2.16.0.ebuild
new file mode 100644
index 000000000000..428cc77cbc2d
--- /dev/null
+++ b/media-video/libva-utils/libva-utils-2.16.0.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="Collection of utilities and tests for VA-API"
+HOMEPAGE="https://01.org/linuxmedia/vaapi"
+if [[ ${PV} = *9999 ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/intel/libva-utils"
+else
+	SRC_URI="https://github.com/intel/libva-utils/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="examples putsurface test +vainfo wayland X"
+RESTRICT="test" # Tests must be run manually
+
+REQUIRED_USE="
+	putsurface? ( || ( wayland X ) )
+	|| ( examples putsurface test vainfo )
+"
+
+DEPEND="
+	x11-libs/libdrm
+	wayland? ( >=dev-libs/wayland-1.0.6 )
+	X? ( >=x11-libs/libX11-1.6.2 )
+"
+if [[ ${PV} = *9999 ]] ; then
+	DEPEND+="~x11-libs/libva-${PV}:=[drm(+),wayland?,X?]"
+else
+	DEPEND+=">=x11-libs/libva-$(ver_cut 1-2).0:=[drm(+),wayland?,X?]"
+fi
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	default
+
+	local sed_args=()
+
+	if ! use examples ; then
+		sed_args+=(
+			-e "/^subdir('decode')$/d"
+			-e "/^subdir('encode')$/d"
+			-e "/^subdir('videoprocess')$/d"
+			-e "/^subdir('vendor\/intel')$/d"
+			-e "/^subdir('vendor\/intel\/sfcsample')$/d"
+		)
+	fi
+
+	if ! use putsurface ; then
+		sed_args+=(-e "/^subdir('putsurface')$/d")
+	fi
+
+	if ! use vainfo ; then
+		sed_args+=(-e "/^subdir('vainfo')$/d")
+	fi
+
+	if [[ ${#sed_args[@]} -gt 0 ]] ; then
+		sed "${sed_args[@]}" -i meson.build || die
+	fi
+}
+
+src_configure() {
+	local emesonargs=(
+		-Ddrm=true
+		$(meson_use X x11)
+		$(meson_use wayland)
+		$(meson_use test tests)
+	)
+	meson_src_configure
+}
+
+src_install() {
+	meson_src_install
+
+	if ! use test ; then
+		rm -f "${ED}"/usr/bin/test_va_api || die
+	fi
+}
+
+pkg_postinst() {
+	if use test ; then
+		elog "Tests must be run manually with the test_va_api binary"
+	fi
+}


             reply	other threads:[~2022-10-10  4:22 UTC|newest]

Thread overview: 99+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-10  4:22 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-21 22:41 [gentoo-commits] repo/gentoo:master commit in: media-video/libva-utils/ Matt Turner
2024-09-13  4:13 Sam James
2024-09-05  0:06 Sam James
2024-09-01 10:37 Jakov Smolić
2024-09-01  2:51 Sam James
2024-07-19 17:15 Matt Turner
2024-07-11 15:41 Matt Turner
2024-04-29 17:29 Sam James
2024-04-29 17:29 Sam James
2024-04-29 17:29 Sam James
2024-04-29 17:29 Sam James
2024-03-27 15:55 Matt Turner
2024-02-17 14:48 Sam James
2024-02-14  0:27 Sam James
2024-02-14  0:27 Sam James
2024-02-14  0:27 Sam James
2024-01-04 12:36 WANG Xuerui
2024-01-04 12:36 WANG Xuerui
2023-12-20 20:23 Matt Turner
2023-11-25 17:07 Matt Turner
2023-11-04 10:19 Sam James
2023-11-04 10:19 Sam James
2023-11-04 10:19 Sam James
2023-11-04 10:19 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-14 13:25 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-21 14:12 Matt Turner
2023-03-29 21:51 Matt Turner
2023-03-29 21:51 Matt Turner
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-02 22:12 Matt Turner
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
2022-09-09  7:36 Agostino Sarubbo
2022-09-08 18:40 Jakov Smolić
2022-09-08 18:40 Jakov Smolić
2022-07-04  2:41 Matt Turner
2022-07-04  2:41 Matt Turner
2022-05-09 10:25 Jakov Smolić
2022-05-09  9:58 Jakov Smolić
2022-05-09  8:01 Jakov Smolić
2022-05-09  8:01 Jakov Smolić
2022-03-17  4:28 Matt Turner
2022-03-17  4:28 Matt Turner
2021-12-29 17:27 Matt Turner
2021-12-17 21:56 Georgy Yakovlev
2021-11-26  6:34 Sam James
2021-11-25 20:07 Sam James
2021-11-25 20:07 Sam James
2021-10-20  1:14 Sam James
2021-10-20  1:14 Sam James
2021-08-27  5:12 Agostino Sarubbo
2021-08-27  5:10 Agostino Sarubbo
2021-08-26 22:52 Sam James
2021-06-29  4:40 Sam James
2021-05-16 18:33 Georgy Yakovlev
2021-02-12 15:10 Sam James
2021-01-14 20:11 Sam James
2021-01-11 18:55 Sam James
2021-01-04 16:59 Sam James
2021-01-04 16:59 Sam James
2020-12-04 14:24 Mikle Kolyada
2020-10-23 10:51 Alexis Ballier
2020-07-13  7:36 Lars Wendler
2020-01-22  5:41 Georgy Yakovlev
2020-01-22  5:41 Georgy Yakovlev
2019-09-13 17:19 Matt Turner
2019-08-13 10:53 Agostino Sarubbo
2019-08-13  9:17 Agostino Sarubbo
2019-08-13  0:36 Aaron Bauman
2019-02-21 16:06 Andreas Sturmlechner
2019-02-21 16:06 Andreas Sturmlechner
2019-02-21 16:06 Andreas Sturmlechner
2018-07-17  7:20 Alexis Ballier
2018-02-26  5:49 Mart Raudsepp
2018-02-15  5:52 Alexis Ballier
2018-02-15  5:52 Alexis Ballier
2018-02-15  5:52 Alexis Ballier
2017-12-18 22:39 Craig Andrews
2017-12-16  5:42 Craig Andrews
2017-06-29 20:28 Alexis Ballier
2017-06-23  5:58 Alexis Ballier
2017-05-24 11:08 Alexis Ballier
2017-04-11  4:42 Alexis Ballier
2017-04-03  7:38 Alexis Ballier

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=1665375687.85cb0bb9b1d6963dc7b2231f363ac6346d0e519d.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