Diff libjpeg-turbo-2.1.3 with a libjpeg-turbo-2.1.4
/usr/portage/media-libs/libjpeg-turbo/libjpeg-turbo-2.1.4.ebuild 2023-10-09 14:52:31.684368405 +0300 | ||
---|---|---|
12 | 12 | |
13 | 13 |
LICENSE="BSD IJG ZLIB" |
14 | 14 |
SLOT="0/0.2" |
15 |
if [[ "$(ver_cut 3)" -lt 90 ]] ; then |
|
15 |
if [[ $(ver_cut 3) -lt 90 ]] ; then |
|
16 | 16 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" |
17 | 17 |
fi |
18 | 18 |
IUSE="cpu_flags_arm_neon java static-libs" |
19 | 19 | |
20 | 20 |
ASM_DEPEND="|| ( dev-lang/nasm dev-lang/yasm )" |
21 | ||
22 |
COMMON_DEPEND="!media-libs/jpeg:0 |
|
23 |
!media-libs/jpeg:62" |
|
24 | ||
25 |
BDEPEND=">=dev-util/cmake-3.16.5 |
|
21 |
COMMON_DEPEND=" |
|
22 |
!media-libs/jpeg:0 |
|
23 |
!media-libs/jpeg:62 |
|
24 |
" |
|
25 |
DEPEND=" |
|
26 |
${COMMON_DEPEND} |
|
27 |
java? ( >=virtual/jdk-1.8:*[-headless-awt] ) |
|
28 |
" |
|
29 |
RDEPEND=" |
|
30 |
${COMMON_DEPEND} |
|
31 |
java? ( >=virtual/jre-1.8:* ) |
|
32 |
" |
|
33 |
BDEPEND=" |
|
26 | 34 |
amd64? ( ${ASM_DEPEND} ) |
27 | 35 |
x86? ( ${ASM_DEPEND} ) |
28 | 36 |
amd64-linux? ( ${ASM_DEPEND} ) |
29 | 37 |
x86-linux? ( ${ASM_DEPEND} ) |
30 |
x64-macos? ( ${ASM_DEPEND} )" |
|
31 | ||
32 |
DEPEND="${COMMON_DEPEND} |
|
33 |
java? ( >=virtual/jdk-1.8:*[-headless-awt] )" |
|
34 | ||
35 |
RDEPEND="${COMMON_DEPEND} |
|
36 |
java? ( >=virtual/jre-1.8:* )" |
|
38 |
x64-macos? ( ${ASM_DEPEND} ) |
|
39 |
" |
|
37 | 40 | |
38 | 41 |
MULTILIB_WRAPPED_HEADERS=( /usr/include/jconfig.h ) |
39 | 42 | |
... | ... | |
66 | 69 |
-DWITH_MEM_SRCDST=ON |
67 | 70 |
) |
68 | 71 | |
69 |
# Avoid ARM ABI issues by disabling SIMD for CPUs without NEON. #792810 |
|
72 |
# Avoid ARM ABI issues by disabling SIMD for CPUs without NEON, bug #792810 |
|
70 | 73 |
if use arm || use arm64; then |
71 | 74 |
mycmakeargs+=( |
72 | 75 |
-DWITH_SIMD=$(usex cpu_flags_arm_neon) |