1 |
commit: 8520c69ede1dee39e72cc97e84b5a97370a2d197 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 4 02:23:43 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 4 02:40:29 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8520c69e |
7 |
|
8 |
media-video/libva-utils: Drop old versions |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
media-video/libva-utils/Manifest | 1 - |
13 |
.../files/libva-utils-2.10.0_test_in_sandbox.patch | 17 ---- |
14 |
media-video/libva-utils/libva-utils-2.13.0.ebuild | 97 ---------------------- |
15 |
media-video/libva-utils/metadata.xml | 2 - |
16 |
4 files changed, 117 deletions(-) |
17 |
|
18 |
diff --git a/media-video/libva-utils/Manifest b/media-video/libva-utils/Manifest |
19 |
index a5f74d971097..e8905bbfec08 100644 |
20 |
--- a/media-video/libva-utils/Manifest |
21 |
+++ b/media-video/libva-utils/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
-DIST libva-utils-2.13.0.tar.gz 1230036 BLAKE2B 4e70a13fb9b4362713b6f461a0ee199b8f7e9d9cbac7bc664c11870db92a87873d73306b5777c554830b932a15e726965e1db3591fd1349fb62f068617dd8558 SHA512 81c7c122a4d1bdf8d390a4ea3e0d34499158fb7b7fe0f7aa9d556158895e755139975fd01d73d883897c0a4390612d131b6349febbdf16fa5edcd46a6a82acd2 |
24 |
DIST libva-utils-2.14.0.tar.gz 1241072 BLAKE2B 17f1e0badb05e39f3979bde652dfe6832e8bfb2accd99fd6c5d972090cfce630e2a93ad96e5d17bc7bd9c393b12c2a7b066cb60a715c2dbb128dd263c480bcca SHA512 631e9becf5b2f6d083906962c004c9080d2e2b2d98b6003638a31dde8ad4e2549606301b97e88822471e29007232fc470a2116be09dc0c55d3cc2df6a45a7be1 |
25 |
DIST libva-utils-2.15.0.tar.gz 1245559 BLAKE2B 92fe1e7dbd3c953eecb351625213c2b537ad640f61534f3316d3a46070cb3818b4acafbc7a666e24b51d0900cea044074a7a6519f3c4aba6d2a38cf6ed0b2d66 SHA512 90cfa83fb7443fc90558c148c740c9c272796197fba49ff0179af94c40e97c830fc26c534e9a74fa58f597075f9ba68b477aabc784148c14dc09bde07f23cdeb |
26 |
|
27 |
diff --git a/media-video/libva-utils/files/libva-utils-2.10.0_test_in_sandbox.patch b/media-video/libva-utils/files/libva-utils-2.10.0_test_in_sandbox.patch |
28 |
deleted file mode 100644 |
29 |
index c35e5926796f..000000000000 |
30 |
--- a/media-video/libva-utils/files/libva-utils-2.10.0_test_in_sandbox.patch |
31 |
+++ /dev/null |
32 |
@@ -1,17 +0,0 @@ |
33 |
-There are only two test compatible with portage sandbox. |
34 |
-All other tests require access to install VA driver and |
35 |
-Intel video on the host machine. |
36 |
- |
37 |
-https://bugs.gentoo.org/647746 |
38 |
-https://bugs.gentoo.org/632180 |
39 |
-https://bugs.gentoo.org/714126 |
40 |
-https://bugs.gentoo.org/758620 |
41 |
---- a/test/Makefile.am |
42 |
-+++ b/test/Makefile.am |
43 |
-@@ -91,4 +91,4 @@ test_va_api_CXXFLAGS = \ |
44 |
- $(NULL) |
45 |
- |
46 |
- check-local: test_va_api |
47 |
-- $(builddir)/test_va_api |
48 |
-+ $(builddir)/test_va_api '--gtest_filter=Internal.*:VAAPIInitTerminate.InitTermWithoutDisplay' |
49 |
- |
50 |
|
51 |
diff --git a/media-video/libva-utils/libva-utils-2.13.0.ebuild b/media-video/libva-utils/libva-utils-2.13.0.ebuild |
52 |
deleted file mode 100644 |
53 |
index 20c064a87332..000000000000 |
54 |
--- a/media-video/libva-utils/libva-utils-2.13.0.ebuild |
55 |
+++ /dev/null |
56 |
@@ -1,97 +0,0 @@ |
57 |
-# Copyright 1999-2021 Gentoo Authors |
58 |
-# Distributed under the terms of the GNU General Public License v2 |
59 |
- |
60 |
-EAPI=7 |
61 |
- |
62 |
-inherit autotools |
63 |
- |
64 |
-DESCRIPTION="Collection of utilities and tests for VA-API" |
65 |
-HOMEPAGE="https://01.org/linuxmedia/vaapi" |
66 |
-if [[ ${PV} = *9999 ]] ; then |
67 |
- inherit git-r3 |
68 |
- EGIT_REPO_URI="https://github.com/intel/libva-utils" |
69 |
-else |
70 |
- # Tarball with pre-built 'configure' not always available, portage use tarballs |
71 |
- # without pre-built 'configure' as they are always available upstream. |
72 |
- # SRC_URI="https://github.com/intel/libva-utils/releases/download/${PV}/${P}.tar.bz2" |
73 |
- SRC_URI="https://github.com/intel/libva-utils/archive/${PV}.tar.gz -> ${P}.tar.gz" |
74 |
- KEYWORDS="amd64 arm64 ppc64 ~riscv x86 ~amd64-linux ~x86-linux" |
75 |
-fi |
76 |
- |
77 |
-LICENSE="MIT" |
78 |
-SLOT="0" |
79 |
-IUSE="+drm examples putsurface test test-va-api +vainfo wayland X" |
80 |
-RESTRICT="!test? ( test )" |
81 |
- |
82 |
-REQUIRED_USE=" |
83 |
- || ( drm wayland X ) |
84 |
- putsurface? ( || ( wayland X ) ) |
85 |
- putsurface? ( drm ) |
86 |
- || ( examples putsurface test-va-api vainfo ) |
87 |
-" |
88 |
- |
89 |
-BDEPEND="virtual/pkgconfig" |
90 |
- |
91 |
-if [[ ${PV} = *9999 ]] ; then |
92 |
- DEPEND="~x11-libs/libva-${PV}:=[drm?,wayland?,X?]" |
93 |
-else |
94 |
- DEPEND=">=x11-libs/libva-$(ver_cut 1-2).0:=[drm?,wayland?,X?]" |
95 |
-fi |
96 |
- |
97 |
-DEPEND+=" |
98 |
- wayland? ( >=dev-libs/wayland-1.0.6 ) |
99 |
- X? ( >=x11-libs/libX11-1.6.2 ) |
100 |
-" |
101 |
-RDEPEND="${DEPEND}" |
102 |
- |
103 |
-PATCHES=( "${FILESDIR}/${PN}-2.10.0_test_in_sandbox.patch" ) |
104 |
- |
105 |
-# CONTRIBUTING.md and README.md are avaialbe only in .tar.gz tarballs and in git |
106 |
-DOCS=( NEWS CONTRIBUTING.md README.md ) |
107 |
- |
108 |
-src_prepare() { |
109 |
- default |
110 |
- |
111 |
- sed -e 's/-Werror//' -i test/Makefile.am || die |
112 |
- |
113 |
- if ! use examples ; then |
114 |
- sed -E -e '/^SUBDIRS \+?=/s!( decode\>| encode\>| videoprocess\>| vendor/intel\>| vendor/intel/sfcsample\>)!!g' -i Makefile.am || die |
115 |
- fi |
116 |
- |
117 |
- if ! use putsurface ; then |
118 |
- sed -E -e '/^SUBDIRS \+?=/s! putsurface\>!!g' -i Makefile.am || die |
119 |
- fi |
120 |
- |
121 |
- if ! use vainfo ; then |
122 |
- sed -E -e '/^SUBDIRS \+?=/s! vainfo\>!!g' -i Makefile.am || die |
123 |
- fi |
124 |
- |
125 |
- eautoreconf |
126 |
-} |
127 |
- |
128 |
-src_configure() { |
129 |
- local myeconfargs=( |
130 |
- $(use_enable drm) |
131 |
- $(use_enable test tests) |
132 |
- $(use_enable wayland) |
133 |
- $(use_enable X x11) |
134 |
- ) |
135 |
- |
136 |
- if use test || use test-va-api ; then |
137 |
- myeconfargs+=( --enable-tests ) |
138 |
- else |
139 |
- myeconfargs+=( --disable-tests ) |
140 |
- fi |
141 |
- |
142 |
- econf "${myeconfargs[@]}" |
143 |
-} |
144 |
- |
145 |
-src_install() { |
146 |
- default |
147 |
- |
148 |
- if ! use test-va-api ; then |
149 |
- if [[ -e "${ED}"/usr/bin/test_va_api ]] ; then |
150 |
- rm -f "${ED}"/usr/bin/test_va_api || die |
151 |
- fi |
152 |
- fi |
153 |
-} |
154 |
|
155 |
diff --git a/media-video/libva-utils/metadata.xml b/media-video/libva-utils/metadata.xml |
156 |
index 1952a21fa412..16a009c1734f 100644 |
157 |
--- a/media-video/libva-utils/metadata.xml |
158 |
+++ b/media-video/libva-utils/metadata.xml |
159 |
@@ -6,10 +6,8 @@ |
160 |
<name>Alexis Ballier</name> |
161 |
</maintainer> |
162 |
<use> |
163 |
- <flag name="drm">Enables VA/DRM API support.</flag> |
164 |
<flag name="examples">Build and install decode, encode, videoprocess and other VA-API examples.</flag> |
165 |
<flag name="putsurface">Build and install putsurface tool.</flag> |
166 |
- <flag name="test-va-api">Install test_va_api tool for thorough testing of the installed VA-API.</flag> |
167 |
<flag name="vainfo">Build and install vainfo tool.</flag> |
168 |
</use> |
169 |
<upstream> |