diff options
Diffstat (limited to 'dev-libs/protobuf-c')
-rw-r--r-- | dev-libs/protobuf-c/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/protobuf-c/protobuf-c-1.3.2.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/protobuf-c/Manifest b/dev-libs/protobuf-c/Manifest index 5a3d379a86dd..24a657d00600 100644 --- a/dev-libs/protobuf-c/Manifest +++ b/dev-libs/protobuf-c/Manifest @@ -1,5 +1,7 @@ AUX protobuf-c-1.3.0-no-build-tests.patch 1020 BLAKE2B adda0e4764283d00093709bc97500187521c1d099c6a057513cd4c4ab3b595479f62e7f90bc28ee062f7cae8a760445c78334468f25291320b74d46a5bb454cc SHA512 c6b6f37d8d0fb1ac14e650cc521034267b0af06525249078cc81fc8a3d551dc446bb5285228ca349ce18581979ea88eb9765233154cfbbedd8c4a937987d2684 AUX protobuf-c-1.3.1-protobuf-3.7.patch 562 BLAKE2B 4319e91d94a0f3f47bba3dfca74e5a9b7813480719c64e84c011483f3fca03f629083d4493567c0da83395adf969a8d9b08af42c6886eee7556c989c5f7d0e67 SHA512 2ff16a126b751a2faab7d1585c898cfeb07da46e8c636dc4cd44f25bb70575358943ee3e4a6ed316d93714a9668a6dec27e5e7414d458d606ab67c809ce215fb DIST protobuf-c-1.3.1.tar.gz 498779 BLAKE2B f9ecb2cccd8e01a2ab5bd797883f245db418a76ac73ba3e756e997e944637732d45b3fca2a45d3caf4cd89f35259180fa05e64b8b02b63537005420f2233ba37 SHA512 b32920130b4be5e8a8373c2ca37ffe7eb263accf163d93e25a9eb4b6336ec40b05dda2458fe8f0c3cbcf6e0e08e9541fdff004d696f30a5d135b7a3bdca8b2c3 +DIST protobuf-c-1.3.2.tar.gz 500100 BLAKE2B b8bcd4ad6f9ddc05f28526f7cc58778b21a34fc18c7c7aa2a5bb45ae7fdc7c5d8957f989fe1bbfe353214ca87b02afed8cf0ad43c0f0e39f7e13059a5dfd6b7d SHA512 d94d2c6f11b3e482fd3d1b8cef5b2d896ad37a679068f393d29916311deadc5b6b86f946b046d7ee49260b0223e3128e052dc76324b4a8cd6ea184d566ad9aa6 EBUILD protobuf-c-1.3.1.ebuild 1017 BLAKE2B 68efa1e2a1ccbfa08263d05f59c21712302e9e3a3264a0cea011ef96c310d45b564662add4f1aba095bca18deb7f5191be9f33ac81045c77443d947accc2a468 SHA512 8efae9b40e88d6d9d61eed0826324bec9a5d941b8a69ba39f1611c011dbb538069c3cfc885074113bea2f260921b73dcf0ad20515452ed94159c1490154fc240 +EBUILD protobuf-c-1.3.2.ebuild 969 BLAKE2B 1dc51b298ffd27365deb77eda682dc2f5ea493a1b7f35547b4d94473495e7b2cb95727d2e0a31de872f997ebbe6f952a7e71ee6714603ea96e0ffd40900b1fa8 SHA512 51176dc900fef8772f2945e14b854040e9c8f57264ebf04ec6191054bff8da47818e3fab74057041e25e793a602140b723f6893bf1e836c1ef918ad94bfccc8a MISC metadata.xml 258 BLAKE2B 4600b6e0e51f9c280726dd71ec122d3c51e0c2b1f8b4ef208a1c9838a01d405bedce2cfd6949bb2dbcc448f76f45c717a630eed98fb9d0ad06c91dafdc2ad288 SHA512 92e3b05f2cf1d2ff09b852d2ad8707f55b4cd3fc78df317fa5234a9c0018405cfad67d90211435963983440228dfb75de28ab7ee62f1a80bb97192768d93ce92 diff --git a/dev-libs/protobuf-c/protobuf-c-1.3.2.ebuild b/dev-libs/protobuf-c/protobuf-c-1.3.2.ebuild new file mode 100644 index 000000000000..e666446a3b08 --- /dev/null +++ b/dev-libs/protobuf-c/protobuf-c-1.3.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal + +MY_PV="${PV/_/-}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="Protocol Buffers implementation in C" +HOMEPAGE="https://github.com/protobuf-c/protobuf-c" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz" + +LICENSE="BSD-2" +# Subslot == SONAME version +SLOT="0/1.0.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="static-libs test" + +BDEPEND="dev-libs/protobuf:0 + virtual/pkgconfig[${MULTILIB_USEDEP}]" +DEPEND="dev-libs/protobuf:0=[${MULTILIB_USEDEP}]" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + if ! use test; then + eapply "${FILESDIR}"/${PN}-1.3.0-no-build-tests.patch + fi + + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + $(use_enable static-libs static) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} |