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 armv6 loongson2f cpudetection cpu_flags_x86_mmxext 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 |
if use x86 || use amd64; then |
22 |
filter-flags -mmmx -msse |
23 |
fi |
24 |
|
25 |
if use cpudetection; then |
26 |
if use mips; then |
27 |
myconf=" |
28 |
--enable-loongson-mmi" |
29 |
fi |
30 |
if use ppc; then |
31 |
myconf=" |
32 |
--enable-vmx" |
33 |
fi |
34 |
if use arm; then |
35 |
myconf=" |
36 |
--enable-arm-neon |
37 |
--enable-arm-iwmmxt |
38 |
--enable-arm-simd" |
39 |
fi |
40 |
if use x86 || use amd64; then |
41 |
myconf=" |
42 |
--enable-mmx |
43 |
--enable-sse2 |
44 |
--enable-ssse3" |
45 |
fi |
46 |
else |
47 |
myconf=" |
48 |
$(use_enable cpu_flags_x86_mmxext mmx) |
49 |
$(use_enable cpu_flags_x86_sse2 sse2) |
50 |
$(use_enable cpu_flags_x86_ssse3 ssse3) |
51 |
$(use_enable altivec vmx) |
52 |
$(use_enable armv6 arm-simd) |
53 |
$(use_enable neon arm-neon) |
54 |
$(use_enable iwmmxt arm-iwmmxt) |
55 |
$(use_enable loongson2f loongson-mmi)" |
56 |
fi |
57 |
|
20 |
XORG_CONFIGURE_OPTIONS=( |
58 |
XORG_CONFIGURE_OPTIONS=( |
21 |
$(use_enable cpu_flags_x86_mmxext mmx) |
59 |
$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 |
60 |
--disable-gtk |
29 |
--disable-libpng |
61 |
--disable-libpng |
30 |
) |
62 |
) |