public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/librdkafka/
Date: Sun, 17 Nov 2019 20:25:44 +0000 (UTC)	[thread overview]
Message-ID: <1574022237.0c692db2367694077e37b182e546d6690f004dc6.whissi@gentoo> (raw)

commit:     0c692db2367694077e37b182e546d6690f004dc6
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 17 20:23:57 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Nov 17 20:23:57 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c692db2

dev-libs/librdkafka: bump to v1.2.2

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-libs/librdkafka/Manifest                |  1 +
 dev-libs/librdkafka/librdkafka-1.2.2.ebuild | 76 +++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/dev-libs/librdkafka/Manifest b/dev-libs/librdkafka/Manifest
index 52717deb6f5..2c9668bdde9 100644
--- a/dev-libs/librdkafka/Manifest
+++ b/dev-libs/librdkafka/Manifest
@@ -1,2 +1,3 @@
 DIST librdkafka-1.1.0.tar.gz 2511445 BLAKE2B 00c20361058d537d045da6961afc45e40e0ac641918df9eb457937dc3ca566639b81d8aa10cc6ed2f57988eded180f3d2eaea72ca4b910a652b93b54b9388253 SHA512 35561399b07278a09a51245c5503c86eb0cc8971692b4e65a332144bfb71e2e86d4ceaf1804534b6a416bcace74cef493b6465c20b32c14de97f45f2854359c6
 DIST librdkafka-1.2.1.tar.gz 2547009 BLAKE2B f55c2f23339294d54c1a3cbe064b0ddb6a638adfd192351a69bba91c81f7d33dfad13b45d50a8ea008e397400c89e90fe267549566a8dff07ca701ae59934126 SHA512 57341a0e4dbe98b9da912f5a63cc82490222bd91aef7c3cda3acaa4807e1d13ac047fbff8898f7459e7a1cb46f02dfc665e8c5bddffd8153d67a2c0546000a62
+DIST librdkafka-1.2.2.tar.gz 2588441 BLAKE2B 27cf73c61a56cd899926a2022f3751f66a2569d3065d5c3d8d542df8c0c92db08095188a08c91e347d2c1439f244d417eacbfb218e49c08fe4b5b2ef76f2bd6d SHA512 ef6fc34989e5e484cb0b9f6a6f8a5c4816d89239c18d65becc2004cdfeedbfb541e18affbb8662b05831003249630cb2119ee496b5b844c963b01eb6d4ebac5a

diff --git a/dev-libs/librdkafka/librdkafka-1.2.2.ebuild b/dev-libs/librdkafka/librdkafka-1.2.2.ebuild
new file mode 100644
index 00000000000..6d51d76e53f
--- /dev/null
+++ b/dev-libs/librdkafka/librdkafka-1.2.2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+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 ~sparc ~x86"
+fi
+
+LICENSE="BSD-2"
+
+# subslot = soname version
+SLOT="0/1"
+
+IUSE="lz4 sasl ssl static-libs zstd"
+
+LIB_DEPEND="
+	lz4? ( app-arch/lz4:=[static-libs(+)] )
+	sasl? ( dev-libs/cyrus-sasl:=[static-libs(+)] )
+	ssl? ( dev-libs/openssl:0=[static-libs(+)] )
+	zstd? ( app-arch/zstd:=[static-libs(+)] )
+	sys-libs/zlib:=[static-libs(+)]
+"
+
+RDEPEND="!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )"
+
+DEPEND="
+	${RDEPEND}
+	virtual/pkgconfig
+	static-libs? ( ${LIB_DEPEND} )
+"
+
+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)
+		$(use_enable zstd)
+	)
+
+	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	other threads:[~2019-11-17 20:25 UTC|newest]

