Сравнение abseil-cpp-20220623.1 с abseil-cpp-20230125.2
/usr/portage/dev-cpp/abseil-cpp/abseil-cpp-20230125.2.ebuild 2023-10-09 14:52:29.300368345 +0300 | ||
---|---|---|
5 | 5 | |
6 | 6 |
PYTHON_COMPAT=( python3_{9..11} ) |
7 | 7 | |
8 |
inherit cmake python-any-r1 |
|
8 |
inherit cmake-multilib python-any-r1 |
|
9 | 9 | |
10 | 10 |
# yes, it needs SOURCE, not just installed one |
11 |
# and no, 1.11.0 is not enough |
|
12 |
GTEST_COMMIT="e68764c147ea0dac1e8811925c531d937396878e" |
|
13 |
GTEST_FILE="gtest-${GTEST_COMMIT}.tar.gz" |
|
11 |
GTEST_COMMIT="v1.13.0" |
|
12 |
GTEST_FILE="gtest-${GTEST_COMMIT#v}.tar.gz" |
|
14 | 13 | |
15 | 14 |
DESCRIPTION="Abseil Common Libraries (C++), LTS Branch" |
16 | 15 |
HOMEPAGE="https://abseil.io" |
... | ... | |
53 | 52 | |
54 | 53 |
if use test; then |
55 | 54 |
sed -i 's/-Werror//g' \ |
56 |
"${WORKDIR}/googletest-${GTEST_COMMIT}"/googletest/cmake/internal_utils.cmake || die |
|
55 |
"${WORKDIR}/googletest-${GTEST_COMMIT#v}"/googletest/cmake/internal_utils.cmake || die |
|
57 | 56 |
fi |
58 | 57 |
} |
59 | 58 | |
60 |
src_configure() { |
|
59 |
multilib_src_configure() { |
|
61 | 60 |
local mycmakeargs=( |
62 | 61 |
-DCMAKE_CXX_STANDARD=17 |
63 | 62 |
-DABSL_ENABLE_INSTALL=TRUE |
64 |
-DABSL_LOCAL_GOOGLETEST_DIR="${WORKDIR}/googletest-${GTEST_COMMIT}" |
|
63 |
-DABSL_LOCAL_GOOGLETEST_DIR="${WORKDIR}/googletest-${GTEST_COMMIT#v}" |
|
65 | 64 |
-DABSL_PROPAGATE_CXX_STD=TRUE |
66 | 65 |
-DABSL_BUILD_TESTING=$(usex test ON OFF) |
67 | 66 |
$(usex test -DBUILD_TESTING=ON '') #intentional usex, it used both variables for tests. |
68 | 67 |
) |
68 | ||
69 | 69 |
cmake_src_configure |
70 | 70 |
} |