Сравнение libjpeg-turbo-2.1.5.1 с libjpeg-turbo-3.0.0
/usr/portage/media-libs/libjpeg-turbo/libjpeg-turbo-3.0.0.ebuild 2023-10-09 14:52:31.684368405 +0300 | ||
---|---|---|
14 | 14 | |
15 | 15 |
LICENSE="BSD IJG ZLIB" |
16 | 16 |
SLOT="0/0.2" |
17 |
# Unkeyworded for test failures: https://github.com/libjpeg-turbo/libjpeg-turbo/issues/705 |
|
17 | 18 |
if [[ $(ver_cut 3) -lt 90 ]] ; then |
18 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris" |
|
19 |
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris" |
|
19 | 20 |
fi |
20 | 21 |
IUSE="cpu_flags_arm_neon java static-libs" |
21 | 22 | |
... | ... | |
42 | 43 | |
43 | 44 |
MULTILIB_WRAPPED_HEADERS=( /usr/include/jconfig.h ) |
44 | 45 | |
46 |
PATCHES=( |
|
47 |
"${FILESDIR}"/${P}-tests.patch |
|
48 |
) |
|
49 | ||
45 | 50 |
src_prepare() { |
46 | 51 |
local FILE |
47 | 52 |
ln -snf ../debian/extra/*.c . || die |
48 | 53 | |
49 | 54 |
for FILE in ../debian/extra/*.c; do |
50 | 55 |
FILE=${FILE##*/} |
51 |
cat >> CMakeLists.txt <<EOF || die |
|
52 |
add_executable(${FILE%.c} ${FILE}) |
|
53 |
install(TARGETS ${FILE%.c}) |
|
54 |
EOF |
|
56 |
cat >> CMakeLists.txt <<-EOF || die |
|
57 |
add_executable(${FILE%.c} ${FILE}) |
|
58 |
install(TARGETS ${FILE%.c}) |
|
59 |
EOF |
|
55 | 60 |
done |
56 | 61 | |
57 | 62 |
cmake_src_prepare |
... | ... | |
68 | 73 |
-DCMAKE_INSTALL_DEFAULT_DOCDIR="${EPREFIX}/usr/share/doc/${PF}" |
69 | 74 |
-DENABLE_STATIC="$(usex static-libs)" |
70 | 75 |
-DWITH_JAVA="$(multilib_native_usex java)" |
71 |
-DWITH_MEM_SRCDST=ON |
|
72 | 76 |
) |
73 | 77 | |
74 | 78 |
# Avoid ARM ABI issues by disabling SIMD for CPUs without NEON, bug #792810 |
... | ... | |
88 | 92 |
) |
89 | 93 |
fi |
90 | 94 | |
91 |
# mostly for Prefix, ensure that we use our yasm if installed and |
|
95 |
# Mostly for Prefix, ensure that we use our yasm if installed and |
|
92 | 96 |
# not pick up host-provided nasm |
93 | 97 |
if has_version -b dev-lang/yasm && ! has_version -b dev-lang/nasm; then |
94 | 98 |
mycmakeargs+=( |