1 |
commit: afedc9c328f477df1fa24d92db77416c44156d47 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 17 07:18:04 2018 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 17 07:20:29 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afedc9c3 |
7 |
|
8 |
media-video/libva-utils: bump to 2.2.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.43, Repoman-2.3.10 |
11 |
|
12 |
media-video/libva-utils/Manifest | 1 + |
13 |
media-video/libva-utils/libva-utils-2.2.0.ebuild | 63 ++++++++++++++++++++++++ |
14 |
2 files changed, 64 insertions(+) |
15 |
|
16 |
diff --git a/media-video/libva-utils/Manifest b/media-video/libva-utils/Manifest |
17 |
index 17ede98e4de..f33c2b76ba7 100644 |
18 |
--- a/media-video/libva-utils/Manifest |
19 |
+++ b/media-video/libva-utils/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST libva-utils-2.0.0.tar.gz 1033292 BLAKE2B 5f9e36d2a69a6a65f3d47b0e29aa1807201da8bd69eb00da5dc232b2629fdd01279c38af77335244f673b4f2e849ea3cc89a572b7ce26fd614f44461603c0c19 SHA512 5c435b558fdeec6dc597c531b1e72e1a6e8b4f59f5f97af30d01b39a20430446cce7af5553b924144fbc54a64f0e39ab232c76e4e8a266329cc9868d60be0c4b |
22 |
DIST libva-utils-2.1.0.tar.gz 1034951 BLAKE2B 88fb075bd1946bbba79c460640c3242a6ad85fcb6396a77b549ce3d2193fb4ab6df35b70a0981d56cbc40822a9b2146074255f573783547b23ee0e7d8670fce3 SHA512 2dbf1e1849136804be8970b1f02957e6e3eb593a72e34289e8e2c087b3a358596e5eed7d17d3c56701045116a0658450c37b26600a352dcb37ed0d58d5e14ba6 |
23 |
+DIST libva-utils-2.2.0.tar.gz 1037165 BLAKE2B 7d86ab23972be8abd7703fcf38025ddf3dfce1fab00d7b5ac083004cb33fef1cc4d8aab7ebba6e20b33377f0e4b3b9b0ff9b3e47a2ddc0c2bfcd7b256cd2ade9 SHA512 c4394755f500c0839d8ab40baa40deae26dbdd7b4782993b9a46e011712e943a1a55afe1b0b05dc8af80eccb327c8bc388576e4843447715248133e2a5c706ec |
24 |
|
25 |
diff --git a/media-video/libva-utils/libva-utils-2.2.0.ebuild b/media-video/libva-utils/libva-utils-2.2.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..6c7521ce078 |
28 |
--- /dev/null |
29 |
+++ b/media-video/libva-utils/libva-utils-2.2.0.ebuild |
30 |
@@ -0,0 +1,63 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+SCM="" |
37 |
+if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
38 |
+ SCM=git-r3 |
39 |
+ EGIT_BRANCH=master |
40 |
+ EGIT_REPO_URI="https://github.com/intel/libva-utils" |
41 |
+fi |
42 |
+ |
43 |
+AUTOTOOLS_AUTORECONF="yes" |
44 |
+inherit autotools-utils ${SCM} multilib |
45 |
+ |
46 |
+DESCRIPTION="Collection of utilities and tests for VA-API" |
47 |
+HOMEPAGE="https://01.org/linuxmedia/vaapi" |
48 |
+if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
49 |
+ SRC_URI="" |
50 |
+else |
51 |
+ SRC_URI="https://github.com/intel/libva-utils/archive/${PV}.tar.gz -> ${P}.tar.gz" |
52 |
+fi |
53 |
+ |
54 |
+LICENSE="MIT" |
55 |
+SLOT="0" |
56 |
+if [ "${PV%9999}" = "${PV}" ] ; then |
57 |
+ KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" |
58 |
+else |
59 |
+ KEYWORDS="" |
60 |
+fi |
61 |
+IUSE="+drm test wayland X" |
62 |
+ |
63 |
+RDEPEND=" |
64 |
+ >=x11-libs/libva-2.0.0:=[drm?,wayland?,X?] |
65 |
+ drm? ( >=x11-libs/libdrm-2.4 ) |
66 |
+ X? ( |
67 |
+ >=x11-libs/libX11-1.6.2 |
68 |
+ >=x11-libs/libXext-1.3.2 |
69 |
+ >=x11-libs/libXfixes-5.0.1 |
70 |
+ ) |
71 |
+ wayland? ( >=dev-libs/wayland-1.0.6 )" |
72 |
+ |
73 |
+DEPEND="${RDEPEND} |
74 |
+ virtual/pkgconfig" |
75 |
+ |
76 |
+REQUIRED_USE="|| ( drm wayland X )" |
77 |
+ |
78 |
+DOCS=( CONTRIBUTING.md README.md ) |
79 |
+ |
80 |
+src_prepare() { |
81 |
+ sed -e 's/-Werror//' -i test/Makefile.am || die |
82 |
+ autotools-utils_src_prepare |
83 |
+} |
84 |
+ |
85 |
+src_configure() { |
86 |
+ local myeconfargs=( |
87 |
+ $(use_enable X x11) |
88 |
+ $(use_enable wayland) |
89 |
+ $(use_enable drm) |
90 |
+ $(use_enable test tests) |
91 |
+ ) |
92 |
+ autotools-utils_src_configure |
93 |
+} |