commit: 51c57974b3904a7cc1ef0ee1685be40e0aee856e Author: William Hubbs <william.hubbs <AT> sony <DOT> com> AuthorDate: Fri Jan 31 22:52:21 2020 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Fri Jan 31 22:52:59 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51c57974
net-misc/kafkacat: take maintainership, add avro support Signed-off-by: William Hubbs <williamh <AT> gentoo.org> net-misc/kafkacat/kafkacat-1.5.0.ebuild | 10 +++++++--- net-misc/kafkacat/metadata.xml | 6 +++++- 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 911a01bcf83..d21b0f437ea 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 6bb4d4fe2c8..862bbf6be6e 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>willi...@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>