36 |
36 |
!truetype? ( ${FONT_URI} )
|
37 |
37 |
"
|
38 |
38 |
|
39 |
|
IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_fma4"
|
|
39 |
IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2"
|
|
40 |
IUSE+=" cpu_flags_x86_fma3 cpu_flags_x86_fma4"
|
40 |
41 |
IUSE+=" cpu_flags_x86_mmx cpu_flags_x86_mmxext"
|
41 |
42 |
IUSE+=" cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1"
|
42 |
43 |
IUSE+=" cpu_flags_x86_sse4_2 cpu_flags_x86_xop"
|
43 |
44 |
IUSE+=" cpu_flags_x86_3dnow cpu_flags_x86_3dnowext"
|
44 |
45 |
|
|
46 |
IUSE+=" cpu_flags_arm_thumb cpu_flags_arm_neon cpu_flags_arm_vfp cpu_flags_arm_vfpv3"
|
|
47 |
IUSE+=" cpu_flags_arm_iwmmxt"
|
45 |
48 |
IUSE+=" cpu_flags_ppc_altivec"
|
46 |
49 |
|
47 |
50 |
IUSE+=" a52 aalib +alsa aqua bidi bl bluray"
|
... | ... | |
191 |
194 |
xv? ( X )"
|
192 |
195 |
RESTRICT="faac? ( bindist )"
|
193 |
196 |
|
|
197 |
PATCHES=(
|
|
198 |
"${FILESDIR}"/${P}-gcc13.patch
|
|
199 |
)
|
|
200 |
|
194 |
201 |
pkg_setup() {
|
195 |
202 |
if [[ ${PV} == *9999* ]]; then
|
196 |
203 |
elog
|
... | ... | |
273 |
280 |
|
274 |
281 |
# Set LINGUAS
|
275 |
282 |
[[ -n ${LINGUAS} ]] && LINGUAS="${LINGUAS/da/dk}"
|
276 |
|
[[ -n ${LINGUAS} ]] && LINGUAS="${LINGUAS/zh/zh_CN}" #482968
|
|
283 |
[[ -n ${LINGUAS} ]] && LINGUAS="${LINGUAS/zh/zh_CN}" # bug #482968
|
277 |
284 |
|
278 |
285 |
# mplayer ebuild uses "use foo || --disable-foo" to forcibly disable
|
279 |
286 |
# compilation in almost every situation. The reason for this is
|
... | ... | |
466 |
473 |
# Platform specific flags, hardcoded on amd64 (see below)
|
467 |
474 |
use cpudetection && myconf+=( --enable-runtime-cpudetection )
|
468 |
475 |
|
469 |
|
uses="3dnow 3dnowext avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 ssse3 xop"
|
470 |
|
for i in ${uses}; do
|
|
476 |
local x86_uses="3dnow 3dnowext avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 ssse3 xop"
|
|
477 |
for i in ${x86_uses}; do
|
471 |
478 |
myconf+=( $(use_enable cpu_flags_x86_${i} ${i}) )
|
472 |
479 |
done
|
473 |
|
myconf+=( $(use_enable cpu_flags_x86_sse4_1 sse4) )
|
474 |
|
myconf+=( $(use_enable cpu_flags_x86_sse4_2 sse42) )
|
|
480 |
myconf+=(
|
|
481 |
$(use_enable cpu_flags_x86_sse4_1 sse4)
|
|
482 |
$(use_enable cpu_flags_x86_sse4_2 sse42)
|
|
483 |
)
|
475 |
484 |
|
476 |
485 |
myconf+=(
|
|
486 |
$(use_enable cpu_flags_arm_iwmmxt iwmmxt)
|
|
487 |
$(use_enable cpu_flags_arm_thumb thumb)
|
|
488 |
$(use_enable cpu_flags_arm_neon neon)
|
|
489 |
$(use_enable cpu_flags_arm_vfp armvfp)
|
|
490 |
$(use_enable cpu_flags_arm_vfpv3 vfpv3)
|
477 |
491 |
$(use_enable cpu_flags_ppc_altivec altivec)
|
478 |
492 |
$(use_enable shm)
|
479 |
493 |
)
|
... | ... | |
608 |
622 |
_EOF_
|
609 |
623 |
fi
|
610 |
624 |
|
611 |
|
# bug 256203
|
|
625 |
# bug #256203
|
612 |
626 |
if use rar; then
|
613 |
627 |
cat >> "${ED}/etc/mplayer/mplayer.conf" <<- _EOF_
|
614 |
628 |
unrarexec=${EPREFIX}/usr/bin/unrar
|