Lines 12-18
Link Here
|
12 |
LICENSE="BSD" |
12 |
LICENSE="BSD" |
13 |
SLOT="0/6" # subslot = libwebp soname version |
13 |
SLOT="0/6" # subslot = libwebp soname version |
14 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~m68k-mint" |
14 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~m68k-mint" |
15 |
IUSE="experimental gif +jpeg opengl +png static-libs swap-16bit-csp tiff" |
15 |
IUSE="cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 experimental gif +jpeg opengl +png static-libs swap-16bit-csp tiff" |
16 |
|
16 |
|
17 |
# TODO: dev-lang/swig bindings in swig/ subdirectory |
17 |
# TODO: dev-lang/swig bindings in swig/ subdirectory |
18 |
RDEPEND="gif? ( media-libs/giflib:= ) |
18 |
RDEPEND="gif? ( media-libs/giflib:= ) |
Lines 52-57
Link Here
|
52 |
$(multilib_native_use_enable gif) |
52 |
$(multilib_native_use_enable gif) |
53 |
) |
53 |
) |
54 |
|
54 |
|
|
|
55 |
if ! use cpu_flags_x86_sse2; then |
56 |
args+=('--disable-sse2') |
57 |
fi |
58 |
|
59 |
if ! use cpu_flags_x86_sse4_1; then |
60 |
args+=('--disable-sse4.1') |
61 |
fi |
62 |
|
55 |
econf "${args[@]}" |
63 |
econf "${args[@]}" |
56 |
} |
64 |
} |
57 |
|
65 |
|