summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <william.hubbs@sony.com>2020-01-31 16:52:21 -0600
committerWilliam Hubbs <williamh@gentoo.org>2020-01-31 16:52:59 -0600
commit51c57974b3904a7cc1ef0ee1685be40e0aee856e (patch)
treee98b72b7e61217b9e204069a21c785cc5d415c2f /net-misc/kafkacat
parentsys-fs/bindfs: 1.14.3 + GCC 10 (-fno-common) (diff)
downloadgentoo-51c57974b3904a7cc1ef0ee1685be40e0aee856e.tar.gz
gentoo-51c57974b3904a7cc1ef0ee1685be40e0aee856e.tar.bz2
gentoo-51c57974b3904a7cc1ef0ee1685be40e0aee856e.zip
net-misc/kafkacat: take maintainership, add avro support
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'net-misc/kafkacat')
-rw-r--r--net-misc/kafkacat/kafkacat-1.5.0.ebuild10
-rw-r--r--net-misc/kafkacat/metadata.xml6
2 files changed, 12 insertions, 4 deletions
diff --git a/net-misc/kafkacat/kafkacat-1.5.0.ebuild b/net-misc/kafkacat/kafkacat-1.5.0.ebuild
index 911a01bcf838..d21b0f437ead 100644
--- a/net-misc/kafkacat/kafkacat-1.5.0.ebuild
+++ b/net-misc/kafkacat/kafkacat-1.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,14 +12,18 @@ SRC_URI="https://github.com/edenhill/kafkacat/archive/${PV}.tar.gz -> ${P}.tar.g
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="+json"
+IUSE="+avro +json"
DEPEND=">=dev-libs/librdkafka-0.9.4
+ avro? (
+ dev-libs/avro-c
+ dev-libs/libserdes
+ )
json? ( dev-libs/yajl )"
RDEPEND="${DEPEND}"
src_configure() {
- econf $(use_enable json) --cc=$(tc-getCC)
+ econf $(use_enable avro) $(use_enable json) --cc=$(tc-getCC)
}
src_install() {
diff --git a/net-misc/kafkacat/metadata.xml b/net-misc/kafkacat/metadata.xml
index 6bb4d4fe2c81..862bbf6be6e2 100644
--- a/net-misc/kafkacat/metadata.xml
+++ b/net-misc/kafkacat/metadata.xml
@@ -1,8 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person"
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
<use>
+ <flag name="avro">Enable avro serialization/deserialization support</flag>
<flag name="json">Enable json support</flag>
</use>
<upstream>