1 |
commit: 7bfca9bc0671786f810c9ebe92e6f07e6c57e117 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 3 07:29:47 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 3 07:29:47 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bfca9bc |
7 |
|
8 |
media-video/libva-utils: Initial import. Split out of x11-libs/libva |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
media-video/libva-utils/Manifest | 1 + |
13 |
media-video/libva-utils/libva-utils-1.8.0.ebuild | 58 ++++++++++++++++++++++++ |
14 |
media-video/libva-utils/libva-utils-9999.ebuild | 58 ++++++++++++++++++++++++ |
15 |
media-video/libva-utils/metadata.xml | 11 +++++ |
16 |
4 files changed, 128 insertions(+) |
17 |
|
18 |
diff --git a/media-video/libva-utils/Manifest b/media-video/libva-utils/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..2552fd3afbe |
21 |
--- /dev/null |
22 |
+++ b/media-video/libva-utils/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST libva-utils-1.8.0.tar.gz 1011595 SHA256 2a7590c8428d0b453b004702c4c515669403cea27f9f17b2560b38da337ec943 SHA512 020cf1d5af7a78ecb4806afe69d34106525086f10b007dddb8d36c0243b670c311df537d969c8b60222b4afc7bfc08c1d594843339af72618886eecfd03887ec WHIRLPOOL 46e76c555a69878e5cb553f3895752aafc821012afefec69b55f35014659e49ab3e30bcd5f94a9ffd86cd1c3fee467d215f58b3e10b69c54d1e630d78144a4b3 |
25 |
|
26 |
diff --git a/media-video/libva-utils/libva-utils-1.8.0.ebuild b/media-video/libva-utils/libva-utils-1.8.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..ef34dbe2e6c |
29 |
--- /dev/null |
30 |
+++ b/media-video/libva-utils/libva-utils-1.8.0.ebuild |
31 |
@@ -0,0 +1,58 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+SCM="" |
38 |
+if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
39 |
+ SCM=git-r3 |
40 |
+ EGIT_BRANCH=master |
41 |
+ EGIT_REPO_URI="https://github.com/01org/libva-utils" |
42 |
+fi |
43 |
+ |
44 |
+AUTOTOOLS_AUTORECONF="yes" |
45 |
+inherit autotools-utils ${SCM} multilib |
46 |
+ |
47 |
+DESCRIPTION="Collection of utilities and tests for VA-API" |
48 |
+HOMEPAGE="https://01.org/linuxmedia/vaapi" |
49 |
+if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
50 |
+ SRC_URI="" |
51 |
+else |
52 |
+ SRC_URI="https://github.com/01org/libva-utils/archive/${PV}.tar.gz -> ${P}.tar.gz" |
53 |
+fi |
54 |
+ |
55 |
+LICENSE="MIT" |
56 |
+SLOT="0" |
57 |
+if [ "${PV%9999}" = "${PV}" ] ; then |
58 |
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
59 |
+else |
60 |
+ KEYWORDS="" |
61 |
+fi |
62 |
+IUSE="+drm test wayland X" |
63 |
+ |
64 |
+RDEPEND=" |
65 |
+ >=x11-libs/libva-1.8[drm?,wayland?,X?] |
66 |
+ drm? ( >=x11-libs/libdrm-2.4 ) |
67 |
+ X? ( |
68 |
+ >=x11-libs/libX11-1.6.2 |
69 |
+ >=x11-libs/libXext-1.3.2 |
70 |
+ >=x11-libs/libXfixes-5.0.1 |
71 |
+ ) |
72 |
+ wayland? ( >=dev-libs/wayland-1.0.6 )" |
73 |
+ |
74 |
+DEPEND="${RDEPEND} |
75 |
+ virtual/pkgconfig" |
76 |
+ |
77 |
+REQUIRED_USE="|| ( drm wayland X )" |
78 |
+ |
79 |
+DOCS=( CONTRIBUTING.md README.md ) |
80 |
+ |
81 |
+src_configure() { |
82 |
+ local myeconfargs=( |
83 |
+ $(use_enable X x11) |
84 |
+ $(use_enable wayland) |
85 |
+ $(use_enable drm) |
86 |
+ $(use_enable test tests) |
87 |
+ ) |
88 |
+ autotools-utils_src_configure |
89 |
+} |
90 |
|
91 |
diff --git a/media-video/libva-utils/libva-utils-9999.ebuild b/media-video/libva-utils/libva-utils-9999.ebuild |
92 |
new file mode 100644 |
93 |
index 00000000000..ef34dbe2e6c |
94 |
--- /dev/null |
95 |
+++ b/media-video/libva-utils/libva-utils-9999.ebuild |
96 |
@@ -0,0 +1,58 @@ |
97 |
+# Copyright 1999-2017 Gentoo Foundation |
98 |
+# Distributed under the terms of the GNU General Public License v2 |
99 |
+ |
100 |
+EAPI=5 |
101 |
+ |
102 |
+SCM="" |
103 |
+if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
104 |
+ SCM=git-r3 |
105 |
+ EGIT_BRANCH=master |
106 |
+ EGIT_REPO_URI="https://github.com/01org/libva-utils" |
107 |
+fi |
108 |
+ |
109 |
+AUTOTOOLS_AUTORECONF="yes" |
110 |
+inherit autotools-utils ${SCM} multilib |
111 |
+ |
112 |
+DESCRIPTION="Collection of utilities and tests for VA-API" |
113 |
+HOMEPAGE="https://01.org/linuxmedia/vaapi" |
114 |
+if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
115 |
+ SRC_URI="" |
116 |
+else |
117 |
+ SRC_URI="https://github.com/01org/libva-utils/archive/${PV}.tar.gz -> ${P}.tar.gz" |
118 |
+fi |
119 |
+ |
120 |
+LICENSE="MIT" |
121 |
+SLOT="0" |
122 |
+if [ "${PV%9999}" = "${PV}" ] ; then |
123 |
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
124 |
+else |
125 |
+ KEYWORDS="" |
126 |
+fi |
127 |
+IUSE="+drm test wayland X" |
128 |
+ |
129 |
+RDEPEND=" |
130 |
+ >=x11-libs/libva-1.8[drm?,wayland?,X?] |
131 |
+ drm? ( >=x11-libs/libdrm-2.4 ) |
132 |
+ X? ( |
133 |
+ >=x11-libs/libX11-1.6.2 |
134 |
+ >=x11-libs/libXext-1.3.2 |
135 |
+ >=x11-libs/libXfixes-5.0.1 |
136 |
+ ) |
137 |
+ wayland? ( >=dev-libs/wayland-1.0.6 )" |
138 |
+ |
139 |
+DEPEND="${RDEPEND} |
140 |
+ virtual/pkgconfig" |
141 |
+ |
142 |
+REQUIRED_USE="|| ( drm wayland X )" |
143 |
+ |
144 |
+DOCS=( CONTRIBUTING.md README.md ) |
145 |
+ |
146 |
+src_configure() { |
147 |
+ local myeconfargs=( |
148 |
+ $(use_enable X x11) |
149 |
+ $(use_enable wayland) |
150 |
+ $(use_enable drm) |
151 |
+ $(use_enable test tests) |
152 |
+ ) |
153 |
+ autotools-utils_src_configure |
154 |
+} |
155 |
|
156 |
diff --git a/media-video/libva-utils/metadata.xml b/media-video/libva-utils/metadata.xml |
157 |
new file mode 100644 |
158 |
index 00000000000..b6426fdc4bb |
159 |
--- /dev/null |
160 |
+++ b/media-video/libva-utils/metadata.xml |
161 |
@@ -0,0 +1,11 @@ |
162 |
+<?xml version="1.0" encoding="UTF-8"?> |
163 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
164 |
+<pkgmetadata> |
165 |
+ <maintainer type="person"> |
166 |
+ <email>aballier@g.o</email> |
167 |
+ <name>Alexis Ballier</name> |
168 |
+ </maintainer> |
169 |
+ <use> |
170 |
+ <flag name="drm">Enables VA/DRM API support.</flag> |
171 |
+ </use> |
172 |
+</pkgmetadata> |