1 |
commit: d3b9b5591fe0f62110328b6781088224bffbc28c |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 16 02:05:53 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 16 02:44:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3b9b559 |
7 |
|
8 |
x11-libs/libva-intel-media-driver: Version bump to 22.5.2 |
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-22.5.2.ebuild | 55 ++++++++++++++++++++++ |
14 |
2 files changed, 56 insertions(+) |
15 |
|
16 |
diff --git a/x11-libs/libva-intel-media-driver/Manifest b/x11-libs/libva-intel-media-driver/Manifest |
17 |
index 9ae233485f66..d1eb02471f83 100644 |
18 |
--- a/x11-libs/libva-intel-media-driver/Manifest |
19 |
+++ b/x11-libs/libva-intel-media-driver/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST intel-media-22.4.3.tar.gz 27415572 BLAKE2B d4298d6195cfd160c3bbc0789e2bbdbfe4ffac2fe592b697d52320e60c62a542902d8610c1a1a41ce7f79bf80bce7ee386cfe8b8e4b10509066dff8e6b52deee SHA512 9acf38fc0ffc65a7ef39570a31e9403600b1c6fe532a741ccdb26588e056a4bb0e5a53290942a026f4813b86db95d7d1eb3166682a889e482ac1645c6ce8aba4 |
22 |
DIST intel-media-22.4.4.tar.gz 27437439 BLAKE2B 63bee317ff12c34e7a2da9f5dce51ebb21708f8b5b3f3a58618f487e72f7826f0d4afa486bac08c2db8582d8a4774de716b5bb9a3dff93ff4fc266e56d434519 SHA512 e6ed669476e42396df7714732c628aa67d90fc8040c006605b754d70bdb7ecf476c5eb5c849a8647646dd3858c5fd469ba05f5c6b02b36d2211dc4f4cc7fa77f |
23 |
DIST intel-media-22.5.1.tar.gz 27432609 BLAKE2B 37513b70097f73e717125637b149c923c2a51acd209c1e26f3d8f2e871f11f8dc4c85aeece473b9736ec56cf9cfd879dbbfe793d7ab689d5f13d54081cb1d890 SHA512 068c9e71b58087bb833444df1d79d41a8185e90170815c519ffe8cab8bd307893d7f79e3c287bab809dab3bd0bd0e54ecd215becf80ababa1df9f3b3ee2718c2 |
24 |
+DIST intel-media-22.5.2.tar.gz 27470594 BLAKE2B 71ad9a46ded91acfcdb6a77620725873ccffd379005d8f7b3415170bbc0b4740ec61b95dccdcf404a50698826a32c5669a6c4c69d50bb1f81fc00870930ec07a SHA512 fb936306a334cc1e39730a508be715b7acaab9a0fd6fef0222fa426652b3b39697dcbcdf1eb560fe3e837139a816d05874c5474391b624411118083476fc9b97 |
25 |
|
26 |
diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.2.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.2.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..50a4289d1592 |
29 |
--- /dev/null |
30 |
+++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-22.5.2.ebuild |
31 |
@@ -0,0 +1,55 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
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 VA-API (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-22.0.0:= |
64 |
+ >=x11-libs/libva-2.14.0[X?] |
65 |
+" |
66 |
+RDEPEND="${DEPEND}" |
67 |
+ |
68 |
+PATCHES=( |
69 |
+ "${FILESDIR}"/${PN}-20.2.0_x11_optional.patch |
70 |
+ "${FILESDIR}"/${PN}-21.4.2-Remove-unwanted-CFLAGS.patch |
71 |
+ "${FILESDIR}"/${PN}-20.4.5_testing_in_src_test.patch |
72 |
+) |
73 |
+ |
74 |
+src_configure() { |
75 |
+ local mycmakeargs=( |
76 |
+ -DMEDIA_BUILD_FATAL_WARNINGS=OFF |
77 |
+ -DMEDIA_RUN_TEST_SUITE=$(usex test) |
78 |
+ -DBUILD_TYPE=Release |
79 |
+ -DPLATFORM=linux |
80 |
+ -DUSE_X11=$(usex X) |
81 |
+ -DENABLE_NONFREE_KERNELS=$(usex redistributable) |
82 |
+ -DLATEST_CPP_NEEDED=ON # Seems to be the best option for now |
83 |
+ ) |
84 |
+ local CMAKE_BUILD_TYPE="Release" |
85 |
+ cmake_src_configure |
86 |
+} |