public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/
Date: Sat, 30 Oct 2021 21:24:21 +0000 (UTC)	[thread overview]
Message-ID: <1635628231.a7e2be1faba302a3e02bd9fc8226a22ad79e950c.conikost@gentoo> (raw)

commit:     a7e2be1faba302a3e02bd9fc8226a22ad79e950c
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 30 21:10:31 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Oct 30 21:10:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e2be1f

x11-libs/libva-intel-media-driver: bump to version 21.4.0

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 x11-libs/libva-intel-media-driver/Manifest         |  1 +
 .../libva-intel-media-driver-21.4.0.ebuild         | 64 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/x11-libs/libva-intel-media-driver/Manifest b/x11-libs/libva-intel-media-driver/Manifest
index 0aa8033099d..42890e41964 100644
--- a/x11-libs/libva-intel-media-driver/Manifest
+++ b/x11-libs/libva-intel-media-driver/Manifest
@@ -8,3 +8,4 @@ DIST intel-media-21.2.3.tar.gz 23025524 BLAKE2B 0652563f8e8494c9fa181822a7af348c
 DIST intel-media-21.3.2.tar.gz 23069924 BLAKE2B cb7035698bc19eb65f0cf338e7fb0e11a379a27c243566b6f884d63897da10e2ded39523fcc81131f41885508d1413e7960e38cf9cf2d129d7a6a3994fa9b384 SHA512 27a1849ed2f2367e5de63189faa6e14a1a23f6708c45392f661fab819f856bb4a3d0d31754213b084c4f05be3b155b0a80c2f4e330c79879597910f77e3f1597
 DIST intel-media-21.3.3.tar.gz 23092541 BLAKE2B 083cc368095bbc9cf333953855ad94d7a8d633337b967f4f93d94e3c8e23bbcdadad19c1b1032cafc671ae9a9df9be547498ebe84426ad9d91a9e82557095eb8 SHA512 a9da8a627420c5ea0de9413ce0aeb471f40a0886abd67380ead7ffba32de4abbc1741c47cfcfc73d42b14456090266f4dad8d363c8ad590cef521ef48e42f692
 DIST intel-media-21.3.5.tar.gz 23110985 BLAKE2B 1dbbc1efa9ae2c8f3b4a34596c71173101f8a43591bf9e07d269a8499b7a57969d9af5c1d4ffb7774a6947947e572b441f871760d3ca695335bfa2976ac2cf6f SHA512 e7836b19050677e81aa34ce5d7cea661ca3b5ac55d73d5aa0bab93f1daba8ee010d84b1c585f62fcec65a4361ef2b7f14ed574858f56b85b4c4d59840ecb6cb6
+DIST intel-media-21.4.0.tar.gz 23116624 BLAKE2B d913e379c4990bd0f5a5d07654baeb374d3b4f7adbe607338a96ac6555631560005d6124fb0124bafe5e94107b54acdfd0fbcfdabc820210b453ebb61c828c36 SHA512 e338e645677d90d4c2e91d5096a9002b87cec602ec354283b67e4ee31fcd6a2454918c4e179b86189126d30742ab2814bc8400072fb1d06638c3bc0bf66385e4

diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0.ebuild
new file mode 100644
index 00000000000..15ca5a26b62
--- /dev/null
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+if [[ ${PV} == *9999 ]] ; then
+	: ${EGIT_REPO_URI:="https://github.com/intel/media-driver"}
+	if [[ ${PV%9999} != "" ]] ; then
+		: ${EGIT_BRANCH:="release/${PV%.9999}"}
+	fi
+	inherit git-r3
+else
+	MY_PV="${PV%_pre}"
+	SRC_URI="https://github.com/intel/media-driver/archive/intel-media-${MY_PV}.tar.gz"
+	S="${WORKDIR}/media-driver-intel-media-${MY_PV}"
+	if [[ ${PV} != *_pre* ]] ; then
+		KEYWORDS="~amd64"
+	fi
+fi
+
+DESCRIPTION="Intel Media Driver for VAAPI (iHD)"
+HOMEPAGE="https://github.com/intel/media-driver"
+
+LICENSE="MIT BSD"
+SLOT="0"
+IUSE="+custom-cflags set-as-default test X"
+
+RESTRICT="!test? ( test )"
+
+DEPEND=">=media-libs/gmmlib-21.3.1
+	>=x11-libs/libva-2.13.0[X?]
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-20.2.0_x11_optional.patch
+	"${FILESDIR}"/${PN}-21.2.2_custom_cflags.patch
+	"${FILESDIR}"/${PN}-20.4.5_testing_in_src_test.patch
+)
+
+src_configure() {
+	local mycmakeargs=(
+		-DMEDIA_BUILD_FATAL_WARNINGS=OFF
+		-DMEDIA_RUN_TEST_SUITE=$(usex test)
+		-DBUILD_TYPE=Release
+		-DPLATFORM=linux
+		-DUSE_X11=$(usex X)
+		-DLATEST_CPP_NEEDED=ON # Seems to be the best option for now
+		-DOVERRIDE_COMPILER_FLAGS=$(usex !custom-cflags)
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	if use set-as-default ; then
+		echo 'LIBVA_DRIVER_NAME="iHD"' > "${T}/55libva-intel-media-driver" || die
+		doenvd "${T}/55libva-intel-media-driver"
+	fi
+}


             reply	other threads:[~2021-10-30 21:24 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-30 21:24 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-16  3:02 [gentoo-commits] repo/gentoo:master commit in: x11-libs/libva-intel-media-driver/ Matt Turner
2022-09-29 16:50 Matt Turner
2022-09-10 22:26 Matt Turner
2022-09-08 18:40 Jakov Smolić
2022-09-08 15:03 Matt Turner
2022-08-31 16:49 Matt Turner
2022-08-16  2:44 Matt Turner
2022-08-02  1:56 Matt Turner
2022-07-04  2:41 Matt Turner
2022-07-04  2:41 Matt Turner
2022-07-04  2:41 Matt Turner
2022-06-26  8:46 Agostino Sarubbo
2022-06-13 19:07 Matt Turner
2022-05-29 19:01 Matt Turner
2022-05-09  9:58 Jakov Smolić
2022-04-01 17:51 Matt Turner
2022-04-01 17:51 Matt Turner
2022-03-07 19:45 Conrad Kostecki
2022-03-05 13:30 Conrad Kostecki
2022-02-19  6:52 Agostino Sarubbo
2022-01-25 13:36 Jakov Smolić
2021-12-30 20:52 Matt Turner
2021-12-30 20:52 Matt Turner
2021-12-20  9:53 Conrad Kostecki
2021-12-18  5:10 Sam James
2021-12-18  5:10 Sam James
2021-12-02 18:01 Matt Turner
2021-12-02 18:01 Matt Turner
2021-12-02 18:01 Matt Turner
2021-12-02 18:01 Matt Turner
2021-11-20  7:26 Agostino Sarubbo
2021-10-14  5:09 Sam James
2021-10-14  5:09 Sam James
2021-09-22 21:19 Sam James
2021-09-07 20:27 Sam James
2021-07-01  8:54 Sam James
2021-06-29 17:37 Sam James
2021-03-01  9:20 Agostino Sarubbo
2021-02-14 20:50 Andreas Sturmlechner
2021-01-13 18:18 Sam James
2021-01-11 20:13 Sam James
2021-01-11 20:13 Sam James
2021-01-11 19:09 Sam James
2021-01-04 16:59 Sam James
2020-07-22 12:53 Thomas Deutschmann
2020-05-18 19:34 Thomas Deutschmann
2019-02-25 10:54 Luca Barbato
2018-10-22 22:55 Luca Barbato

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=1635628231.a7e2be1faba302a3e02bd9fc8226a22ad79e950c.conikost@gentoo \
    --to=conikost@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