Diff snappy-1.1.9-r1 with a snappy-1.1.10-r1
/usr/portage/app-arch/snappy/snappy-1.1.10-r1.ebuild 2023-10-09 14:52:28.192368317 +0300 | ||
---|---|---|
10 | 10 |
SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
11 | 11 | |
12 | 12 |
LICENSE="BSD" |
13 |
SLOT="0/${PV%%.*}" |
|
13 |
# ${PV%%.*}.FUDGE where FUDGE is incremented if ABI is broken without a new SONAME |
|
14 |
# Please use abidiff on bumps. |
|
15 |
SLOT="0/${PV%%.*}.1" |
|
14 | 16 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" |
15 |
IUSE="test" |
|
17 |
IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 test" |
|
16 | 18 |
RESTRICT="!test? ( test )" |
17 | 19 | |
18 | 20 |
DEPEND="test? ( dev-cpp/gtest )" |
... | ... | |
20 | 22 |
DOCS=( format_description.txt framing_format.txt NEWS README.md ) |
21 | 23 | |
22 | 24 |
PATCHES=( |
23 |
"${FILESDIR}/${P}_gcc_inline.patch" |
|
24 |
"${FILESDIR}/${P}_external_gtest.patch" |
|
25 |
"${FILESDIR}/${P}-clang-werror.patch" |
|
26 |
"${FILESDIR}/${P}_remove-no-rtti.patch" |
|
25 |
"${FILESDIR}/${PN}-1.1.9_external_gtest.patch" |
|
26 |
"${FILESDIR}/${PN}-1.1.9-clang-werror.patch" |
|
27 |
"${FILESDIR}/${PN}-1.1.9_remove-no-rtti.patch" |
|
27 | 28 |
) |
28 | 29 | |
29 | 30 |
multilib_src_configure() { |
30 | 31 |
local mycmakeargs=( |
31 | 32 |
-DCMAKE_CXX_STANDARD=14 # Latest gtest needs -std=c++14 or newer |
32 | 33 |
-DSNAPPY_BUILD_TESTS=$(usex test) |
34 |
-DSNAPPY_REQUIRE_AVX=$(usex cpu_flags_x86_avx) |
|
35 |
-DSNAPPY_REQUIRE_AVX2=$(usex cpu_flags_x86_avx2) |
|
33 | 36 |
-DSNAPPY_BUILD_BENCHMARKS=OFF |
34 | 37 |
# Options below are related to benchmarking, that we disable. |
35 | 38 |
-DHAVE_LIBZ=NO |