1 |
commit: 5487aa02ce61d2d61b4eafb8b33e32d6e0c41414 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 31 08:45:27 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 31 08:54:17 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5487aa02 |
7 |
|
8 |
media-plugins/gst-plugins-vaapi: Make egl support optional (#588498 by Toralf Förster and Coacher). |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
.../gst-plugins-vaapi/gst-plugins-vaapi-1.8.2.ebuild | 12 +++++++----- |
13 |
media-plugins/gst-plugins-vaapi/metadata.xml | 1 + |
14 |
2 files changed, 8 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.8.2.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.8.2.ebuild |
17 |
index c2c5860..1d4c4f5 100644 |
18 |
--- a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.8.2.ebuild |
19 |
+++ b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.8.2.ebuild |
20 |
@@ -14,7 +14,7 @@ LICENSE="LGPL-2.1" |
21 |
SLOT="1.0" |
22 |
KEYWORDS="~amd64 ~x86" |
23 |
|
24 |
-IUSE="+drm opengl wayland +X" |
25 |
+IUSE="+drm egl opengl wayland +X" |
26 |
REQUIRED_USE="|| ( drm opengl wayland X )" |
27 |
|
28 |
RDEPEND=" |
29 |
@@ -26,14 +26,16 @@ RDEPEND=" |
30 |
drm? ( |
31 |
>=virtual/libudev-208:=[${MULTILIB_USEDEP}] |
32 |
>=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}] ) |
33 |
- X? ( |
34 |
- >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
35 |
- >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] ) |
36 |
+ egl? ( |
37 |
+ >=media-libs/gst-plugins-bad-${PV}:1.0[opengl,${MULTILIB_USEDEP}] ) |
38 |
opengl? ( |
39 |
>=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] |
40 |
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
41 |
>=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] ) |
42 |
wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] ) |
43 |
+ X? ( |
44 |
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
45 |
+ >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] ) |
46 |
" |
47 |
DEPEND="${RDEPEND} |
48 |
>=dev-util/gtk-doc-am-1.12 |
49 |
@@ -46,8 +48,8 @@ multilib_src_configure() { |
50 |
ECONF_SOURCE=${S} \ |
51 |
econf \ |
52 |
--disable-static \ |
53 |
- --enable-egl \ |
54 |
$(use_enable drm) \ |
55 |
+ $(use_enable egl) \ |
56 |
$(use_enable opengl glx) \ |
57 |
$(use_enable wayland) \ |
58 |
$(use_enable X x11) |
59 |
|
60 |
diff --git a/media-plugins/gst-plugins-vaapi/metadata.xml b/media-plugins/gst-plugins-vaapi/metadata.xml |
61 |
index 74f4f08..38a37a9 100644 |
62 |
--- a/media-plugins/gst-plugins-vaapi/metadata.xml |
63 |
+++ b/media-plugins/gst-plugins-vaapi/metadata.xml |
64 |
@@ -7,6 +7,7 @@ |
65 |
</maintainer> |
66 |
<use> |
67 |
<flag name="drm">Enable DRM renderer</flag> |
68 |
+ <flag name="egl">Enable EGL support</flag> |
69 |
</use> |
70 |
<upstream> |
71 |
<remote-id type="github">01org/gstreamer-vaapi</remote-id> |