commit:     0a05fccae87fe3419e47f50853075793fe00c0a2
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 10 10:58:31 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Apr 10 10:58:45 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a05fcca

dev-libs/librdkafka: Bump to v0.11.4

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 dev-libs/librdkafka/Manifest                 |  1 +
 dev-libs/librdkafka/librdkafka-0.11.4.ebuild | 71 ++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/dev-libs/librdkafka/Manifest b/dev-libs/librdkafka/Manifest
index 02fc3a01f6b..4cb4344a0b3 100644
--- a/dev-libs/librdkafka/Manifest
+++ b/dev-libs/librdkafka/Manifest
@@ -1,6 +1,7 @@
 DIST librdkafka-0.11.0.tar.gz 837546 BLAKE2B 
32dc35a97c51353c2635965244eefb98ba0575f4aafe405f7cccbc1ce06a3c8230ebd6171f4519ab50f4d996dc934c868366f8520d210216697584d1d730bde6
 SHA512 
1c41bd5bb9eb93b3bf743e8c4f14684609cb47b0c4fb95d303ddc7c62fdb678d9e6928fa6ea57c0aaa7695d08ab6e7ec84b699d7d61c7f750af0fe2cb148c596
 DIST librdkafka-0.11.1.tar.gz 859238 BLAKE2B 
bc53f358320aa40d1acb209daa2594f18421bb6913bad7ba08a5612dfd6683e65489dc31ed67adc9df090d719ea6ab1031f46e524f055c61cab3f1f941a7163b
 SHA512 
24aba6cfbd5df6a010a735fde455a9272c85b26055b172893b8e5259c2d6a7f2adc9637699f7f3b7270200a280cd95d52779a8f89fbb6af5fc035488ff54310e
 DIST librdkafka-0.11.3.tar.gz 1849838 BLAKE2B 
570713642b5ec9c2487a37b9146edda5f844427dbf55d6cb654ca9a8690cd6f77bcc9325800ac2a34da21f1cca33187f390c00132f9e5c28503f816ee256c4f9
 SHA512 
e9bb97ea1597019a841dd4ba3666ad72dcbc0539054155ce0caee92f1324f1a490515b0310405f822b829c05ed2688b48e2ca205a91cf88bf9ad6411f7c12b26
+DIST librdkafka-0.11.4.tar.gz 1900117 BLAKE2B 
3e755c91d6a2e12829ba841749977f8c05c9f243d79db64247547e4a49790e67d07f7d82633f45689dcc5f88caaef200027e6af3866de283c1de6120d7f98467
 SHA512 
6b34e7c476d328a2f8e8321f6ddcaeaf43730284bb3aaddac81c3cd9a1fa5d7f7ef7481f1093b36d89edde7b766da6cd27a9eb9a635b12b640e8a46a269bafc8
 DIST librdkafka-0.9.2.tar.gz 620799 BLAKE2B 
e3665de63c573529df171bc4def2e341f0a051f8df1119d83d65d631e0744bbcc73251fc7ea3278e840bd16962960d45d45493f4f33c8f4592a381853a054927
 SHA512 
12a7da8de59de684da527ab969cd84dc8602741e9208941e1c7ad6dc69774bcbc3fbde0620d48c300372fa20b15aa826d309b71730119d82ec578e274c241152
 DIST librdkafka-0.9.3.tar.gz 637066 BLAKE2B 
7c120e5e79a6b51c9e6f7d849eb5e49f7e7096e2888d27e2d63b11954269ecf886a88af98e447b1422400ab013852be272f828a711712dac6a28946314bcd40b
 SHA512 
5ec4c597eb7871c13feaaa96a76dc97c836f1fb5ae6c11d10675aee5577ad09d33e104af8fd497a8fbc7ee2c59434800d4cd857843f5c37460d4107ba0dc4e78
 DIST librdkafka-0.9.4.tar.gz 696078 BLAKE2B 
fa3b5b1cff0ffaa495e0a62c2886665c0d577bb68a6af9a0c1a6375e8a5804efba80e82b5c4f6d5308374d9a22b078eee18cf75ffa24669fa91c6276c80256f7
 SHA512 
054897d90131ba7d91f66e2929f19224ae96feabe1be69e93a87ad05864f4893aa56456c3c15a303826f0c519eab09c5cd6e0b34d76ae68db6060aa80e9bc8de

diff --git a/dev-libs/librdkafka/librdkafka-0.11.4.ebuild 
b/dev-libs/librdkafka/librdkafka-0.11.4.ebuild
new file mode 100644
index 00000000000..921e1619548
--- /dev/null
+++ b/dev-libs/librdkafka/librdkafka-0.11.4.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Apache Kafka C/C++ client library"
+HOMEPAGE="https://github.com/edenhill/librdkafka";
+
+if [[ ${PV} == "9999" ]]; then
+       EGIT_REPO_URI="https://github.com/edenhill/${PN}.git";
+
+       inherit git-r3
+else
+       SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~x86"
+fi
+
+LICENSE="BSD-2"
+
+# subslot = soname version
+SLOT="0/1"
+
+IUSE="lz4 sasl ssl static-libs"
+
+RDEPEND="
+       lz4? ( app-arch/lz4:= )
+       sasl? ( dev-libs/cyrus-sasl:= )
+       ssl? ( dev-libs/openssl:0= )
+       sys-libs/zlib
+"
+
+DEPEND="
+       ${RDEPEND}
+       virtual/pkgconfig
+"
+
+src_configure() {
+       tc-export CC CXX LD NM OBJDUMP PKG_CONFIG STRIP
+
+       local myeconf=(
+               --no-cache
+               --no-download
+               --disable-debug-symbols
+               $(use_enable lz4)
+               $(use_enable sasl)
+               $(usex static-libs '--enable-static' '')
+               $(use_enable ssl)
+       )
+
+       econf ${myeconf[@]}
+}
+
+src_test() {
+       emake -C tests run_local
+}
+
+src_install() {
+       local DOCS=(
+               README.md
+               CONFIGURATION.md
+               INTRODUCTION.md
+       )
+
+       default
+
+       if ! use static-libs; then
+               find "${ED}"usr/lib* -name '*.la' -o -name '*.a' -delete || die
+       fi
+}

Reply via email to