Lines 10-30
Link Here
|
10 |
DESCRIPTION="Low-level pixel manipulation routines" |
10 |
DESCRIPTION="Low-level pixel manipulation routines" |
11 |
|
11 |
|
12 |
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
12 |
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
13 |
IUSE="altivec iwmmxt loongson2f cpu_flags_x86_mmxext neon cpu_flags_x86_sse2 cpu_flags_x86_ssse3" |
13 |
IUSE="altivec iwmmxt simd loongson2f cpudetection cpu_flags_x86_mmx neon cpu_flags_x86_sse2 cpu_flags_x86_ssse3" |
14 |
RDEPEND="abi_x86_32? ( |
14 |
RDEPEND="abi_x86_32? ( |
15 |
!<=app-emulation/emul-linux-x86-gtklibs-20131008 |
15 |
!<=app-emulation/emul-linux-x86-gtklibs-20131008 |
16 |
!app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)] |
16 |
!app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)] |
17 |
)" |
17 |
)" |
18 |
|
18 |
|
19 |
src_configure() { |
19 |
src_configure() { |
|
|
20 |
local myconf="" |
21 |
|
22 |
if use cpudetection; then |
23 |
if use mips; then |
24 |
myconf=" |
25 |
--enable-loongson-mmi" |
26 |
fi |
27 |
if use ppc; then |
28 |
myconf=" |
29 |
--enable-vmx" |
30 |
fi |
31 |
if use arm; then |
32 |
myconf=" |
33 |
--enable-arm-neon |
34 |
--enable-arm-iwmmxt |
35 |
--enable-arm-simd" |
36 |
fi |
37 |
if use x86 || use amd64; then |
38 |
myconf=" |
39 |
--enable-mmx |
40 |
--enable-sse2 |
41 |
--enable-ssse3" |
42 |
fi |
43 |
else |
44 |
myconf=" |
45 |
$(use_enable cpu_flags_x86_mmx mmx) |
46 |
$(use_enable cpu_flags_x86_sse2 sse2) |
47 |
$(use_enable cpu_flags_x86_ssse3 ssse3) |
48 |
$(use_enable altivec vmx) |
49 |
$(use_enable simd arm-simd) |
50 |
$(use_enable neon arm-neon) |
51 |
$(use_enable iwmmxt arm-iwmmxt) |
52 |
$(use_enable loongson2f loongson-mmi)" |
53 |
fi |
54 |
|
20 |
XORG_CONFIGURE_OPTIONS=( |
55 |
XORG_CONFIGURE_OPTIONS=( |
21 |
$(use_enable cpu_flags_x86_mmxext mmx) |
56 |
$myconf |
22 |
$(use_enable cpu_flags_x86_sse2 sse2) |
|
|
23 |
$(use_enable cpu_flags_x86_ssse3 ssse3) |
24 |
$(use_enable altivec vmx) |
25 |
$(use_enable neon arm-neon) |
26 |
$(use_enable iwmmxt arm-iwmmxt) |
27 |
$(use_enable loongson2f loongson-mmi) |
28 |
--disable-gtk |
57 |
--disable-gtk |
29 |
--disable-libpng |
58 |
--disable-libpng |
30 |
) |
59 |
) |