1 |
commit: 3c7e08ea1ca583d762f51215780dadf1d31d1c10 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 4 02:53:41 2023 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 4 03:16:40 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c7e08ea |
7 |
|
8 |
media-libs/libva-intel-media-driver: Version bump to 23.1.2 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
media-libs/libva-intel-media-driver/Manifest | 1 + |
13 |
.../libva-intel-media-driver-23.1.2.ebuild | 54 ++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/libva-intel-media-driver/Manifest b/media-libs/libva-intel-media-driver/Manifest |
17 |
index 203bb3a11364..1b05942c4583 100644 |
18 |
--- a/media-libs/libva-intel-media-driver/Manifest |
19 |
+++ b/media-libs/libva-intel-media-driver/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST intel-media-22.5.4.tar.gz 27493483 BLAKE2B ac6a93e06eec33edd823b1fd4310cd635f20229ce1ba1d52eb36a11b8fcaf484c836261cb5e8437889208e9b268f29f78a241867629eb517fbada28a314bb4dc SHA512 9e7e4d7f33d0248f3d2288239ca121cd8c748a98587384e69c92aeedf4b9ce7ff585cac06b260713f9cd95936d270c36e6981bc500c2a6bee7276d0e238f4b74 |
22 |
DIST intel-media-22.6.6.tar.gz 28599397 BLAKE2B 3a3449f0af37c431ff1224bb919de3382767044a728603b9fb3343f6a2ed92ec8f9c30796623a17fe64de617816d0961507171c06e41739c9c650145b93439e2 SHA512 8013ecadfc827a89eea6c72e262c220fe05fc11348ab23d46fb703f170d927739b46b21bad5e79fdebde86b646609339d2333eafb7f0798d77f9c64f20203f90 |
23 |
+DIST intel-media-23.1.2.tar.gz 28625961 BLAKE2B bbeb070f22e9642d3a7510edbf34f438d2c817484ebce75ec3debf86498916a9b1c9ee37c721825a2e8041bd52b7a6501a089fc9d71bd3ecfa5ff6b69b5971b0 SHA512 b5f402c209552caaaa4b6f27094230e6dbed15e24e3bb035a543b72277d19d80d02697b9900ede4137a20e4a02c6ecaf498fe4a58ef247a1f880b9ebc9ca3dbb |
24 |
|
25 |
diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.1.2.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.1.2.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..bd08b390fd83 |
28 |
--- /dev/null |
29 |
+++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-23.1.2.ebuild |
30 |
@@ -0,0 +1,54 @@ |
31 |
+# Copyright 1999-2023 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit cmake |
37 |
+ |
38 |
+if [[ ${PV} == *9999 ]] ; then |
39 |
+ : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"} |
40 |
+ if [[ ${PV%9999} != "" ]] ; then |
41 |
+ : ${EGIT_BRANCH:="release/${PV%.9999}"} |
42 |
+ fi |
43 |
+ inherit git-r3 |
44 |
+else |
45 |
+ MY_PV="${PV%_pre}" |
46 |
+ SRC_URI="https://github.com/intel/media-driver/archive/intel-media-${MY_PV}.tar.gz" |
47 |
+ S="${WORKDIR}/media-driver-intel-media-${MY_PV}" |
48 |
+ if [[ ${PV} != *_pre* ]] ; then |
49 |
+ KEYWORDS="~amd64" |
50 |
+ fi |
51 |
+fi |
52 |
+ |
53 |
+DESCRIPTION="Intel Media Driver for VA-API (iHD)" |
54 |
+HOMEPAGE="https://github.com/intel/media-driver" |
55 |
+ |
56 |
+LICENSE="MIT BSD redistributable? ( no-source-code )" |
57 |
+SLOT="0" |
58 |
+IUSE="+redistributable test X" |
59 |
+ |
60 |
+RESTRICT="!test? ( test )" |
61 |
+ |
62 |
+DEPEND=">=media-libs/gmmlib-22.3.0:= |
63 |
+ >=media-libs/libva-2.14.0[X?] |
64 |
+" |
65 |
+RDEPEND="${DEPEND}" |
66 |
+ |
67 |
+PATCHES=( |
68 |
+ "${FILESDIR}"/${PN}-21.4.2-Remove-unwanted-CFLAGS.patch |
69 |
+ "${FILESDIR}"/${PN}-20.4.5_testing_in_src_test.patch |
70 |
+) |
71 |
+ |
72 |
+src_configure() { |
73 |
+ local mycmakeargs=( |
74 |
+ -DMEDIA_BUILD_FATAL_WARNINGS=OFF |
75 |
+ -DMEDIA_RUN_TEST_SUITE=$(usex test) |
76 |
+ -DBUILD_TYPE=Release |
77 |
+ -DPLATFORM=linux |
78 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex !X) |
79 |
+ -DENABLE_NONFREE_KERNELS=$(usex redistributable) |
80 |
+ -DLATEST_CPP_NEEDED=ON # Seems to be the best option for now |
81 |
+ ) |
82 |
+ local CMAKE_BUILD_TYPE="Release" |
83 |
+ cmake_src_configure |
84 |
+} |