diff options
author | Alexis Ballier <aballier@gentoo.org> | 2019-02-12 14:19:08 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2019-02-12 14:19:20 +0100 |
commit | 092be26d0ea7b506596519c9a5ed04a51c692ae6 (patch) | |
tree | 6498333219000482eae8f5b9ee3ce067cf87da29 /dev-libs | |
parent | media-sound/sonic-visualiser: build in c++14 mode (required by capnproto 0.7) (diff) | |
download | gentoo-092be26d0ea7b506596519c9a5ed04a51c692ae6.tar.gz gentoo-092be26d0ea7b506596519c9a5ed04a51c692ae6.tar.bz2 gentoo-092be26d0ea7b506596519c9a5ed04a51c692ae6.zip |
dev-libs/capnproto: bump to 0.7.0
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/capnproto/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/capnproto/capnproto-0.7.0.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/capnproto/Manifest b/dev-libs/capnproto/Manifest index b87f8517961e..2ffe04a7ab0b 100644 --- a/dev-libs/capnproto/Manifest +++ b/dev-libs/capnproto/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-libs/capnproto/capnproto-0.7.0.ebuild b/dev-libs/capnproto/capnproto-0.7.0.ebuild new file mode 100644 index 000000000000..59b088483836 --- /dev/null +++ b/dev-libs/capnproto/capnproto-0.7.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 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/070" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="+ssl static-libs test" + +RDEPEND="ssl? ( dev-libs/openssl: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) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete +} |