1 |
Hi all, |
2 |
|
3 |
|
4 |
bugs like [1] makes clear to me that the increasing number of CPU |
5 |
extensions USE flags is getting more and more confusing. |
6 |
|
7 |
ffmpeg-0.6_p25767.ebuild : IUSE="+3dnow +3dnowext alsa altivec amr |
8 |
bindist +bzip2 cpudetection custom-cflags debug dirac doc +encode faac |
9 |
frei0r gsm +hardcoded-tables ieee1394 jack jpeg2k +mmx +mmxext mp3 |
10 |
network oss pic qt-faststart rtmp schroedinger sdl speex +ssse3 |
11 |
static-libs test theora threads v4l v4l2 vaapi vdpau vorbis vpx X x264 |
12 |
xvid +zlib video_cards_nvidia" |
13 |
|
14 |
(I am not going to argue here that USE defaults shouldn't be used for |
15 |
CPU extensions.) |
16 |
|
17 |
Among all CPU extensions USE flags you'll find: |
18 |
|
19 |
3dnow |
20 |
3dnowext |
21 |
mmx |
22 |
mmxext |
23 |
sse |
24 |
sse2 |
25 |
sse3 |
26 |
sse4 |
27 |
sse4a |
28 |
sse5 |
29 |
ssse3 |
30 |
|
31 |
I probably missed a few, there. |
32 |
|
33 |
I think it would look a lot less confusing if, using the example above, |
34 |
the output of emerge would not look like this: |
35 |
|
36 |
[ebuild N ] media-video/ffmpeg-0.6_p25767 USE="3dnow 3dnowext |
37 |
bzip2 encode hardcoded-tables mmx mmxext ssse3 zlib -X -alsa (-altivec) |
38 |
-amr -bindist -cpudetection -custom-cflags -debug -dirac -doc -faac |
39 |
-frei0r -gsm -ieee1394 -jack -jpeg2k -mp3 -network -oss -pic |
40 |
-qt-faststart -rtmp -schroedinger -sdl -speex -static-libs -test |
41 |
-theora -threads -v4l -v4l2 -vaapi -vdpau -vorbis -vpx -x264 -xvid" |
42 |
VIDEO_CARDS="-nvidia" 0 kB |
43 |
|
44 |
but more like this: |
45 |
|
46 |
[ebuild N ] media-video/ffmpeg-0.6_p25767 USE="bzip2 encode |
47 |
hardcoded-tables zlib -X -alsa (-altivec) -amr -bindist -cpudetection |
48 |
-custom-cflags -debug -dirac -doc -faac -frei0r -gsm -ieee1394 -jack |
49 |
-jpeg2k -mp3 -network -oss -pic -qt-faststart -rtmp -schroedinger -sdl |
50 |
-speex -static-libs -test -theora -threads -v4l -v4l2 -vaapi -vdpau |
51 |
-vorbis -vpx -x264 -xvid" VIDEO_CARDS="-nvidia" CPU_EXTS="3dnow |
52 |
3dnowext mmx mmxext ssse3" 0 kB |
53 |
|
54 |
|
55 |
jer |
56 |
|
57 |
|
58 |
[1] https://bugs.gentoo.org/show_bug.cgi?id=340539 |
59 |
"media-video/ffmpeg-0.6_p25423 - libswscale/swscale.c:1269: error: |
60 |
implicit declaration of function 'sws_init_swScale_*'" |