1 |
commit: b1e4b0c12b5c92e68c11491ed5edbba796856b7d |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 30 20:21:56 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 30 20:52:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1e4b0c1 |
7 |
|
8 |
x11-libs/libva-intel-media-driver: Version bump to 21.4.3 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
x11-libs/libva-intel-media-driver/Manifest | 1 + |
13 |
.../libva-intel-media-driver-21.4.3.ebuild | 56 ++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/x11-libs/libva-intel-media-driver/Manifest b/x11-libs/libva-intel-media-driver/Manifest |
17 |
index 421c0510d6a0..9a9c628d812e 100644 |
18 |
--- a/x11-libs/libva-intel-media-driver/Manifest |
19 |
+++ b/x11-libs/libva-intel-media-driver/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST intel-media-20.4.5.tar.gz 22437981 BLAKE2B 136be5280b463879e47ce8a1dae1befb |
21 |
DIST intel-media-21.3.5.tar.gz 23110985 BLAKE2B 1dbbc1efa9ae2c8f3b4a34596c71173101f8a43591bf9e07d269a8499b7a57969d9af5c1d4ffb7774a6947947e572b441f871760d3ca695335bfa2976ac2cf6f SHA512 e7836b19050677e81aa34ce5d7cea661ca3b5ac55d73d5aa0bab93f1daba8ee010d84b1c585f62fcec65a4361ef2b7f14ed574858f56b85b4c4d59840ecb6cb6 |
22 |
DIST intel-media-21.4.0.tar.gz 23116624 BLAKE2B d913e379c4990bd0f5a5d07654baeb374d3b4f7adbe607338a96ac6555631560005d6124fb0124bafe5e94107b54acdfd0fbcfdabc820210b453ebb61c828c36 SHA512 e338e645677d90d4c2e91d5096a9002b87cec602ec354283b67e4ee31fcd6a2454918c4e179b86189126d30742ab2814bc8400072fb1d06638c3bc0bf66385e4 |
23 |
DIST intel-media-21.4.2.tar.gz 23185132 BLAKE2B 257f1a8a65928aee897d84ed8df69a129958bcf5fd6ea263283e1f2341a845651a86367cff7988c0d4b04accf48664dbd4d1e0bd106883e92feff095e5f88225 SHA512 1b906ce75ef70395e36296de1e1e4b39d4a82c8b8532497faf47bcb101cf2103bba67a125da7ea1be9f901699288520f704b43fef01339a1f1b7691040d7618e |
24 |
+DIST intel-media-21.4.3.tar.gz 23192939 BLAKE2B d013b60c330df97dc29e51a95a78bd91a38c789c4690fde12c304e1bf0695024e5488d0485b60fa603e8490b932210163aec590bcfca031c1f19d7b16161b420 SHA512 d2e2db1ddc2cbdc022273f53d873f2156e992420d382285de0b9559340d912e847a4780ed2adfe67f06a7c4bcac83aadca1104cf051b9a3d43b3ffd931a3db22 |
25 |
|
26 |
diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.3.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.3.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..5ce014edf7eb |
29 |
--- /dev/null |
30 |
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-21.4.3.ebuild |
31 |
@@ -0,0 +1,56 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit cmake |
38 |
+ |
39 |
+if [[ ${PV} == *9999 ]] ; then |
40 |
+ : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"} |
41 |
+ if [[ ${PV%9999} != "" ]] ; then |
42 |
+ : ${EGIT_BRANCH:="release/${PV%.9999}"} |
43 |
+ fi |
44 |
+ inherit git-r3 |
45 |
+else |
46 |
+ MY_PV="${PV%_pre}" |
47 |
+ SRC_URI="https://github.com/intel/media-driver/archive/intel-media-${MY_PV}.tar.gz" |
48 |
+ S="${WORKDIR}/media-driver-intel-media-${MY_PV}" |
49 |
+ if [[ ${PV} != *_pre* ]] ; then |
50 |
+ KEYWORDS="~amd64" |
51 |
+ fi |
52 |
+fi |
53 |
+ |
54 |
+DESCRIPTION="Intel Media Driver for VAAPI (iHD)" |
55 |
+HOMEPAGE="https://github.com/intel/media-driver" |
56 |
+ |
57 |
+LICENSE="MIT BSD redistributable? ( no-source-code )" |
58 |
+SLOT="0" |
59 |
+IUSE="+redistributable test X" |
60 |
+ |
61 |
+RESTRICT="!test? ( test )" |
62 |
+ |
63 |
+DEPEND=">=media-libs/gmmlib-21.3.1:= |
64 |
+ media-libs/gmmlib:0/0 |
65 |
+ >=x11-libs/libva-2.13.0[X?] |
66 |
+" |
67 |
+RDEPEND="${DEPEND}" |
68 |
+ |
69 |
+PATCHES=( |
70 |
+ "${FILESDIR}"/${PN}-20.2.0_x11_optional.patch |
71 |
+ "${FILESDIR}"/${PN}-21.4.2-Remove-unwanted-CFLAGS.patch |
72 |
+ "${FILESDIR}"/${PN}-20.4.5_testing_in_src_test.patch |
73 |
+) |
74 |
+ |
75 |
+src_configure() { |
76 |
+ local mycmakeargs=( |
77 |
+ -DMEDIA_BUILD_FATAL_WARNINGS=OFF |
78 |
+ -DMEDIA_RUN_TEST_SUITE=$(usex test) |
79 |
+ -DBUILD_TYPE=Release |
80 |
+ -DPLATFORM=linux |
81 |
+ -DUSE_X11=$(usex X) |
82 |
+ -DENABLE_NONFREE_KERNELS=$(usex redistributable) |
83 |
+ -DLATEST_CPP_NEEDED=ON # Seems to be the best option for now |
84 |
+ ) |
85 |
+ local CMAKE_BUILD_TYPE="Release" |
86 |
+ cmake_src_configure |
87 |
+} |