1 |
commit: efd7d48f7ed9a7c9d22ade0ff7e9fa18a10a337e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 4 09:29:01 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 4 09:36:41 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd7d48f |
7 |
|
8 |
app-arch/snappy: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
app-arch/snappy/Manifest | 1 - |
13 |
app-arch/snappy/snappy-1.1.7.ebuild | 65 ------------------------------------- |
14 |
2 files changed, 66 deletions(-) |
15 |
|
16 |
diff --git a/app-arch/snappy/Manifest b/app-arch/snappy/Manifest |
17 |
index 1eaae3f2d80..0995e291b70 100644 |
18 |
--- a/app-arch/snappy/Manifest |
19 |
+++ b/app-arch/snappy/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST snappy-1.1.7.tar.gz 1090550 BLAKE2B e389c96e093de5db92b896a7fa17a90d3ad0be07972e279321f24875f0f0c8c704ff478f4902a6356d458f93c249e3e06424d5a4efc9753a23ab12b7ee83a088 SHA512 32046f532606ba545a4e4825c0c66a19be449f2ca2ff760a6fa170a3603731479a7deadb683546e5f8b5033414c50f4a9a29f6d23b7a41f047e566e69eca7caf |
22 |
DIST snappy-1.1.8.tar.gz 1096137 BLAKE2B e21f2ea23727f118920b7f67981354194f12d1d61eaa18eb1cb2f4285fabafdd221b88cf1e3b3261634f65469a714d3efe6b218c0b1e9d41639cdeb21097d75e SHA512 efe18ff1b3edda1b4b6cefcbc6da8119c05d63afdbf7a784f3490353c74dced76baed7b5f1aa34b99899729192b9d657c33c76de4b507a51553fa8001ae75c1c |
23 |
|
24 |
diff --git a/app-arch/snappy/snappy-1.1.7.ebuild b/app-arch/snappy/snappy-1.1.7.ebuild |
25 |
deleted file mode 100644 |
26 |
index b72edb15b8f..00000000000 |
27 |
--- a/app-arch/snappy/snappy-1.1.7.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,65 +0,0 @@ |
30 |
-# Copyright 1999-2020 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=6 |
34 |
-inherit cmake-multilib |
35 |
- |
36 |
-DESCRIPTION="A high-speed compression/decompression library by Google" |
37 |
-HOMEPAGE="https://github.com/google/snappy" |
38 |
-SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
39 |
- |
40 |
-LICENSE="BSD" |
41 |
-SLOT="0/${PV%%.*}" |
42 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 ~sparc x86 ~amd64-linux ~x86-linux" |
43 |
-IUSE="static-libs test" |
44 |
-RESTRICT="!test? ( test )" |
45 |
-# upstream killed static lib support with build system update |
46 |
-# (and we have packages depending on the flag) |
47 |
-REQUIRED_USE="!static-libs" |
48 |
- |
49 |
-# all test dependencies are optional: |
50 |
-# - gflags-2.2 is supposedly needed for command-line option parsing |
51 |
-# but it's a huge hack and does not work, |
52 |
-# - gtest probably gives nicer output, |
53 |
-# - compression libraries are used for benchmarks which we do not run. |
54 |
-DEPEND="test? ( dev-cpp/gtest )" |
55 |
- |
56 |
-# AUTHORS is useless, ChangeLog is stale |
57 |
-DOCS=( format_description.txt framing_format.txt NEWS README.md ) |
58 |
- |
59 |
-src_prepare() { |
60 |
- local PATCHES=( |
61 |
- "${FILESDIR}"/snappy-1.1.7-0001-cmake-Add-missing-linking-to-GTEST_LIBRARIES.patch |
62 |
- ) |
63 |
- |
64 |
- # command-line option parsing does not work at all, so just force |
65 |
- # it off |
66 |
- sed -i -e '/run_microbenchmarks/s:true:false:' snappy-test.cc || die |
67 |
- |
68 |
- cmake-utils_src_prepare |
69 |
-} |
70 |
- |
71 |
-multilib_src_configure() { |
72 |
- # TODO: would be nice to make unittest build conditional |
73 |
- # but it is not a priority right now |
74 |
- local mycmakeargs=( |
75 |
- -DBUILD_SHARED_LIBS=ON |
76 |
- |
77 |
- # use gtest for tests only |
78 |
- -DCMAKE_DISABLE_FIND_PACKAGE_GTest=$(usex '!test') |
79 |
- # gflags does not work anyway |
80 |
- -DCMAKE_DISABLE_FIND_PACKAGE_Gflags=ON |
81 |
- |
82 |
- # we do not want to run benchmarks, and those are only used |
83 |
- # for benchmarks |
84 |
- -DHAVE_LIBZ=NO |
85 |
- -DHAVE_LIBLZO2=NO |
86 |
- ) |
87 |
- cmake-utils_src_configure |
88 |
-} |
89 |
- |
90 |
-multilib_src_test() { |
91 |
- # run tests directly to get verbose output |
92 |
- cd "${S}" || die |
93 |
- "${BUILD_DIR}"/snappy_unittest || die |
94 |
-} |