1 |
commit: 14c32b5f21545f3d1e977970b1f9c669c86ff3fe |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 19 17:06:55 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 19 17:13:51 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14c32b5f |
7 |
|
8 |
media-libs/mediastreamer: Sort DEPENDs |
9 |
|
10 |
Package-Manager: Portage-2.3.14, Repoman-2.3.6 |
11 |
|
12 |
.../mediastreamer/mediastreamer-2.9.0-r2.ebuild | 49 +++++++++++++--------- |
13 |
1 file changed, 29 insertions(+), 20 deletions(-) |
14 |
|
15 |
diff --git a/media-libs/mediastreamer/mediastreamer-2.9.0-r2.ebuild b/media-libs/mediastreamer/mediastreamer-2.9.0-r2.ebuild |
16 |
index cdaaf69423c..b249b139c05 100644 |
17 |
--- a/media-libs/mediastreamer/mediastreamer-2.9.0-r2.ebuild |
18 |
+++ b/media-libs/mediastreamer/mediastreamer-2.9.0-r2.ebuild |
19 |
@@ -20,13 +20,14 @@ IUSE="+alsa amr bindist coreaudio debug doc examples +filters g726 g729 gsm ilbc |
20 |
silk +speex static-libs test theora upnp v4l video x264 X" |
21 |
|
22 |
REQUIRED_USE="|| ( oss alsa portaudio coreaudio pulseaudio ) |
23 |
- video? ( || ( opengl sdl X ) ) |
24 |
+ opengl? ( video ) |
25 |
theora? ( video ) |
26 |
- X? ( video ) |
27 |
v4l? ( video ) |
28 |
- opengl? ( video )" |
29 |
+ video? ( || ( opengl sdl X ) ) |
30 |
+ X? ( video )" |
31 |
|
32 |
-RDEPEND="alsa? ( media-libs/alsa-lib ) |
33 |
+RDEPEND=" |
34 |
+ alsa? ( media-libs/alsa-lib ) |
35 |
g726? ( >=media-libs/spandsp-0.0.6_pre1 ) |
36 |
gsm? ( media-sound/gsm ) |
37 |
opus? ( media-libs/opus ) |
38 |
@@ -42,29 +43,38 @@ RDEPEND="alsa? ( media-libs/alsa-lib ) |
39 |
video? ( |
40 |
libav? ( >=media-video/libav-9.12:0= ) |
41 |
!libav? ( >=media-video/ffmpeg-1.2.6-r1:0= ) |
42 |
- |
43 |
- opengl? ( media-libs/glew |
44 |
+ opengl? ( |
45 |
+ media-libs/glew |
46 |
virtual/opengl |
47 |
- x11-libs/libX11 ) |
48 |
- v4l? ( media-libs/libv4l |
49 |
- sys-kernel/linux-headers ) |
50 |
- theora? ( media-libs/libtheora ) |
51 |
+ x11-libs/libX11 |
52 |
+ ) |
53 |
sdl? ( media-libs/libsdl[video,X] ) |
54 |
- X? ( x11-libs/libX11 |
55 |
- x11-libs/libXv ) )" |
56 |
+ theora? ( media-libs/libtheora ) |
57 |
+ v4l? ( |
58 |
+ media-libs/libv4l |
59 |
+ sys-kernel/linux-headers |
60 |
+ ) |
61 |
+ X? ( |
62 |
+ x11-libs/libX11 |
63 |
+ x11-libs/libXv |
64 |
+ ) |
65 |
+ ) |
66 |
+" |
67 |
DEPEND="${RDEPEND} |
68 |
dev-util/intltool |
69 |
virtual/pkgconfig |
70 |
doc? ( app-doc/doxygen ) |
71 |
opengl? ( dev-util/xxdi ) |
72 |
test? ( >=dev-util/cunit-2.1_p2[ncurses] ) |
73 |
- X? ( x11-proto/videoproto )" |
74 |
- |
75 |
-PDEPEND="amr? ( !bindist? ( media-plugins/mediastreamer-amr ) ) |
76 |
+ X? ( x11-proto/videoproto ) |
77 |
+" |
78 |
+PDEPEND=" |
79 |
+ amr? ( !bindist? ( media-plugins/mediastreamer-amr ) ) |
80 |
g729? ( !bindist? ( media-plugins/mediastreamer-bcg729 ) ) |
81 |
ilbc? ( media-plugins/mediastreamer-ilbc ) |
82 |
+ silk? ( !bindist? ( media-plugins/mediastreamer-silk ) ) |
83 |
video? ( x264? ( media-plugins/mediastreamer-x264 ) ) |
84 |
- silk? ( !bindist? ( media-plugins/mediastreamer-silk ) )" |
85 |
+" |
86 |
|
87 |
src_prepare() { |
88 |
# variable causes "command not found" warning and is not |
89 |
@@ -120,7 +130,6 @@ src_configure() { |
90 |
# don't use bundled libs |
91 |
--enable-external-ortp |
92 |
$(use_enable alsa) |
93 |
- $(use_enable pulseaudio) |
94 |
$(use_enable coreaudio macsnd) |
95 |
$(use_enable debug) |
96 |
$(use_enable filters) |
97 |
@@ -134,17 +143,17 @@ src_configure() { |
98 |
$(use_enable oss) |
99 |
$(use_enable pcap) |
100 |
$(use_enable portaudio) |
101 |
+ $(use_enable pulseaudio) |
102 |
+ $(use_enable sdl) |
103 |
$(use_enable speex) |
104 |
$(use_enable static-libs static) |
105 |
$(use_enable theora) |
106 |
$(use_enable upnp) |
107 |
- $(use_enable video) |
108 |
$(use_enable v4l) |
109 |
$(use_enable v4l libv4l2) |
110 |
- $(use_enable sdl) |
111 |
+ $(use_enable video) |
112 |
$(use_enable X x11) |
113 |
$(use_enable X xv) |
114 |
- |
115 |
$(use doc || echo ac_cv_path_DOXYGEN=false) |
116 |
) |