Thread overview: 131+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-17 20:25 Thomas Deutschmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-22 10:35 [gentoo-commits] repo/gentoo:master commit in: dev-libs/librdkafka/ Patrick Lauer
2024-11-22 10:34 Patrick Lauer
2024-09-06  5:04 Eli Schwartz
2024-04-24 16:18 Arthur Zamarin
2024-04-24  6:05 Sam James
2024-04-23 14:30 Sam James
2024-04-23 14:15 Sam James
2024-04-23 14:15 Sam James
2024-04-23 10:24 Arthur Zamarin
2024-01-11 14:13 Sam James
2024-01-03 18:52 Arthur Zamarin
2023-10-10  5:48 Joonas Niilola
2023-10-09 18:57 Sam James
2023-10-09  4:53 Sam James
2023-07-31  8:08 Joonas Niilola
2023-07-31  8:08 Joonas Niilola
2023-07-15  6:08 Sam James
2023-07-15  3:10 Sam James
2023-07-14 16:51 Arthur Zamarin
2023-07-14 16:16 Arthur Zamarin
2023-06-04 16:19 Arthur Zamarin
2023-05-27  7:49 Joonas Niilola
2023-05-14  9:45 Viorel Munteanu
2023-05-06  5:31 Miroslav Šulc
2023-05-01 12:39 Michał Górny
2022-08-05  9:31 Arthur Zamarin
2022-06-07  6:34 Agostino Sarubbo
2022-06-07  6:32 Agostino Sarubbo
2022-06-07  6:31 Agostino Sarubbo
2022-06-07  6:31 Agostino Sarubbo
2021-10-20 23:47 Thomas Deutschmann
2021-09-22 12:16 Thomas Deutschmann
2021-07-26 15:45 Marek Szuba
2021-05-15  2:41 Sam James
2021-05-15  2:37 Sam James
2021-05-11 15:34 Thomas Deutschmann
2021-04-06  1:02 Thomas Deutschmann
2021-04-06  1:00 Thomas Deutschmann
2021-04-06  1:00 Thomas Deutschmann
2021-03-01 18:06 Thomas Deutschmann
2021-01-27 15:10 Thomas Deutschmann
2020-12-15 21:43 Thomas Deutschmann
2020-10-20 19:26 Thomas Deutschmann
2020-07-26 18:30 Thomas Deutschmann
2020-07-26 18:30 Thomas Deutschmann
2020-07-26 18:30 Thomas Deutschmann
2020-07-26 18:30 Thomas Deutschmann
2020-07-02 17:05 Sergei Trofimovich
2020-06-25 21:43 Thomas Deutschmann
2020-06-21 16:58 Agostino Sarubbo
2020-06-21 16:54 Agostino Sarubbo
2020-06-20 16:40 Mart Raudsepp
2020-06-20 15:10 罗百科
2020-06-20 10:13 Thomas Deutschmann
2020-06-20  3:11 Thomas Deutschmann
2020-06-14 11:13 Sergei Trofimovich
2020-06-01  6:41 Georgy Yakovlev
2020-05-08 22:49 Thomas Deutschmann
2020-05-08 22:49 Thomas Deutschmann
2020-04-30  7:09 Sergei Trofimovich
2020-04-23  6:29 Agostino Sarubbo
2020-04-23  6:21 Agostino Sarubbo
2020-04-23  6:20 Agostino Sarubbo
2020-04-17 20:21 Mart Raudsepp
2020-04-16 12:07 Thomas Deutschmann
2020-01-06  0:50 Aaron Bauman
2020-01-04 22:50 Sergei Trofimovich
2020-01-01 19:43 Agostino Sarubbo
2019-12-31 14:06 Agostino Sarubbo
2019-12-31 14:02 Agostino Sarubbo
2019-12-09 23:12 Thomas Deutschmann
2019-10-11 14:26 Thomas Deutschmann
2019-10-11 14:26 Thomas Deutschmann
2019-09-26 13:50 Thomas Deutschmann
2019-09-14 23:28 Sergei Trofimovich
2019-08-14 18:07 Sergei Trofimovich
2019-08-12  9:11 Agostino Sarubbo
2019-08-10 22:00 Aaron Bauman
2019-07-28 11:05 Mikle Kolyada
2019-06-20 18:08 Mikle Kolyada
2019-06-11 22:15 Sergei Trofimovich
2019-06-10 14:23 Thomas Deutschmann
2019-06-04 23:12 Thomas Deutschmann
2019-05-29 22:45 Thomas Deutschmann
2019-04-05 20:21 Thomas Deutschmann
2019-01-03 19:12 Mikle Kolyada
2018-12-28 12:17 Sergei Trofimovich
2018-12-20  1:30 Thomas Deutschmann
2018-12-19 20:19 Mikle Kolyada
2018-12-11 16:42 Thomas Deutschmann
2018-12-11 16:42 Thomas Deutschmann
2018-12-02 13:29 Mikle Kolyada
2018-10-29 14:54 Thomas Deutschmann
2018-10-05 13:33 Mikle Kolyada
2018-10-05  4:10 Thomas Deutschmann
2018-07-28 12:47 Thomas Deutschmann
2018-07-28 12:47 Thomas Deutschmann
2018-07-23 19:00 Sergei Trofimovich
2018-07-22 15:18 Mikle Kolyada
2018-07-09  0:37 Mikle Kolyada
2018-07-04  3:17 Thomas Deutschmann
2018-05-21 19:02 Thomas Deutschmann
2018-04-10 10:58 Thomas Deutschmann
2018-03-28  5:05 Markus Meier
2018-02-10  0:32 Thomas Deutschmann
2018-01-28 16:08 Mikle Kolyada
2017-12-07 23:39 Thomas Deutschmann
2017-11-23 20:48 Thomas Deutschmann
2017-11-22 21:38 Sergei Trofimovich
2017-08-12 19:11 Thomas Deutschmann
2017-08-12 19:11 Thomas Deutschmann
2017-08-05 19:04 Sergei Trofimovich
2017-06-19  9:54 Alexis Ballier
2017-05-05 10:56 Thomas Deutschmann
2017-05-05 10:56 Thomas Deutschmann
2017-03-02 13:50 Thomas Deutschmann
2017-03-01  7:55 Michael Weber
2017-02-01 22:27 Jeroen Roovers
2017-01-31 11:43 Agostino Sarubbo
2017-01-29 13:55 Agostino Sarubbo
2016-12-10  1:36 Thomas Deutschmann
2016-11-27 21:08 Thomas Deutschmann
2016-09-25 19:57 Jeroen Roovers
2016-08-10 20:44 Thomas Deutschmann
2016-08-10 20:44 Thomas Deutschmann
2016-06-12 17:52 Patrice Clement
2016-05-10 12:42 Lars Wendler
2016-04-29  6:50 Jeroen Roovers
2016-04-21 15:49 Markus Meier
2016-03-15  7:17 Ian Delaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1574022237.0c692db2367694077e37b182e546d6690f004dc6.whissi@gentoo \
    --to=whissi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox