1 |
commit: ae1063b59ef317fdc6dd640b60437f6fb143a2ac |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 26 15:14:48 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 26 15:22:46 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae1063b5 |
7 |
|
8 |
media-video/libav: remove last-rited pkg |
9 |
|
10 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=452482 |
11 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=458768 |
12 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=470764 |
13 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=499256 |
14 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=509974 |
15 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=519602 |
16 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=525070 |
17 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=555114 |
18 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=564040 |
19 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=587054 |
20 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=588986 |
21 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=701952 |
22 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=538790 |
23 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=711206 |
24 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=489922 |
25 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=409957 |
26 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=445854 |
27 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=474408 |
28 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=509294 |
29 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=522350 |
30 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=546080 |
31 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=588482 |
32 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=603726 |
33 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=694082 |
34 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=634102 |
35 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=542186 |
36 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=635524 |
37 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=651218 |
38 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=651220 |
39 |
|
40 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
41 |
|
42 |
media-video/libav/Manifest | 3 - |
43 |
media-video/libav/files/libav-12.3-x264.patch | 85 ------- |
44 |
media-video/libav/libav-12.3.ebuild | 350 -------------------------- |
45 |
media-video/libav/libav-13_pre20171219.ebuild | 336 ------------------------- |
46 |
media-video/libav/libav-9999.ebuild | 339 ------------------------- |
47 |
media-video/libav/metadata.xml | 35 --- |
48 |
6 files changed, 1148 deletions(-) |
49 |
|
50 |
diff --git a/media-video/libav/Manifest b/media-video/libav/Manifest |
51 |
deleted file mode 100644 |
52 |
index 45c885bdad9..00000000000 |
53 |
--- a/media-video/libav/Manifest |
54 |
+++ /dev/null |
55 |
@@ -1,3 +0,0 @@ |
56 |
-DIST fate-12-r1.tar.xz 763758260 BLAKE2B 299e1a2a773e49c7a51c1222ac34eaea24f77420570a1b0c0b18db5517736656f52ad0a7ca807f65f5e9f9597709265fcd950cf989ad995aa4289ba0e364950e SHA512 084f584c34d34b66c1f4d4742a11376ee2b90f6a07529b5aba6d50421dc8f863fded73dd57ad2c201aadfd529f0f923fa531ea9b41aaaa7b682846ef565a1018 |
57 |
-DIST libav-12.3.tar.xz 5267988 BLAKE2B 92147dde4f41a5aa05d93824d3ffa9a21b067f99cec5fa17bc4b8e3600f2b1913f7e74d4ea766c864cdba686dd14d5d3a8bc8af8f9e6de4c956f14cb8e20ab88 SHA512 fd4838a934792797a975ece034cbd63760c94ee6becc99b8707e8345e41777baf26e30ef6937ab30b7d2f722977e69aabc2cfca3fcdf88373d579f9cc9d69162 |
58 |
-DIST libav-13_pre20171219.tar.xz 5427904 BLAKE2B 074dc5d071aeb656fc14a015c2e3c168aa81d25e2fb08d99e300dc47d7ea28f61500fcfab0b16fa136261a5af27631b7536eb3aefa0e1feb4d615af57f9f5a36 SHA512 0c9b59957f1fbbff8f5b95b02c11014a4efdddf4b7e1b158cd0fda3af8b89bd90d48263ed0239915adfb7abcd7a8b22c278cd5cf1d01822bd22df65cc7f69689 |
59 |
|
60 |
diff --git a/media-video/libav/files/libav-12.3-x264.patch b/media-video/libav/files/libav-12.3-x264.patch |
61 |
deleted file mode 100644 |
62 |
index 25c089bfeac..00000000000 |
63 |
--- a/media-video/libav/files/libav-12.3-x264.patch |
64 |
+++ /dev/null |
65 |
@@ -1,85 +0,0 @@ |
66 |
-From c6558e8840fbb2386bf8742e4d68dd6e067d262e Mon Sep 17 00:00:00 2001 |
67 |
-From: Luca Barbato <lu_zero@g.o> |
68 |
-Date: Tue, 26 Dec 2017 12:32:42 +0100 |
69 |
-Subject: [PATCH] x264: Support version 153 |
70 |
- |
71 |
-It has native simultaneus 8 and 10 bit support. |
72 |
---- |
73 |
- libavcodec/libx264.c | 30 ++++++++++++++++++++++++++++++ |
74 |
- 1 file changed, 30 insertions(+) |
75 |
- |
76 |
-diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c |
77 |
-index 0dec12edd..3dc53aaf3 100644 |
78 |
---- a/libavcodec/libx264.c |
79 |
-+++ b/libavcodec/libx264.c |
80 |
-@@ -243,7 +243,11 @@ static int X264_frame(AVCodecContext *ctx, AVPacket *pkt, const AVFrame *frame, |
81 |
- |
82 |
- x264_picture_init( &x4->pic ); |
83 |
- x4->pic.img.i_csp = x4->params.i_csp; |
84 |
-+#if X264_BUILD >= 153 |
85 |
-+ if (x4->params.i_bitdepth > 8) |
86 |
-+#else |
87 |
- if (x264_bit_depth > 8) |
88 |
-+#endif |
89 |
- x4->pic.img.i_csp |= X264_CSP_HIGH_DEPTH; |
90 |
- x4->pic.img.i_plane = 3; |
91 |
- |
92 |
-@@ -395,6 +399,9 @@ static av_cold int X264_init(AVCodecContext *avctx) |
93 |
- x4->params.p_log_private = avctx; |
94 |
- x4->params.i_log_level = X264_LOG_DEBUG; |
95 |
- x4->params.i_csp = convert_pix_fmt(avctx->pix_fmt); |
96 |
-+#if X264_BUILD >= 153 |
97 |
-+ x4->params.i_bitdepth = av_pix_fmt_desc_get(avctx->pix_fmt)->comp[0].depth; |
98 |
-+#endif |
99 |
- |
100 |
- if (avctx->bit_rate) { |
101 |
- x4->params.rc.i_bitrate = avctx->bit_rate / 1000; |
102 |
-@@ -659,6 +666,7 @@ FF_ENABLE_DEPRECATION_WARNINGS |
103 |
- return 0; |
104 |
- } |
105 |
- |
106 |
-+#if X264_BUILD < 153 |
107 |
- static const enum AVPixelFormat pix_fmts_8bit[] = { |
108 |
- AV_PIX_FMT_YUV420P, |
109 |
- AV_PIX_FMT_YUVJ420P, |
110 |
-@@ -685,15 +693,37 @@ static const enum AVPixelFormat pix_fmts_10bit[] = { |
111 |
- AV_PIX_FMT_NV20, |
112 |
- AV_PIX_FMT_NONE |
113 |
- }; |
114 |
-+#else |
115 |
-+static const enum AVPixelFormat pix_fmts_all[] = { |
116 |
-+ AV_PIX_FMT_YUV420P, |
117 |
-+ AV_PIX_FMT_YUVJ420P, |
118 |
-+ AV_PIX_FMT_YUV422P, |
119 |
-+ AV_PIX_FMT_YUVJ422P, |
120 |
-+ AV_PIX_FMT_YUV444P, |
121 |
-+ AV_PIX_FMT_YUVJ444P, |
122 |
-+ AV_PIX_FMT_NV12, |
123 |
-+ AV_PIX_FMT_NV16, |
124 |
-+ AV_PIX_FMT_NV21, |
125 |
-+ AV_PIX_FMT_YUV420P10, |
126 |
-+ AV_PIX_FMT_YUV422P10, |
127 |
-+ AV_PIX_FMT_YUV444P10, |
128 |
-+ AV_PIX_FMT_NV20, |
129 |
-+ AV_PIX_FMT_NONE |
130 |
-+}; |
131 |
-+#endif |
132 |
- |
133 |
- static av_cold void X264_init_static(AVCodec *codec) |
134 |
- { |
135 |
-+#if X264_BUILD < 153 |
136 |
- if (x264_bit_depth == 8) |
137 |
- codec->pix_fmts = pix_fmts_8bit; |
138 |
- else if (x264_bit_depth == 9) |
139 |
- codec->pix_fmts = pix_fmts_9bit; |
140 |
- else if (x264_bit_depth == 10) |
141 |
- codec->pix_fmts = pix_fmts_10bit; |
142 |
-+#else |
143 |
-+ codec->pix_fmts = pix_fmts_all; |
144 |
-+#endif |
145 |
- } |
146 |
- |
147 |
- #define OFFSET(x) offsetof(X264Context, x) |
148 |
--- |
149 |
-2.21.0 |
150 |
- |
151 |
|
152 |
diff --git a/media-video/libav/libav-12.3.ebuild b/media-video/libav/libav-12.3.ebuild |
153 |
deleted file mode 100644 |
154 |
index 8ef66ef0375..00000000000 |
155 |
--- a/media-video/libav/libav-12.3.ebuild |
156 |
+++ /dev/null |
157 |
@@ -1,350 +0,0 @@ |
158 |
-# Copyright 1999-2020 Gentoo Authors |
159 |
-# Distributed under the terms of the GNU General Public License v2 |
160 |
- |
161 |
-EAPI="6" |
162 |
- |
163 |
-inherit flag-o-matic multilib multilib-minimal toolchain-funcs |
164 |
- |
165 |
-if [[ ${PV} == *9999 ]] ; then |
166 |
- : ${EGIT_REPO_URI:="https://git.libav.org/libav.git"} |
167 |
- if [[ ${PV%9999} != "" ]] ; then |
168 |
- : ${EGIT_BRANCH:="release/${PV%.9999}"} |
169 |
- fi |
170 |
- inherit git-r3 |
171 |
-fi |
172 |
- |
173 |
-DESCRIPTION="Complete solution to record, convert and stream audio and video" |
174 |
-HOMEPAGE="https://libav.org/" |
175 |
-if [[ ${PV} == *9999 ]] ; then |
176 |
- SRC_URI="" |
177 |
-elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot |
178 |
- SRC_URI="https://dev.gentoo.org/~lu_zero/libav/${P}.tar.xz" |
179 |
- SRC_URI+=" test? ( https://dev.gentoo.org/~lu_zero/libav/fate-${PV}.tar.xz )" |
180 |
-else # Official release |
181 |
- SRC_URI="https://libav.org/releases/${P}.tar.xz" |
182 |
- FATE_VER=${PV%%_*} |
183 |
- SRC_URI+=" test? ( https://dev.gentoo.org/~lu_zero/libav/fate-12-r1.tar.xz )" |
184 |
-fi |
185 |
- |
186 |
-# 9999 does not have fate-*.tar.xz |
187 |
- |
188 |
-LICENSE="LGPL-2.1 gpl? ( GPL-3 )" |
189 |
-SLOT="0/12" |
190 |
-[[ ${PV} == *9999 ]] || KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
191 |
-IUSE="aac alsa amr bs2b +bzip2 cdio cpudetection custom-cflags debug doc +encode faac fdk |
192 |
- frei0r fontconfig +gpl gsm +hardcoded-tables ieee1394 jack jpeg2k libressl mp3 |
193 |
- +network nvidia openssl opus oss pic pulseaudio rtmp sdl speex ssl |
194 |
- static-libs test theora threads tools truetype twolame v4l vaapi vdpau vorbis vpx X |
195 |
- wavpack webp x264 x265 xvid +zlib" |
196 |
- |
197 |
-# String for CPU features in the useflag[:configure_option] form |
198 |
-# if :configure_option isn't set, it will use 'useflag' as configure option |
199 |
-CPU_FEATURES="altivec armv5te armv6 armv6t2 armvfp:vfp neon" |
200 |
-X86_CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext mmx mmxext sse sse2 sse3 ssse3 sse4_1:sse4 sse4_2:sse42 avx xop fma3 fma4 avx2" |
201 |
-for i in ${X86_CPU_FEATURES} ; do |
202 |
- CPU_FEATURES+=" cpu_flags_x86_${i%:*}:${i#*:}" |
203 |
-done |
204 |
-for i in ${CPU_FEATURES} ; do |
205 |
- IUSE+=" ${i%:*}" |
206 |
-done |
207 |
- |
208 |
-RDEPEND=" |
209 |
- !media-video/ffmpeg:0 |
210 |
- alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) |
211 |
- amr? ( >=media-libs/opencore-amr-0.1.3-r1[${MULTILIB_USEDEP}] ) |
212 |
- bs2b? ( >=media-libs/libbs2b-3.1.0-r1[${MULTILIB_USEDEP}] ) |
213 |
- bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) |
214 |
- cdio? ( >=dev-libs/libcdio-paranoia-0.90_p1-r1[${MULTILIB_USEDEP}] ) |
215 |
- encode? ( |
216 |
- aac? ( >=media-libs/vo-aacenc-0.1.3[${MULTILIB_USEDEP}] ) |
217 |
- amr? ( >=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}] ) |
218 |
- faac? ( >=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}] ) |
219 |
- mp3? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] ) |
220 |
- theora? ( |
221 |
- >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] |
222 |
- >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] |
223 |
- ) |
224 |
- twolame? ( >=media-sound/twolame-0.3.13-r1[${MULTILIB_USEDEP}] ) |
225 |
- vorbis? ( |
226 |
- >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] |
227 |
- >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] |
228 |
- ) |
229 |
- webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] ) |
230 |
- wavpack? ( >=media-sound/wavpack-4.60.1-r1[${MULTILIB_USEDEP}] ) |
231 |
- x264? ( >=media-libs/x264-0.0.20130506:=[${MULTILIB_USEDEP}] ) |
232 |
- x265? ( >=media-libs/x265-1.2:=[${MULTILIB_USEDEP}] ) |
233 |
- xvid? ( >=media-libs/xvid-1.3.2-r1[${MULTILIB_USEDEP}] ) |
234 |
- ) |
235 |
- nvidia? ( media-video/nvidia-video-codec ) |
236 |
- fdk? ( >=media-libs/fdk-aac-0.1.2[${MULTILIB_USEDEP}] ) |
237 |
- frei0r? ( media-plugins/frei0r-plugins ) |
238 |
- gsm? ( >=media-sound/gsm-1.0.13-r1[${MULTILIB_USEDEP}] ) |
239 |
- ieee1394? ( |
240 |
- >=media-libs/libdc1394-2.2.1[${MULTILIB_USEDEP}] |
241 |
- >=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}] |
242 |
- ) |
243 |
- jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] ) |
244 |
- jpeg2k? ( >=media-libs/openjpeg-1.5.0:0[${MULTILIB_USEDEP}] ) |
245 |
- opus? ( >=media-libs/opus-1.0.2-r2[${MULTILIB_USEDEP}] ) |
246 |
- pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] ) |
247 |
- rtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] ) |
248 |
- ssl? ( |
249 |
- openssl? ( |
250 |
- !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) |
251 |
- libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) |
252 |
- ) |
253 |
- !openssl? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] ) |
254 |
- ) |
255 |
- sdl? ( >=media-libs/libsdl-1.2.15-r4[sound,video,${MULTILIB_USEDEP}] ) |
256 |
- speex? ( >=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}] ) |
257 |
- truetype? ( >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] ) |
258 |
- fontconfig? ( >=media-libs/fontconfig-2.10[${MULTILIB_USEDEP}] ) |
259 |
- vaapi? ( >=x11-libs/libva-1.2.1-r1[${MULTILIB_USEDEP}] ) |
260 |
- vdpau? ( >=x11-libs/libvdpau-0.7[${MULTILIB_USEDEP}] ) |
261 |
- vpx? ( >=media-libs/libvpx-1.2.0_pre20130625[${MULTILIB_USEDEP}] ) |
262 |
- X? ( >=x11-libs/libxcb-1.9.1[${MULTILIB_USEDEP}] ) |
263 |
- zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) |
264 |
-" |
265 |
- |
266 |
-DEPEND="${RDEPEND} |
267 |
- >=sys-devel/make-3.81 |
268 |
- doc? ( app-text/texi2html ) |
269 |
- ieee1394? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) |
270 |
- cpu_flags_x86_mmx? ( dev-lang/yasm ) |
271 |
- rtmp? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) |
272 |
- ssl? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) |
273 |
- test? ( sys-devel/bc ) |
274 |
- truetype? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) |
275 |
- fontconfig? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) |
276 |
- v4l? ( sys-kernel/linux-headers ) |
277 |
-" |
278 |
- |
279 |
-# faac can't be binary distributed |
280 |
-# openssl support marked as nonfree |
281 |
-# faac and aac are concurent implementations |
282 |
-# amr and aac require at least lgpl3 |
283 |
-# x264 requires gpl2 |
284 |
-REQUIRED_USE=" |
285 |
- rtmp? ( network ) |
286 |
- amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) cdio? ( gpl ) x265? ( gpl ) |
287 |
- test? ( encode zlib ) |
288 |
- fontconfig? ( truetype ) |
289 |
-" |
290 |
-RESTRICT=" |
291 |
- !test? ( test ) |
292 |
- faac? ( bindist ) fdk? ( bindist ) openssl? ( bindist ) nvidia? ( bindist )" |
293 |
- |
294 |
-MULTILIB_WRAPPED_HEADERS=( |
295 |
- /usr/include/libavutil/avconfig.h |
296 |
-) |
297 |
- |
298 |
-src_unpack() { |
299 |
- [[ ${PV} == *9999 ]] && git-r3_src_unpack |
300 |
- # 9999 does not have fate-*.tar.xz |
301 |
- [[ ${PV%9999} != "" ]] && default_src_unpack |
302 |
-} |
303 |
- |
304 |
-src_prepare() { |
305 |
- eapply_user |
306 |
- eapply "${FILESDIR}/${P}-x264.patch" # bug 681888 |
307 |
- |
308 |
- # if we have snapshot then we need to hardcode the version |
309 |
- if [[ ${PV%_p*} != ${PV} ]]; then |
310 |
- sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die |
311 |
- fi |
312 |
- |
313 |
- TOOLS=( aviocat graph2dot ismindex pktdumper qt-faststart trasher ) |
314 |
- use zlib && TOOLS+=( cws2fws ) |
315 |
- |
316 |
- MAKEOPTS+=" V=1" |
317 |
-} |
318 |
- |
319 |
-multilib_src_configure() { |
320 |
- local myconf=( ${EXTRA_LIBAV_CONF} ) |
321 |
- local uses i |
322 |
- |
323 |
- # 9999 does not have fate-*.tar.xz |
324 |
- [[ ${PV%9999} != "" ]] && use test && myconf+=( --samples="${WORKDIR}/fate" ) |
325 |
- |
326 |
- myconf+=( |
327 |
- $(use_enable gpl) |
328 |
- $(use_enable gpl version3) |
329 |
- --enable-avfilter |
330 |
- ) |
331 |
- |
332 |
- # enabled by default |
333 |
- uses="debug doc network zlib" |
334 |
- for i in ${uses}; do |
335 |
- use ${i} || myconf+=( --disable-${i} ) |
336 |
- done |
337 |
- use bzip2 || myconf+=( --disable-bzlib ) |
338 |
- use sdl || myconf+=( --disable-avplay ) |
339 |
- |
340 |
- if use ssl; then |
341 |
- use openssl && myconf+=( --enable-openssl --enable-nonfree ) \ |
342 |
- || myconf+=( --enable-gnutls ) |
343 |
- fi |
344 |
- |
345 |
- use custom-cflags && myconf+=( --disable-optimizations ) |
346 |
- use cpudetection && myconf+=( --enable-runtime-cpudetect ) |
347 |
- |
348 |
- use vdpau || myconf+=( --disable-vdpau ) |
349 |
- |
350 |
- use vaapi && myconf+=( --enable-vaapi ) |
351 |
- |
352 |
- NVIDIA_INCLUDES="-I/opt/nvidia-video-codec/include -I/opt/cuda/include" |
353 |
- NVIDIA_LIBS="-L/opt/cuda/lib64" |
354 |
- use nvidia && myconf+=( --enable-nonfree --enable-cuda --enable-libnpp |
355 |
- --extra-cflags="$NVIDIA_INCLUDES" --extra-ldflags="$NVIDIA_LIBS" ) |
356 |
- |
357 |
- # Encoders |
358 |
- if use encode; then |
359 |
- use faac && myconf+=( --enable-nonfree ) |
360 |
- use mp3 && myconf+=( --enable-libmp3lame ) |
361 |
- use amr && myconf+=( --enable-libvo-amrwbenc ) |
362 |
- use aac && myconf+=( --enable-libvo-aacenc ) |
363 |
- use nvidia && myconf+=( --enable-nvenc ) |
364 |
- uses="faac theora twolame vorbis wavpack webp x264 x265 xvid" |
365 |
- for i in ${uses}; do |
366 |
- use ${i} && myconf+=( --enable-lib${i} ) |
367 |
- done |
368 |
- else |
369 |
- myconf+=( --disable-encoders ) |
370 |
- fi |
371 |
- |
372 |
- # libavdevice options |
373 |
- use cdio && myconf+=( --enable-libcdio ) |
374 |
- use ieee1394 && myconf+=( --enable-libdc1394 ) |
375 |
- use pulseaudio && myconf+=( --enable-libpulse ) |
376 |
- |
377 |
- # Indevs |
378 |
- # v4l1 is gone since linux-headers-2.6.38 |
379 |
- myconf+=( --disable-indev=v4l ) |
380 |
- use v4l || myconf+=( --disable-indev=v4l2 ) |
381 |
- for i in alsa oss jack; do |
382 |
- use ${i} || myconf+=( --disable-indev=${i} ) |
383 |
- done |
384 |
- use X && myconf+=( --enable-libxcb ) |
385 |
- # Outdevs |
386 |
- for i in alsa oss ; do |
387 |
- use ${i} || myconf+=( --disable-outdev=${i} ) |
388 |
- done |
389 |
- # libavfilter options |
390 |
- use bs2b && myconf+=( --enable-libbs2b ) |
391 |
- multilib_is_native_abi && use frei0r && myconf+=( --enable-frei0r ) |
392 |
- use truetype && myconf+=( --enable-libfreetype ) |
393 |
- use fontconfig && myconf+=( --enable-libfontconfig ) |
394 |
- |
395 |
- # Threads; we only support pthread for now |
396 |
- use threads && myconf+=( --enable-pthreads ) |
397 |
- |
398 |
- # Decoders |
399 |
- use amr && myconf+=( --enable-libopencore-amrwb --enable-libopencore-amrnb ) |
400 |
- use fdk && myconf+=( --enable-nonfree --enable-libfdk-aac ) |
401 |
- uses="gsm opus rtmp speex vpx" |
402 |
- for i in ${uses}; do |
403 |
- use ${i} && myconf+=( --enable-lib${i} ) |
404 |
- done |
405 |
- use jpeg2k && myconf+=( --enable-libopenjpeg ) |
406 |
- |
407 |
- # CPU features |
408 |
- for i in ${CPU_FEATURES}; do |
409 |
- use ${i%:*} || myconf+=( --disable-${i#*:} ) |
410 |
- done |
411 |
- |
412 |
- # pass the right -mfpu as extra |
413 |
- use neon && use arm && append-cflags -mfpu=neon |
414 |
- |
415 |
- # disable mmx accelerated code if PIC is required |
416 |
- # as the provided asm decidedly is not PIC for x86. |
417 |
- if use pic && [[ ${ABI} == x86 ]]; then |
418 |
- myconf+=( --disable-mmx --disable-mmxext ) |
419 |
- fi |
420 |
- |
421 |
- # Option to force building pic |
422 |
- use pic && myconf+=( --enable-pic ) |
423 |
- |
424 |
- # cross compile support |
425 |
- if tc-is-cross-compiler ; then |
426 |
- myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- ) |
427 |
- case ${CHOST} in |
428 |
- *freebsd*) |
429 |
- myconf+=( --target-os=freebsd ) |
430 |
- ;; |
431 |
- mingw32*) |
432 |
- myconf+=( --target-os=mingw32 ) |
433 |
- ;; |
434 |
- *linux*) |
435 |
- myconf+=( --target-os=linux ) |
436 |
- ;; |
437 |
- esac |
438 |
- fi |
439 |
- |
440 |
- # Misc stuff |
441 |
- use hardcoded-tables && myconf+=( --enable-hardcoded-tables ) |
442 |
- |
443 |
- # Forcing arm would make the compiler break left and right |
444 |
- if [[ ${ABI} == arm ]]; then |
445 |
- filter-flags -marm |
446 |
- fi |
447 |
- |
448 |
- # Specific workarounds for too-few-registers arch... |
449 |
- if [[ ${ABI} == x86 ]]; then |
450 |
- local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} |
451 |
- filter-flags -fforce-addr -momit-leaf-frame-pointer |
452 |
- append-flags -fomit-frame-pointer |
453 |
- is-flag -O? || append-flags -O2 |
454 |
- if use debug; then |
455 |
- # no need to warn about debug if not using debug flag |
456 |
- ewarn "" |
457 |
- ewarn "Debug information will be almost useless as the frame pointer is omitted." |
458 |
- ewarn "This makes debugging harder, so crashes that has no fixed behavior are" |
459 |
- ewarn "difficult to fix. Please have that in mind." |
460 |
- ewarn "" |
461 |
- fi |
462 |
- fi |
463 |
- |
464 |
- set -- "${S}"/configure \ |
465 |
- --prefix="${EPREFIX}"/usr \ |
466 |
- --libdir="${EPREFIX}"/usr/$(get_libdir) \ |
467 |
- --shlibdir="${EPREFIX}"/usr/$(get_libdir) \ |
468 |
- --mandir="${EPREFIX}"/usr/share/man \ |
469 |
- --enable-shared \ |
470 |
- --cc="$(tc-getCC)" \ |
471 |
- --ar="$(tc-getAR)" \ |
472 |
- --optflags="${CFLAGS}" \ |
473 |
- --extra-cflags="${CFLAGS}" \ |
474 |
- $(use_enable static-libs static) \ |
475 |
- "${myconf[@]}" |
476 |
- echo "${@}" |
477 |
- "${@}" || die |
478 |
-} |
479 |
- |
480 |
-multilib_src_compile() { |
481 |
- emake |
482 |
- |
483 |
- if use tools; then |
484 |
- tc-export CC |
485 |
- |
486 |
- emake ${TOOLS[@]/#/tools/} |
487 |
- fi |
488 |
-} |
489 |
- |
490 |
-multilib_src_install() { |
491 |
- emake DESTDIR="${D}" install install-man |
492 |
- use doc && dodoc doc/*.html |
493 |
- |
494 |
- if use tools; then |
495 |
- dobin ${TOOLS[@]/#/tools/} |
496 |
- fi |
497 |
-} |
498 |
- |
499 |
-multilib_src_install_all() { |
500 |
- dodoc Changelog README.md INSTALL |
501 |
-} |
502 |
- |
503 |
-multilib_src_test() { |
504 |
- local _libs="$(for i in lib*/;do echo -n "${BUILD_DIR}/${i%/}:";done)" |
505 |
- einfo "LD_LIBRARY_PATH is set to \"${_libs}\"" |
506 |
- LD_LIBRARY_PATH="${_libs}" emake -j1 fate V=1 |
507 |
-} |
508 |
|
509 |
diff --git a/media-video/libav/libav-13_pre20171219.ebuild b/media-video/libav/libav-13_pre20171219.ebuild |
510 |
deleted file mode 100644 |
511 |
index 31623100165..00000000000 |
512 |
--- a/media-video/libav/libav-13_pre20171219.ebuild |
513 |
+++ /dev/null |
514 |
@@ -1,336 +0,0 @@ |
515 |
-# Copyright 1999-2019 Gentoo Authors |
516 |
-# Distributed under the terms of the GNU General Public License v2 |
517 |
- |
518 |
-EAPI=5 |
519 |
- |
520 |
-inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs |
521 |
- |
522 |
-if [[ ${PV} == *9999 ]] ; then |
523 |
- : ${EGIT_REPO_URI:="git://git.libav.org/libav.git"} |
524 |
- if [[ ${PV%9999} != "" ]] ; then |
525 |
- : ${EGIT_BRANCH:="release/${PV%.9999}"} |
526 |
- fi |
527 |
- inherit git-r3 |
528 |
-fi |
529 |
- |
530 |
-DESCRIPTION="Complete solution to record, convert and stream audio and video" |
531 |
-HOMEPAGE="https://libav.org/" |
532 |
-if [[ ${PV} == *9999 ]] ; then |
533 |
- SRC_URI="" |
534 |
-elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot |
535 |
- SRC_URI="https://dev.gentoo.org/~lu_zero/libav/${P}.tar.xz" |
536 |
-else # Official release |
537 |
- SRC_URI="https://libav.org/releases/${P}.tar.xz" |
538 |
-fi |
539 |
- |
540 |
-SRC_URI+=" test? ( https://dev.gentoo.org/~lu_zero/libav/fate-12-r1.tar.xz )" |
541 |
- |
542 |
-LICENSE="LGPL-2.1 gpl? ( GPL-3 )" |
543 |
-SLOT="0/13" |
544 |
-[[ ${PV} == *9999 ]] || KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
545 |
-IUSE="aac alsa amr bs2b +bzip2 cdio cpudetection custom-cflags debug doc +encode faac fdk |
546 |
- frei0r fontconfig +gpl gsm +hardcoded-tables ieee1394 jack jpeg2k libressl mp3 |
547 |
- +network openssl opus oss pic pulseaudio rtmp sdl speex ssl |
548 |
- static-libs test theora threads tools truetype twolame v4l vaapi vdpau vorbis vpx X |
549 |
- wavpack webp x264 x265 xvid +zlib" |
550 |
- |
551 |
-# String for CPU features in the useflag[:configure_option] form |
552 |
-# if :configure_option isn't set, it will use 'useflag' as configure option |
553 |
-CPU_FEATURES="altivec armv5te armv6 armv6t2 armvfp:vfp neon" |
554 |
-X86_CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext mmx mmxext sse sse2 sse3 ssse3 sse4_1:sse4 sse4_2:sse42 avx xop fma3 fma4 avx2" |
555 |
-for i in ${X86_CPU_FEATURES} ; do |
556 |
- CPU_FEATURES+=" cpu_flags_x86_${i%:*}:${i#*:}" |
557 |
-done |
558 |
-for i in ${CPU_FEATURES} ; do |
559 |
- IUSE+=" ${i%:*}" |
560 |
-done |
561 |
- |
562 |
-RDEPEND=" |
563 |
- !media-video/ffmpeg:0 |
564 |
- alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) |
565 |
- amr? ( >=media-libs/opencore-amr-0.1.3-r1[${MULTILIB_USEDEP}] ) |
566 |
- bs2b? ( >=media-libs/libbs2b-3.1.0-r1[${MULTILIB_USEDEP}] ) |
567 |
- bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) |
568 |
- cdio? ( >=dev-libs/libcdio-paranoia-0.90_p1-r1[${MULTILIB_USEDEP}] ) |
569 |
- encode? ( |
570 |
- aac? ( >=media-libs/vo-aacenc-0.1.3[${MULTILIB_USEDEP}] ) |
571 |
- amr? ( >=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}] ) |
572 |
- faac? ( >=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}] ) |
573 |
- mp3? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] ) |
574 |
- theora? ( |
575 |
- >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] |
576 |
- >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] |
577 |
- ) |
578 |
- twolame? ( >=media-sound/twolame-0.3.13-r1[${MULTILIB_USEDEP}] ) |
579 |
- vorbis? ( |
580 |
- >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] |
581 |
- >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] |
582 |
- ) |
583 |
- webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] ) |
584 |
- wavpack? ( >=media-sound/wavpack-4.60.1-r1[${MULTILIB_USEDEP}] ) |
585 |
- x264? ( >=media-libs/x264-0.0.20130506:=[${MULTILIB_USEDEP}] ) |
586 |
- x265? ( >=media-libs/x265-1.2:=[${MULTILIB_USEDEP}] ) |
587 |
- xvid? ( >=media-libs/xvid-1.3.2-r1[${MULTILIB_USEDEP}] ) |
588 |
- ) |
589 |
- fdk? ( >=media-libs/fdk-aac-0.1.2[${MULTILIB_USEDEP}] ) |
590 |
- frei0r? ( media-plugins/frei0r-plugins ) |
591 |
- gsm? ( >=media-sound/gsm-1.0.13-r1[${MULTILIB_USEDEP}] ) |
592 |
- ieee1394? ( |
593 |
- >=media-libs/libdc1394-2.2.1[${MULTILIB_USEDEP}] |
594 |
- >=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}] |
595 |
- ) |
596 |
- jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] ) |
597 |
- jpeg2k? ( >=media-libs/openjpeg-1.5.0:0[${MULTILIB_USEDEP}] ) |
598 |
- opus? ( >=media-libs/opus-1.0.2-r2[${MULTILIB_USEDEP}] ) |
599 |
- pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] ) |
600 |
- rtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] ) |
601 |
- ssl? ( |
602 |
- openssl? ( |
603 |
- !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) |
604 |
- libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) |
605 |
- ) |
606 |
- !openssl? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] ) |
607 |
- ) |
608 |
- sdl? ( >=media-libs/libsdl-1.2.15-r4[sound,video,${MULTILIB_USEDEP}] ) |
609 |
- speex? ( >=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}] ) |
610 |
- truetype? ( >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] ) |
611 |
- fontconfig? ( >=media-libs/fontconfig-2.10[${MULTILIB_USEDEP}] ) |
612 |
- vaapi? ( >=x11-libs/libva-1.2.1-r1[${MULTILIB_USEDEP}] ) |
613 |
- vdpau? ( >=x11-libs/libvdpau-0.7[${MULTILIB_USEDEP}] ) |
614 |
- vpx? ( >=media-libs/libvpx-1.2.0_pre20130625[${MULTILIB_USEDEP}] ) |
615 |
- X? ( >=x11-libs/libxcb-1.9.1[${MULTILIB_USEDEP}] ) |
616 |
- zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) |
617 |
-" |
618 |
- |
619 |
-DEPEND="${RDEPEND} |
620 |
- >=sys-devel/make-3.81 |
621 |
- doc? ( app-text/texi2html ) |
622 |
- ieee1394? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) |
623 |
- cpu_flags_x86_mmx? ( >=dev-lang/nasm-2.13 ) |
624 |
- rtmp? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) |
625 |
- ssl? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) |
626 |
- test? ( sys-devel/bc ) |
627 |
- truetype? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) |
628 |
- fontconfig? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) |
629 |
- v4l? ( sys-kernel/linux-headers ) |
630 |
-" |
631 |
- |
632 |
-# faac can't be binary distributed |
633 |
-# openssl support marked as nonfree |
634 |
-# faac and aac are concurent implementations |
635 |
-# amr and aac require at least lgpl3 |
636 |
-# x264 requires gpl2 |
637 |
-REQUIRED_USE=" |
638 |
- rtmp? ( network ) |
639 |
- amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) cdio? ( gpl ) x265? ( gpl ) |
640 |
- test? ( encode zlib ) |
641 |
- fontconfig? ( truetype ) |
642 |
-" |
643 |
-RESTRICT=" |
644 |
- !test? ( test ) |
645 |
- faac? ( bindist ) fdk? ( bindist ) openssl? ( bindist )" |
646 |
- |
647 |
-MULTILIB_WRAPPED_HEADERS=( |
648 |
- /usr/include/libavutil/avconfig.h |
649 |
-) |
650 |
- |
651 |
-src_unpack() { |
652 |
- [[ ${PV} == *9999 ]] && git-r3_src_unpack |
653 |
- # 9999 does not have fate-*.tar.xz |
654 |
- [[ ${PV%9999} != "" ]] && default_src_unpack |
655 |
-} |
656 |
- |
657 |
-src_prepare() { |
658 |
- epatch_user |
659 |
- |
660 |
- # if we have snapshot then we need to hardcode the version |
661 |
- if [[ ${PV%_p*} != ${PV} ]]; then |
662 |
- sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/avbuild/version.sh" || die |
663 |
- fi |
664 |
- |
665 |
- TOOLS=( aviocat graph2dot ismindex pktdumper qt-faststart trasher ) |
666 |
- use zlib && TOOLS+=( cws2fws ) |
667 |
- |
668 |
- MAKEOPTS+=" V=1" |
669 |
-} |
670 |
- |
671 |
-multilib_src_configure() { |
672 |
- local myconf=( ${EXTRA_LIBAV_CONF} ) |
673 |
- local uses i |
674 |
- |
675 |
- # 9999 does not have fate-*.tar.xz |
676 |
- [[ ${PV%9999} != "" ]] && use test && myconf+=( --samples="${WORKDIR}/fate" ) |
677 |
- |
678 |
- myconf+=( |
679 |
- $(use_enable gpl) |
680 |
- $(use_enable gpl version3) |
681 |
- --enable-avfilter |
682 |
- ) |
683 |
- |
684 |
- # enabled by default |
685 |
- uses="debug doc network zlib" |
686 |
- for i in ${uses}; do |
687 |
- use ${i} || myconf+=( --disable-${i} ) |
688 |
- done |
689 |
- use bzip2 || myconf+=( --disable-bzlib ) |
690 |
- use sdl || myconf+=( --disable-avplay ) |
691 |
- |
692 |
- if use ssl; then |
693 |
- use openssl && myconf+=( --enable-openssl --enable-nonfree ) \ |
694 |
- || myconf+=( --enable-gnutls ) |
695 |
- fi |
696 |
- |
697 |
- use custom-cflags && myconf+=( --disable-optimizations ) |
698 |
- use cpudetection && myconf+=( --enable-runtime-cpudetect ) |
699 |
- |
700 |
- use vdpau || myconf+=( --disable-vdpau ) |
701 |
- |
702 |
- use vaapi && myconf+=( --enable-vaapi ) |
703 |
- |
704 |
- # Encoders |
705 |
- if use encode; then |
706 |
- use faac && myconf+=( --enable-nonfree ) |
707 |
- use mp3 && myconf+=( --enable-libmp3lame ) |
708 |
- use amr && myconf+=( --enable-libvo-amrwbenc ) |
709 |
- use aac && myconf+=( --enable-libvo-aacenc ) |
710 |
- uses="faac theora twolame vorbis wavpack webp x264 x265 xvid" |
711 |
- for i in ${uses}; do |
712 |
- use ${i} && myconf+=( --enable-lib${i} ) |
713 |
- done |
714 |
- else |
715 |
- myconf+=( --disable-encoders ) |
716 |
- fi |
717 |
- |
718 |
- # libavdevice options |
719 |
- use cdio && myconf+=( --enable-libcdio ) |
720 |
- use ieee1394 && myconf+=( --enable-libdc1394 ) |
721 |
- use pulseaudio && myconf+=( --enable-libpulse ) |
722 |
- |
723 |
- # Indevs |
724 |
- # v4l1 is gone since linux-headers-2.6.38 |
725 |
- myconf+=( --disable-indev=v4l ) |
726 |
- use v4l || myconf+=( --disable-indev=v4l2 ) |
727 |
- for i in alsa oss jack; do |
728 |
- use ${i} || myconf+=( --disable-indev=${i} ) |
729 |
- done |
730 |
- use X && myconf+=( --enable-libxcb ) |
731 |
- |
732 |
- # libavfilter options |
733 |
- use bs2b && myconf+=( --enable-libbs2b ) |
734 |
- multilib_is_native_abi && use frei0r && myconf+=( --enable-frei0r ) |
735 |
- use truetype && myconf+=( --enable-libfreetype ) |
736 |
- use fontconfig && myconf+=( --enable-libfontconfig ) |
737 |
- |
738 |
- # Threads; we only support pthread for now |
739 |
- use threads && myconf+=( --enable-pthreads ) |
740 |
- |
741 |
- # Decoders |
742 |
- use amr && myconf+=( --enable-libopencore-amrwb --enable-libopencore-amrnb ) |
743 |
- use fdk && myconf+=( --enable-nonfree --enable-libfdk-aac ) |
744 |
- uses="gsm opus rtmp speex vpx" |
745 |
- for i in ${uses}; do |
746 |
- use ${i} && myconf+=( --enable-lib${i} ) |
747 |
- done |
748 |
- use jpeg2k && myconf+=( --enable-libopenjpeg ) |
749 |
- |
750 |
- # CPU features |
751 |
- for i in ${CPU_FEATURES}; do |
752 |
- use ${i%:*} || myconf+=( --disable-${i#*:} ) |
753 |
- done |
754 |
- |
755 |
- # pass the right -mfpu as extra |
756 |
- use neon && use arm && append-cflags -mfpu=neon |
757 |
- |
758 |
- # disable mmx accelerated code if PIC is required |
759 |
- # as the provided asm decidedly is not PIC for x86. |
760 |
- if use pic && [[ ${ABI} == x86 ]]; then |
761 |
- myconf+=( --disable-mmx --disable-mmxext ) |
762 |
- fi |
763 |
- |
764 |
- # Option to force building pic |
765 |
- use pic && myconf+=( --enable-pic ) |
766 |
- |
767 |
- # cross compile support |
768 |
- if tc-is-cross-compiler ; then |
769 |
- myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- ) |
770 |
- case ${CHOST} in |
771 |
- *freebsd*) |
772 |
- myconf+=( --target-os=freebsd ) |
773 |
- ;; |
774 |
- mingw32*) |
775 |
- myconf+=( --target-os=mingw32 ) |
776 |
- ;; |
777 |
- *linux*) |
778 |
- myconf+=( --target-os=linux ) |
779 |
- ;; |
780 |
- esac |
781 |
- fi |
782 |
- |
783 |
- # Misc stuff |
784 |
- use hardcoded-tables && myconf+=( --enable-hardcoded-tables ) |
785 |
- |
786 |
- # Forcing arm would make the compiler break left and right |
787 |
- if [[ ${ABI} == arm ]]; then |
788 |
- filter-flags -marm |
789 |
- fi |
790 |
- |
791 |
- # Specific workarounds for too-few-registers arch... |
792 |
- if [[ ${ABI} == x86 ]]; then |
793 |
- local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} |
794 |
- filter-flags -fforce-addr -momit-leaf-frame-pointer |
795 |
- append-flags -fomit-frame-pointer |
796 |
- is-flag -O? || append-flags -O2 |
797 |
- if use debug; then |
798 |
- # no need to warn about debug if not using debug flag |
799 |
- ewarn "" |
800 |
- ewarn "Debug information will be almost useless as the frame pointer is omitted." |
801 |
- ewarn "This makes debugging harder, so crashes that has no fixed behavior are" |
802 |
- ewarn "difficult to fix. Please have that in mind." |
803 |
- ewarn "" |
804 |
- fi |
805 |
- fi |
806 |
- |
807 |
- set -- "${S}"/configure \ |
808 |
- --prefix="${EPREFIX}"/usr \ |
809 |
- --libdir="${EPREFIX}"/usr/$(get_libdir) \ |
810 |
- --shlibdir="${EPREFIX}"/usr/$(get_libdir) \ |
811 |
- --mandir="${EPREFIX}"/usr/share/man \ |
812 |
- --enable-shared \ |
813 |
- --cc="$(tc-getCC)" \ |
814 |
- --ar="$(tc-getAR)" \ |
815 |
- --optflags="${CFLAGS}" \ |
816 |
- --extra-cflags="${CFLAGS}" \ |
817 |
- $(use_enable static-libs static) \ |
818 |
- "${myconf[@]}" |
819 |
- echo "${@}" |
820 |
- "${@}" || die |
821 |
-} |
822 |
- |
823 |
-multilib_src_compile() { |
824 |
- emake |
825 |
- |
826 |
- if use tools; then |
827 |
- tc-export CC |
828 |
- |
829 |
- emake ${TOOLS[@]/#/tools/} |
830 |
- fi |
831 |
-} |
832 |
- |
833 |
-multilib_src_install() { |
834 |
- emake DESTDIR="${D}" install install-man |
835 |
- use doc && dodoc doc/*.html |
836 |
- |
837 |
- if use tools; then |
838 |
- dobin ${TOOLS[@]/#/tools/} |
839 |
- fi |
840 |
-} |
841 |
- |
842 |
-multilib_src_install_all() { |
843 |
- dodoc Changelog README.md INSTALL |
844 |
-} |
845 |
- |
846 |
-multilib_src_test() { |
847 |
- local _libs="$(for i in lib*/;do echo -n "${BUILD_DIR}/${i%/}:";done)" |
848 |
- einfo "LD_LIBRARY_PATH is set to \"${_libs}\"" |
849 |
- LD_LIBRARY_PATH="${_libs}" emake -k -j1 fate |
850 |
-} |
851 |
|
852 |
diff --git a/media-video/libav/libav-9999.ebuild b/media-video/libav/libav-9999.ebuild |
853 |
deleted file mode 100644 |
854 |
index 72b3d24390d..00000000000 |
855 |
--- a/media-video/libav/libav-9999.ebuild |
856 |
+++ /dev/null |
857 |
@@ -1,339 +0,0 @@ |
858 |
-# Copyright 1999-2019 Gentoo Authors |
859 |
-# Distributed under the terms of the GNU General Public License v2 |
860 |
- |
861 |
-EAPI="6" |
862 |
- |
863 |
-inherit flag-o-matic multilib multilib-minimal toolchain-funcs |
864 |
- |
865 |
-if [[ ${PV} == *9999 ]] ; then |
866 |
- : ${EGIT_REPO_URI:="https://git.libav.org/libav.git"} |
867 |
- if [[ ${PV%9999} != "" ]] ; then |
868 |
- : ${EGIT_BRANCH:="release/${PV%.9999}"} |
869 |
- fi |
870 |
- inherit git-r3 |
871 |
-fi |
872 |
- |
873 |
-DESCRIPTION="Complete solution to record, convert and stream audio and video" |
874 |
-HOMEPAGE="https://libav.org/" |
875 |
-if [[ ${PV} == *9999 ]] ; then |
876 |
- SRC_URI="" |
877 |
-elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot |
878 |
- SRC_URI="https://dev.gentoo.org/~lu_zero/libav/${P}.tar.xz" |
879 |
- SRC_URI+=" test? ( https://dev.gentoo.org/~lu_zero/libav/fate-${PV}.tar.xz )" |
880 |
-else # Official release |
881 |
- SRC_URI="https://libav.org/releases/${P}.tar.xz" |
882 |
- SRC_URI+=" test? ( https://dev.gentoo.org/~lu_zero/libav/fate-${PV%%.*}.tar.xz )" |
883 |
-fi |
884 |
- |
885 |
-LICENSE="LGPL-2.1 gpl? ( GPL-3 )" |
886 |
-SLOT="0/13" |
887 |
-[[ ${PV} == *9999 ]] || KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
888 |
-IUSE="aac alsa amr bs2b +bzip2 cdio cpudetection custom-cflags debug doc +encode faac fdk |
889 |
- frei0r fontconfig +gpl gsm +hardcoded-tables ieee1394 jack jpeg2k libressl mp3 |
890 |
- +network openssl opus oss pic pulseaudio rtmp sdl speex ssl |
891 |
- static-libs test theora threads tools truetype twolame v4l vaapi vdpau vorbis vpx X |
892 |
- wavpack webp x264 x265 xvid +zlib" |
893 |
- |
894 |
-# String for CPU features in the useflag[:configure_option] form |
895 |
-# if :configure_option isn't set, it will use 'useflag' as configure option |
896 |
-CPU_FEATURES="altivec armv5te armv6 armv6t2 armvfp:vfp neon" |
897 |
-X86_CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext mmx mmxext sse sse2 sse3 ssse3 sse4_1:sse4 sse4_2:sse42 avx xop fma3 fma4 avx2" |
898 |
-for i in ${X86_CPU_FEATURES} ; do |
899 |
- CPU_FEATURES+=" cpu_flags_x86_${i%:*}:${i#*:}" |
900 |
-done |
901 |
-for i in ${CPU_FEATURES} ; do |
902 |
- IUSE+=" ${i%:*}" |
903 |
-done |
904 |
- |
905 |
-RDEPEND=" |
906 |
- !media-video/ffmpeg:0 |
907 |
- alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) |
908 |
- amr? ( >=media-libs/opencore-amr-0.1.3-r1[${MULTILIB_USEDEP}] ) |
909 |
- bs2b? ( >=media-libs/libbs2b-3.1.0-r1[${MULTILIB_USEDEP}] ) |
910 |
- bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) |
911 |
- cdio? ( >=dev-libs/libcdio-paranoia-0.90_p1-r1[${MULTILIB_USEDEP}] ) |
912 |
- encode? ( |
913 |
- aac? ( >=media-libs/vo-aacenc-0.1.3[${MULTILIB_USEDEP}] ) |
914 |
- amr? ( >=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}] ) |
915 |
- faac? ( >=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}] ) |
916 |
- mp3? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] ) |
917 |
- theora? ( |
918 |
- >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] |
919 |
- >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] |
920 |
- ) |
921 |
- twolame? ( >=media-sound/twolame-0.3.13-r1[${MULTILIB_USEDEP}] ) |
922 |
- vorbis? ( |
923 |
- >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] |
924 |
- >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] |
925 |
- ) |
926 |
- webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] ) |
927 |
- wavpack? ( >=media-sound/wavpack-4.60.1-r1[${MULTILIB_USEDEP}] ) |
928 |
- x264? ( >=media-libs/x264-0.0.20130506:=[${MULTILIB_USEDEP}] ) |
929 |
- x265? ( >=media-libs/x265-1.2:=[${MULTILIB_USEDEP}] ) |
930 |
- xvid? ( >=media-libs/xvid-1.3.2-r1[${MULTILIB_USEDEP}] ) |
931 |
- ) |
932 |
- fdk? ( >=media-libs/fdk-aac-0.1.2[${MULTILIB_USEDEP}] ) |
933 |
- frei0r? ( media-plugins/frei0r-plugins ) |
934 |
- gsm? ( >=media-sound/gsm-1.0.13-r1[${MULTILIB_USEDEP}] ) |
935 |
- ieee1394? ( |
936 |
- >=media-libs/libdc1394-2.2.1[${MULTILIB_USEDEP}] |
937 |
- >=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}] |
938 |
- ) |
939 |
- jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] ) |
940 |
- jpeg2k? ( >=media-libs/openjpeg-1.5.0:0[${MULTILIB_USEDEP}] ) |
941 |
- opus? ( >=media-libs/opus-1.0.2-r2[${MULTILIB_USEDEP}] ) |
942 |
- pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] ) |
943 |
- rtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] ) |
944 |
- ssl? ( |
945 |
- openssl? ( |
946 |
- !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) |
947 |
- libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) |
948 |
- ) |
949 |
- !openssl? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] ) |
950 |
- ) |
951 |
- sdl? ( >=media-libs/libsdl-1.2.15-r4[sound,video,${MULTILIB_USEDEP}] ) |
952 |
- speex? ( >=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}] ) |
953 |
- truetype? ( >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] ) |
954 |
- fontconfig? ( >=media-libs/fontconfig-2.10[${MULTILIB_USEDEP}] ) |
955 |
- vaapi? ( >=x11-libs/libva-1.2.1-r1[${MULTILIB_USEDEP}] ) |
956 |
- vdpau? ( >=x11-libs/libvdpau-0.7[${MULTILIB_USEDEP}] ) |
957 |
- vpx? ( >=media-libs/libvpx-1.2.0_pre20130625[${MULTILIB_USEDEP}] ) |
958 |
- X? ( >=x11-libs/libxcb-1.9.1[${MULTILIB_USEDEP}] ) |
959 |
- zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) |
960 |
-" |
961 |
- |
962 |
-DEPEND="${RDEPEND} |
963 |
- >=sys-devel/make-3.81 |
964 |
- doc? ( app-text/texi2html ) |
965 |
- ieee1394? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) |
966 |
- cpu_flags_x86_mmx? ( >=dev-lang/nasm-2.13 ) |
967 |
- rtmp? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) |
968 |
- ssl? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) |
969 |
- test? ( sys-devel/bc ) |
970 |
- truetype? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) |
971 |
- fontconfig? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] ) |
972 |
- v4l? ( sys-kernel/linux-headers ) |
973 |
-" |
974 |
- |
975 |
-# faac can't be binary distributed |
976 |
-# openssl support marked as nonfree |
977 |
-# faac and aac are concurent implementations |
978 |
-# amr and aac require at least lgpl3 |
979 |
-# x264 requires gpl2 |
980 |
-REQUIRED_USE=" |
981 |
- rtmp? ( network ) |
982 |
- amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) cdio? ( gpl ) x265? ( gpl ) |
983 |
- test? ( encode zlib ) |
984 |
- fontconfig? ( truetype ) |
985 |
-" |
986 |
-RESTRICT=" |
987 |
- !test? ( test ) |
988 |
- faac? ( bindist ) fdk? ( bindist ) openssl? ( bindist )" |
989 |
- |
990 |
-MULTILIB_WRAPPED_HEADERS=( |
991 |
- /usr/include/libavutil/avconfig.h |
992 |
-) |
993 |
- |
994 |
-src_unpack() { |
995 |
- [[ ${PV} == *9999 ]] && git-r3_src_unpack |
996 |
- # 9999 does not have fate-*.tar.xz |
997 |
- [[ ${PV%9999} != "" ]] && default_src_unpack |
998 |
-} |
999 |
- |
1000 |
-src_prepare() { |
1001 |
- eapply_user |
1002 |
- |
1003 |
- # if we have snapshot then we need to hardcode the version |
1004 |
- if [[ ${PV%_p*} != ${PV} ]]; then |
1005 |
- sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die |
1006 |
- fi |
1007 |
- |
1008 |
- TOOLS=( aviocat graph2dot ismindex pktdumper qt-faststart trasher ) |
1009 |
- use zlib && TOOLS+=( cws2fws ) |
1010 |
- |
1011 |
- MAKEOPTS+=" V=1" |
1012 |
- |
1013 |
- # needed at leasts for tests in live ebuild |
1014 |
- multilib_copy_sources |
1015 |
-} |
1016 |
- |
1017 |
-multilib_src_configure() { |
1018 |
- local myconf=( ${EXTRA_LIBAV_CONF} ) |
1019 |
- local uses i |
1020 |
- |
1021 |
- # 9999 does not have fate-*.tar.xz |
1022 |
- [[ ${PV%9999} != "" ]] && use test && myconf+=( --samples="${WORKDIR}/fate" ) |
1023 |
- |
1024 |
- myconf+=( |
1025 |
- $(use_enable gpl) |
1026 |
- $(use_enable gpl version3) |
1027 |
- --enable-avfilter |
1028 |
- ) |
1029 |
- |
1030 |
- # enabled by default |
1031 |
- uses="debug doc network zlib" |
1032 |
- for i in ${uses}; do |
1033 |
- use ${i} || myconf+=( --disable-${i} ) |
1034 |
- done |
1035 |
- use bzip2 || myconf+=( --disable-bzlib ) |
1036 |
- use sdl || myconf+=( --disable-avplay ) |
1037 |
- |
1038 |
- if use ssl; then |
1039 |
- use openssl && myconf+=( --enable-openssl --enable-nonfree ) \ |
1040 |
- || myconf+=( --enable-gnutls ) |
1041 |
- fi |
1042 |
- |
1043 |
- use custom-cflags && myconf+=( --disable-optimizations ) |
1044 |
- use cpudetection && myconf+=( --enable-runtime-cpudetect ) |
1045 |
- |
1046 |
- use vdpau || myconf+=( --disable-vdpau ) |
1047 |
- |
1048 |
- use vaapi && myconf+=( --enable-vaapi ) |
1049 |
- |
1050 |
- # Encoders |
1051 |
- if use encode; then |
1052 |
- use faac && myconf+=( --enable-nonfree ) |
1053 |
- use mp3 && myconf+=( --enable-libmp3lame ) |
1054 |
- use amr && myconf+=( --enable-libvo-amrwbenc ) |
1055 |
- use aac && myconf+=( --enable-libvo-aacenc ) |
1056 |
- uses="faac theora twolame vorbis wavpack webp x264 x265 xvid" |
1057 |
- for i in ${uses}; do |
1058 |
- use ${i} && myconf+=( --enable-lib${i} ) |
1059 |
- done |
1060 |
- else |
1061 |
- myconf+=( --disable-encoders ) |
1062 |
- fi |
1063 |
- |
1064 |
- # libavdevice options |
1065 |
- use cdio && myconf+=( --enable-libcdio ) |
1066 |
- use ieee1394 && myconf+=( --enable-libdc1394 ) |
1067 |
- use pulseaudio && myconf+=( --enable-libpulse ) |
1068 |
- |
1069 |
- # Indevs |
1070 |
- # v4l1 is gone since linux-headers-2.6.38 |
1071 |
- myconf+=( --disable-indev=v4l ) |
1072 |
- use v4l || myconf+=( --disable-indev=v4l2 ) |
1073 |
- for i in alsa oss jack; do |
1074 |
- use ${i} || myconf+=( --disable-indev=${i} ) |
1075 |
- done |
1076 |
- use X && myconf+=( --enable-libxcb ) |
1077 |
- |
1078 |
- # libavfilter options |
1079 |
- use bs2b && myconf+=( --enable-libbs2b ) |
1080 |
- multilib_is_native_abi && use frei0r && myconf+=( --enable-frei0r ) |
1081 |
- use truetype && myconf+=( --enable-libfreetype ) |
1082 |
- use fontconfig && myconf+=( --enable-libfontconfig ) |
1083 |
- |
1084 |
- # Threads; we only support pthread for now |
1085 |
- use threads && myconf+=( --enable-pthreads ) |
1086 |
- |
1087 |
- # Decoders |
1088 |
- use amr && myconf+=( --enable-libopencore-amrwb --enable-libopencore-amrnb ) |
1089 |
- use fdk && myconf+=( --enable-nonfree --enable-libfdk-aac ) |
1090 |
- uses="gsm opus rtmp speex vpx" |
1091 |
- for i in ${uses}; do |
1092 |
- use ${i} && myconf+=( --enable-lib${i} ) |
1093 |
- done |
1094 |
- use jpeg2k && myconf+=( --enable-libopenjpeg ) |
1095 |
- |
1096 |
- # CPU features |
1097 |
- for i in ${CPU_FEATURES}; do |
1098 |
- use ${i%:*} || myconf+=( --disable-${i#*:} ) |
1099 |
- done |
1100 |
- |
1101 |
- # pass the right -mfpu as extra |
1102 |
- use neon && use arm && append-cflags -mfpu=neon |
1103 |
- |
1104 |
- # disable mmx accelerated code if PIC is required |
1105 |
- # as the provided asm decidedly is not PIC for x86. |
1106 |
- if use pic && [[ ${ABI} == x86 ]]; then |
1107 |
- myconf+=( --disable-mmx --disable-mmxext ) |
1108 |
- fi |
1109 |
- |
1110 |
- # Option to force building pic |
1111 |
- use pic && myconf+=( --enable-pic ) |
1112 |
- |
1113 |
- # cross compile support |
1114 |
- if tc-is-cross-compiler ; then |
1115 |
- myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- ) |
1116 |
- case ${CHOST} in |
1117 |
- *freebsd*) |
1118 |
- myconf+=( --target-os=freebsd ) |
1119 |
- ;; |
1120 |
- mingw32*) |
1121 |
- myconf+=( --target-os=mingw32 ) |
1122 |
- ;; |
1123 |
- *linux*) |
1124 |
- myconf+=( --target-os=linux ) |
1125 |
- ;; |
1126 |
- esac |
1127 |
- fi |
1128 |
- |
1129 |
- # Misc stuff |
1130 |
- use hardcoded-tables && myconf+=( --enable-hardcoded-tables ) |
1131 |
- |
1132 |
- # Forcing arm would make the compiler break left and right |
1133 |
- if [[ ${ABI} == arm ]]; then |
1134 |
- filter-flags -marm |
1135 |
- fi |
1136 |
- |
1137 |
- # Specific workarounds for too-few-registers arch... |
1138 |
- if [[ ${ABI} == x86 ]]; then |
1139 |
- local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} |
1140 |
- filter-flags -fforce-addr -momit-leaf-frame-pointer |
1141 |
- append-flags -fomit-frame-pointer |
1142 |
- is-flag -O? || append-flags -O2 |
1143 |
- if use debug; then |
1144 |
- # no need to warn about debug if not using debug flag |
1145 |
- ewarn "" |
1146 |
- ewarn "Debug information will be almost useless as the frame pointer is omitted." |
1147 |
- ewarn "This makes debugging harder, so crashes that has no fixed behavior are" |
1148 |
- ewarn "difficult to fix. Please have that in mind." |
1149 |
- ewarn "" |
1150 |
- fi |
1151 |
- fi |
1152 |
- |
1153 |
- set -- "${S}"/configure \ |
1154 |
- --prefix="${EPREFIX}"/usr \ |
1155 |
- --libdir="${EPREFIX}"/usr/$(get_libdir) \ |
1156 |
- --shlibdir="${EPREFIX}"/usr/$(get_libdir) \ |
1157 |
- --mandir="${EPREFIX}"/usr/share/man \ |
1158 |
- --enable-shared \ |
1159 |
- --cc="$(tc-getCC)" \ |
1160 |
- --ar="$(tc-getAR)" \ |
1161 |
- --optflags="${CFLAGS}" \ |
1162 |
- --extra-cflags="${CFLAGS}" \ |
1163 |
- $(use_enable static-libs static) \ |
1164 |
- "${myconf[@]}" |
1165 |
- echo "${@}" |
1166 |
- "${@}" || die |
1167 |
-} |
1168 |
- |
1169 |
-multilib_src_compile() { |
1170 |
- emake |
1171 |
- |
1172 |
- if use tools; then |
1173 |
- tc-export CC |
1174 |
- |
1175 |
- emake ${TOOLS[@]/#/tools/} |
1176 |
- fi |
1177 |
-} |
1178 |
- |
1179 |
-multilib_src_install() { |
1180 |
- emake DESTDIR="${D}" install install-man |
1181 |
- use doc && dodoc doc/*.html |
1182 |
- |
1183 |
- if use tools; then |
1184 |
- dobin ${TOOLS[@]/#/tools/} |
1185 |
- fi |
1186 |
-} |
1187 |
- |
1188 |
-multilib_src_install_all() { |
1189 |
- dodoc Changelog README.md INSTALL |
1190 |
-} |
1191 |
- |
1192 |
-multilib_src_test() { |
1193 |
- local _libs="$(for i in lib*/;do echo -n "${BUILD_DIR}/${i%/}:";done)" |
1194 |
- einfo "LD_LIBRARY_PATH is set to \"${_libs}\"" |
1195 |
- LD_LIBRARY_PATH="${_libs}" emake -k -j1 fate |
1196 |
-} |
1197 |
|
1198 |
diff --git a/media-video/libav/metadata.xml b/media-video/libav/metadata.xml |
1199 |
deleted file mode 100644 |
1200 |
index 82ff0f291ef..00000000000 |
1201 |
--- a/media-video/libav/metadata.xml |
1202 |
+++ /dev/null |
1203 |
@@ -1,35 +0,0 @@ |
1204 |
-<?xml version="1.0" encoding="UTF-8"?> |
1205 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
1206 |
-<pkgmetadata> |
1207 |
-<maintainer type="project"> |
1208 |
- <email>media-video@g.o</email> |
1209 |
-</maintainer> |
1210 |
-<use> |
1211 |
- <flag name="aac">Use external vo-aacenc library for AAC encoding</flag> |
1212 |
- <flag name="amr">Enable Adaptive Multi-Rate Audio support</flag> |
1213 |
- <flag name="armv5te">Enable optimizations for armv5te processors</flag> |
1214 |
- <flag name="armv6">Enable optimizations for armv6 processors</flag> |
1215 |
- <flag name="armv6t2">Enable optimizations for armv6t2 processors</flag> |
1216 |
- <flag name="armvfp">Enable VFP optimizations for ARM processors</flag> |
1217 |
- <flag name="bs2b">Enable <pkg>media-libs/libbs2b</pkg> based Bauer stereo-to-binaural audio filter</flag> |
1218 |
- <flag name="cdio">Enable audio CD grabbing with <pkg>dev-libs/libcdio</pkg>.</flag> |
1219 |
- <flag name="cpudetection">Enables runtime CPU detection (useful for bindist, compatibility on other CPUs).</flag> |
1220 |
- <flag name="faac">Use external faac library for AAC encoding</flag> |
1221 |
- <flag name="fdk">Use external fdk-aac library for AAC encoding and decoding</flag> |
1222 |
- <flag name="frei0r">Enable frei0r wrapping in libavfilter</flag> |
1223 |
- <flag name="gpl">Build all GPL licensed code. Without this flag set the package is build under LGPL license.</flag> |
1224 |
- <flag name="hardcoded-tables">Use pre-calculated tables rather than calculating them on the fly.</flag> |
1225 |
- <flag name="network">Enable network streaming support.</flag> |
1226 |
- <flag name="nvidia">Enable nvidia video codec hardware acceleration support.</flag> |
1227 |
- <flag name="openssl">Prefer <pkg>dev-libs/openssl</pkg> over <pkg>net-libs/gnutls</pkg> to provide SSL/TLS support (notice: the resulting binaries are unredistributable).</flag> |
1228 |
- <flag name="opus">Use the external opus library for encoding and decoding.</flag> |
1229 |
- <flag name="pulseaudio">Enable pulseaudio input support.</flag> |
1230 |
- <flag name="pic">Force shared libraries to be built as PIC (this is slower).</flag> |
1231 |
- <flag name="rtmp">Enable Real Time Messaging Protocol using librtmp instead the native implementation.</flag> |
1232 |
- <flag name="ssl">Enable SSL/TLS support using <pkg>dev-libs/openssl</pkg> or <pkg>net-libs/gnutls</pkg>.</flag> |
1233 |
- <flag name="tools">Build and install small tools like aviocat, cws2fws, graph2dot, ismindex, qt-faststart.</flag> |
1234 |
- <flag name="twolame">Enable MP2 encoding via <pkg>media-sound/twolame</pkg> as an alternative to the internal encoder</flag> |
1235 |
- <flag name="vpx">Enable vp8 encoding support using <pkg>media-libs/libvpx</pkg>.</flag> |
1236 |
- <flag name="x265">Enable HEVC encoding with <pkg>media-libs/x265</pkg>.</flag> |
1237 |
-</use> |
1238 |
-</pkgmetadata> |