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: Fri,  8 May 2020 22:49:23 +0000 (UTC)	[thread overview]
Message-ID: <1588978144.da7832d7de1438aa7d7a5c5253bcaeea9d2acd17.whissi@gentoo> (raw)

commit:     da7832d7de1438aa7d7a5c5253bcaeea9d2acd17
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri May  8 22:39:48 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri May  8 22:49:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da7832d7

dev-libs/librdkafka: bump to v1.4.2

Closes: https://bugs.gentoo.org/710324
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-libs/librdkafka/Manifest                |  1 +
 dev-libs/librdkafka/librdkafka-1.4.2.ebuild | 73 +++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/dev-libs/librdkafka/Manifest b/dev-libs/librdkafka/Manifest
index 4e8068c2eb4..a68cb4204ce 100644
--- a/dev-libs/librdkafka/Manifest
+++ b/dev-libs/librdkafka/Manifest
@@ -1 +1,2 @@
 DIST librdkafka-1.4.0.tar.gz 2722992 BLAKE2B 590fa90805bc2dc728dd32be333eaf9b2a4e6a840403838406684794ca68f2bcf9fc831e252a637622f9e6cd209d779ed20d503e49dac20bdb28f5d3fbd676bd SHA512 cd343597707d22490dfcd513a6b24ca5487dca5230a5a6775e7d6f10be2dc5481deb3a76968bb244d5f7514db92aceca541823c5841a7b54d8e00aeb9088731c
+DIST librdkafka-1.4.2.tar.gz 2732806 BLAKE2B 140160fef4f228d877bcfa9d892fd053d2b74547abdbeb7dc661bd4b2b7d576f1ebeecaccd1ac3c3669e059746f0c63be6468cd4f066a9862b8c60d8f2d014a4 SHA512 3d8e496466c103829f5fe11f1a6e68d1299c847b637c6fad55adbe1ad28bd5c463508f3f3fb8b3316b15a104f74e551cd5e520950d76c0e4f8c876083397ced5

diff --git a/dev-libs/librdkafka/librdkafka-1.4.2.ebuild b/dev-libs/librdkafka/librdkafka-1.4.2.ebuild
new file mode 100644
index 00000000000..c6121981cc1
--- /dev/null
+++ b/dev-libs/librdkafka/librdkafka-1.4.2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 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() {
+	emake \
+		DESTDIR="${D}" \
+		docdir="/usr/share/doc/${PF}" \
+		install
+
+	if ! use static-libs; then
+		find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+	fi
+}


             reply	other threads:[~2020-05-08 22:49 UTC|newest]

Thread overview: 131+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-08 22:49 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-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-11-17 20:25 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=1588978144.da7832d7de1438aa7d7a5c5253bcaeea9d2acd17.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