1 |
commit: c5bbe240f4a3d20e474e8b84993d521224d81d5f |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 25 13:26:29 2020 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 25 14:29:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5bbe240 |
7 |
|
8 |
dev-libs/capnproto: bump to 0.8.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.3, Repoman-3.0.0 |
11 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
12 |
|
13 |
dev-libs/capnproto/Manifest | 1 + |
14 |
dev-libs/capnproto/capnproto-0.8.0.ebuild | 43 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/capnproto/Manifest b/dev-libs/capnproto/Manifest |
18 |
index 2ffe04a7ab0..249defd70eb 100644 |
19 |
--- a/dev-libs/capnproto/Manifest |
20 |
+++ b/dev-libs/capnproto/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST capnproto-0.6.0.tar.gz 1199198 BLAKE2B 90db934f8fd2affeef8908a9f8aa955892c8d25d556a76003f7d2e8e5634ea76e3759ace94b3bff42235e6da666e97657f69327ecdf620067e13ad2dde2a8105 SHA512 4882b2e5d1544517348e436600705d18b41fc82e6fc141a934ad960556ed73781c974d4a45f8c949a297edd5c95fb156fd75f1d7179666dc7ab881f98ac9e69d |
23 |
DIST capnproto-0.6.1.tar.gz 1720489 BLAKE2B 5fad902bb4221fa872bd52311442a4073c4e58e3d21726f24e06430246f1d757bc4d4e7e122df0a7cd9401ff2c47cb48d1791bb0b7ceda8889a819ac52edc02b SHA512 baea7f867bb789d3bf8cdc9c1a4a0d31cdce3beb7ae1fd9464690a006a86eca841aaac5d86599c2a84a39d62c4d01213b29789c2b7385ad6636fef95fc867dd6 |
24 |
DIST capnproto-0.7.0.tar.gz 1983172 BLAKE2B d88b5f8e3278f8e3aceccdc459001b99328b0440812352dcb6b54bd11e18aa7fee6d337252841c86e9c3eb1afcdbd99884c965156d6cec37e3c0996c9ec1241f SHA512 a3ea278ded6a866759c0517d16b99bd38ffea1c163ce63a3604b752d8bdaafbc38a600de94afe12db35e7f7f06e29cc94c911dc2e0ecec6fe1185452df2a2bd3 |
25 |
+DIST capnproto-0.8.0.tar.gz 2121249 BLAKE2B 6d4ef9adb026a8ea8bc558bed1f8ce910e9c3b050ad0ac7ebd4be323cc1709a6b08956d4d2f39daee5c6485438f64695a028ea198aaae8a6c366316f10b1a64f SHA512 a3b87d47f4c160c3c72304539c3d2a6836488a50d1014c9f0eb95c112dc1e0f85b3158d26c248eff464205388ea61733c45ba10dc5441e5dd04064ba2c7970e6 |
26 |
|
27 |
diff --git a/dev-libs/capnproto/capnproto-0.8.0.ebuild b/dev-libs/capnproto/capnproto-0.8.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..2905a51fc56 |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/capnproto/capnproto-0.8.0.ebuild |
32 |
@@ -0,0 +1,43 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit autotools |
39 |
+ |
40 |
+DESCRIPTION="RPC/Serialization system with capabilities support" |
41 |
+HOMEPAGE="https://capnproto.org" |
42 |
+SRC_URI="https://github.com/sandstorm-io/capnproto/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0/080" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
47 |
+IUSE="+ssl static-libs test zlib" |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ ssl? ( dev-libs/openssl:0= ) |
52 |
+ zlib? ( sys-libs/zlib:0= ) |
53 |
+" |
54 |
+DEPEND="${RDEPEND} test? ( dev-cpp/gtest )" |
55 |
+ |
56 |
+S=${WORKDIR}/${P}/c++ |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ sed -e 's/ldconfig/true/' -i Makefile.am || die |
60 |
+ sed -e 's#gtest/lib/libgtest.la gtest/lib/libgtest_main.la#-lgtest -lgtest_main#' -i Makefile.am || die |
61 |
+ default |
62 |
+ eautoreconf |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ econf \ |
67 |
+ $(use_enable static-libs static) \ |
68 |
+ $(use_with ssl openssl) \ |
69 |
+ $(use_with zlib) |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ default |
74 |
+ find "${ED}" -name '*.la' -delete |
75 |
+} |