diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-08-25 15:26:29 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-08-25 16:29:18 +0200 |
commit | c5bbe240f4a3d20e474e8b84993d521224d81d5f (patch) | |
tree | 28f537d7ce37bb27337b36c224fdeb3d5a2c5240 /dev-libs/capnproto | |
parent | dev-util/bcc-0.16.0: Fix SRC_URI (diff) | |
download | gentoo-c5bbe240f4a3d20e474e8b84993d521224d81d5f.tar.gz gentoo-c5bbe240f4a3d20e474e8b84993d521224d81d5f.tar.bz2 gentoo-c5bbe240f4a3d20e474e8b84993d521224d81d5f.zip |
dev-libs/capnproto: bump to 0.8.0
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-libs/capnproto')
-rw-r--r-- | dev-libs/capnproto/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/capnproto/capnproto-0.8.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/capnproto/Manifest b/dev-libs/capnproto/Manifest index 2ffe04a7ab0b..249defd70eb2 100644 --- a/dev-libs/capnproto/Manifest +++ b/dev-libs/capnproto/Manifest @@ -1,3 +1,4 @@ DIST capnproto-0.6.0.tar.gz 1199198 BLAKE2B 90db934f8fd2affeef8908a9f8aa955892c8d25d556a76003f7d2e8e5634ea76e3759ace94b3bff42235e6da666e97657f69327ecdf620067e13ad2dde2a8105 SHA512 4882b2e5d1544517348e436600705d18b41fc82e6fc141a934ad960556ed73781c974d4a45f8c949a297edd5c95fb156fd75f1d7179666dc7ab881f98ac9e69d DIST capnproto-0.6.1.tar.gz 1720489 BLAKE2B 5fad902bb4221fa872bd52311442a4073c4e58e3d21726f24e06430246f1d757bc4d4e7e122df0a7cd9401ff2c47cb48d1791bb0b7ceda8889a819ac52edc02b SHA512 baea7f867bb789d3bf8cdc9c1a4a0d31cdce3beb7ae1fd9464690a006a86eca841aaac5d86599c2a84a39d62c4d01213b29789c2b7385ad6636fef95fc867dd6 DIST capnproto-0.7.0.tar.gz 1983172 BLAKE2B d88b5f8e3278f8e3aceccdc459001b99328b0440812352dcb6b54bd11e18aa7fee6d337252841c86e9c3eb1afcdbd99884c965156d6cec37e3c0996c9ec1241f SHA512 a3ea278ded6a866759c0517d16b99bd38ffea1c163ce63a3604b752d8bdaafbc38a600de94afe12db35e7f7f06e29cc94c911dc2e0ecec6fe1185452df2a2bd3 +DIST capnproto-0.8.0.tar.gz 2121249 BLAKE2B 6d4ef9adb026a8ea8bc558bed1f8ce910e9c3b050ad0ac7ebd4be323cc1709a6b08956d4d2f39daee5c6485438f64695a028ea198aaae8a6c366316f10b1a64f SHA512 a3b87d47f4c160c3c72304539c3d2a6836488a50d1014c9f0eb95c112dc1e0f85b3158d26c248eff464205388ea61733c45ba10dc5441e5dd04064ba2c7970e6 diff --git a/dev-libs/capnproto/capnproto-0.8.0.ebuild b/dev-libs/capnproto/capnproto-0.8.0.ebuild new file mode 100644 index 000000000000..2905a51fc563 --- /dev/null +++ b/dev-libs/capnproto/capnproto-0.8.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="RPC/Serialization system with capabilities support" +HOMEPAGE="https://capnproto.org" +SRC_URI="https://github.com/sandstorm-io/capnproto/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/080" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="+ssl static-libs test zlib" +RESTRICT="!test? ( test )" + +RDEPEND=" + ssl? ( dev-libs/openssl:0= ) + zlib? ( sys-libs/zlib:0= ) +" +DEPEND="${RDEPEND} test? ( dev-cpp/gtest )" + +S=${WORKDIR}/${P}/c++ + +src_prepare() { + sed -e 's/ldconfig/true/' -i Makefile.am || die + sed -e 's#gtest/lib/libgtest.la gtest/lib/libgtest_main.la#-lgtest -lgtest_main#' -i Makefile.am || die + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_with ssl openssl) \ + $(use_with zlib) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete +} |