1 |
commit: db6d6a2bfb96faac0f8372f7bde13e9b73050a1e |
2 |
Author: Karlson2k (Evgeny Grin) <k2k <AT> narod <DOT> ru> |
3 |
AuthorDate: Fri Jan 8 14:44:43 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 8 15:13:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db6d6a2b |
7 |
|
8 |
x11-libs/libva: added version 2.9.1 |
9 |
|
10 |
Fixed DOCS installation (missing "default" in src_install()) |
11 |
|
12 |
Signed-off-by: Karlson2k (Evgeny Grin) <k2k <AT> narod.ru> |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
x11-libs/libva/Manifest | 1 + |
16 |
.../{libva-9999.ebuild => libva-2.9.1.ebuild} | 34 +++++++++++++--------- |
17 |
x11-libs/libva/libva-9999.ebuild | 34 +++++++++++++--------- |
18 |
3 files changed, 43 insertions(+), 26 deletions(-) |
19 |
|
20 |
diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest |
21 |
index fed90aafaee..6b637b6a7e6 100644 |
22 |
--- a/x11-libs/libva/Manifest |
23 |
+++ b/x11-libs/libva/Manifest |
24 |
@@ -3,3 +3,4 @@ DIST libva-2.6.1.tar.bz2 466497 BLAKE2B d4ea6e6d0102722206d94725932f0b3cf650bab3 |
25 |
DIST libva-2.7.1.tar.bz2 477933 BLAKE2B 261e608af3f1427bed0244d4ebbc0d3ffe5681669ecb3583a8910568bc96817b8da079ffe80915ecf1002f9ac247eea5e44f8f7ce305313719fc1a4f1c5892b3 SHA512 f4b88ca0216f0ea4d934edcd322b8f741833b5a50ee2f34a3ecf60d635082b29e2dd032734c2f9d2a680e3b9c98e61a8b9432ea639a9fd5389761e04782c1126 |
26 |
DIST libva-2.8.0.tar.bz2 478734 BLAKE2B b11393a9b9ec7ef4cf91d20d4005d42ad3d0e6a4a8e4d8cda67816bc5b9d3b23900754b5e8af92386dcf99a11e53af70fc4723ffecc715328c8fbf3d40486098 SHA512 329c5fc2262a6f4fddfcb13bd9644589248be6ae18fa1481cccc6b33874b91b60ad3f16a1777712f7a4817ba576db984834aa8735e6ad13d99b2f5aa13e9ddfa |
27 |
DIST libva-2.9.0.tar.bz2 481556 BLAKE2B 5509f3d7df11a11602331a3b6bb78d3a5d3dfbeff024eaa77594918c49cd48ec9e8ee017d8ac7b4aa1dbd3252a23caecce9a10a8a9e12ef4c483a8a34e028b20 SHA512 496358b73cd525d8c9dc1fcf3dbf992ec997ecc8f7be31f0e226ded173aecf29d8d4b60cc7cc5ee7beac538061659841145f67f449a03a04236a6ee7ae6f8323 |
28 |
+DIST libva-2.9.1.tar.gz 240934 BLAKE2B 76333a9ce78783c3d94798a19ea6a52d95768ca7e5a547094290313d4f5c610841787d4420d19e0553174933beaf5fbf68e7e849ad38682173f670de0d9a76e5 SHA512 79fd0b41795ac5de68bdd6470389fad6caf016fa4a44f2cd775c0a65d6d8f270a7e237d3b2e42a90376c103d2d2e2c010fe47835c7a15d79b94beaced02a2884 |
29 |
|
30 |
diff --git a/x11-libs/libva/libva-9999.ebuild b/x11-libs/libva/libva-2.9.1.ebuild |
31 |
similarity index 68% |
32 |
copy from x11-libs/libva/libva-9999.ebuild |
33 |
copy to x11-libs/libva/libva-2.9.1.ebuild |
34 |
index 016d79e6442..89ac22133fa 100644 |
35 |
--- a/x11-libs/libva/libva-9999.ebuild |
36 |
+++ b/x11-libs/libva/libva-2.9.1.ebuild |
37 |
@@ -1,4 +1,4 @@ |
38 |
-# Copyright 1999-2020 Gentoo Authors |
39 |
+# Copyright 1999-2021 Gentoo Authors |
40 |
# Distributed under the terms of the GNU General Public License v2 |
41 |
|
42 |
EAPI=7 |
43 |
@@ -8,14 +8,19 @@ inherit multilib-minimal |
44 |
DESCRIPTION="Video Acceleration (VA) API for Linux" |
45 |
HOMEPAGE="https://01.org/linuxmedia/vaapi" |
46 |
|
47 |
-if [[ ${PV} = *9999* ]] ; then # Live ebuild |
48 |
- inherit autotools git-r3 |
49 |
+inherit autotools |
50 |
+ |
51 |
+if [[ ${PV} = *9999 ]] ; then |
52 |
+ inherit git-r3 |
53 |
EGIT_BRANCH=master |
54 |
EGIT_REPO_URI="https://github.com/intel/libva" |
55 |
- AUTOTOOLS_AUTORECONF="yes" |
56 |
else |
57 |
- SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2" |
58 |
- KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
59 |
+ # SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2" |
60 |
+ # The upstream provides periodically tarball with pre-built 'configure'. |
61 |
+ # To simplify updates, portage use tarballs without pre-build 'configure' |
62 |
+ # which are always available. |
63 |
+ SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> ${P}.tar.gz" |
64 |
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" |
65 |
fi |
66 |
|
67 |
LICENSE="MIT" |
68 |
@@ -52,19 +57,20 @@ PDEPEND="video_cards_nvidia? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB |
69 |
REQUIRED_USE="|| ( drm wayland X ) |
70 |
opengl? ( X )" |
71 |
|
72 |
-DOCS=( NEWS ) |
73 |
+# CONTRIBUTING.md and README.md are avaialbe only in .tar.gz tarballs |
74 |
+DOCS=( NEWS CONTRIBUTING.md README.md ) |
75 |
|
76 |
MULTILIB_WRAPPED_HEADERS=( |
77 |
-/usr/include/va/va_backend_glx.h |
78 |
-/usr/include/va/va_x11.h |
79 |
-/usr/include/va/va_dri2.h |
80 |
-/usr/include/va/va_dricommon.h |
81 |
-/usr/include/va/va_glx.h |
82 |
+ /usr/include/va/va_backend_glx.h |
83 |
+ /usr/include/va/va_x11.h |
84 |
+ /usr/include/va/va_dri2.h |
85 |
+ /usr/include/va/va_dricommon.h |
86 |
+ /usr/include/va/va_glx.h |
87 |
) |
88 |
|
89 |
src_prepare() { |
90 |
default |
91 |
- [[ "${PV}" == *9999* ]] && eautoreconf |
92 |
+ eautoreconf |
93 |
} |
94 |
|
95 |
multilib_src_configure() { |
96 |
@@ -74,10 +80,12 @@ multilib_src_configure() { |
97 |
$(use_enable X x11) |
98 |
$(use_enable wayland) |
99 |
$(use_enable drm) |
100 |
+ --enable-va-messaging |
101 |
) |
102 |
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
103 |
} |
104 |
|
105 |
multilib_src_install_all() { |
106 |
+ default |
107 |
find "${ED}" -type f -name "*.la" -delete || die |
108 |
} |
109 |
|
110 |
diff --git a/x11-libs/libva/libva-9999.ebuild b/x11-libs/libva/libva-9999.ebuild |
111 |
index 016d79e6442..812111b4eba 100644 |
112 |
--- a/x11-libs/libva/libva-9999.ebuild |
113 |
+++ b/x11-libs/libva/libva-9999.ebuild |
114 |
@@ -1,4 +1,4 @@ |
115 |
-# Copyright 1999-2020 Gentoo Authors |
116 |
+# Copyright 1999-2021 Gentoo Authors |
117 |
# Distributed under the terms of the GNU General Public License v2 |
118 |
|
119 |
EAPI=7 |
120 |
@@ -8,14 +8,19 @@ inherit multilib-minimal |
121 |
DESCRIPTION="Video Acceleration (VA) API for Linux" |
122 |
HOMEPAGE="https://01.org/linuxmedia/vaapi" |
123 |
|
124 |
-if [[ ${PV} = *9999* ]] ; then # Live ebuild |
125 |
- inherit autotools git-r3 |
126 |
+inherit autotools |
127 |
+ |
128 |
+if [[ ${PV} = *9999 ]] ; then |
129 |
+ inherit git-r3 |
130 |
EGIT_BRANCH=master |
131 |
EGIT_REPO_URI="https://github.com/intel/libva" |
132 |
- AUTOTOOLS_AUTORECONF="yes" |
133 |
else |
134 |
- SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2" |
135 |
- KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
136 |
+ # SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2" |
137 |
+ # The upstream provides periodically tarball with pre-built 'configure'. |
138 |
+ # To simplify updates, portage use tarballs without pre-build 'configure' |
139 |
+ # which are always available. |
140 |
+ SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> ${P}.tar.gz" |
141 |
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" |
142 |
fi |
143 |
|
144 |
LICENSE="MIT" |
145 |
@@ -52,19 +57,20 @@ PDEPEND="video_cards_nvidia? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB |
146 |
REQUIRED_USE="|| ( drm wayland X ) |
147 |
opengl? ( X )" |
148 |
|
149 |
-DOCS=( NEWS ) |
150 |
+# CONTRIBUTING.md and README.md are avaialbe only in .tar.gz tarballs and in git |
151 |
+DOCS=( NEWS CONTRIBUTING.md README.md ) |
152 |
|
153 |
MULTILIB_WRAPPED_HEADERS=( |
154 |
-/usr/include/va/va_backend_glx.h |
155 |
-/usr/include/va/va_x11.h |
156 |
-/usr/include/va/va_dri2.h |
157 |
-/usr/include/va/va_dricommon.h |
158 |
-/usr/include/va/va_glx.h |
159 |
+ /usr/include/va/va_backend_glx.h |
160 |
+ /usr/include/va/va_x11.h |
161 |
+ /usr/include/va/va_dri2.h |
162 |
+ /usr/include/va/va_dricommon.h |
163 |
+ /usr/include/va/va_glx.h |
164 |
) |
165 |
|
166 |
src_prepare() { |
167 |
default |
168 |
- [[ "${PV}" == *9999* ]] && eautoreconf |
169 |
+ eautoreconf |
170 |
} |
171 |
|
172 |
multilib_src_configure() { |
173 |
@@ -74,10 +80,12 @@ multilib_src_configure() { |
174 |
$(use_enable X x11) |
175 |
$(use_enable wayland) |
176 |
$(use_enable drm) |
177 |
+ --enable-va-messaging |
178 |
) |
179 |
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
180 |
} |
181 |
|
182 |
multilib_src_install_all() { |
183 |
+ default |
184 |
find "${ED}" -type f -name "*.la" -delete || die |
185 |
} |