diff options
-rw-r--r-- | net-misc/kafkacat/kafkacat-1.5.0.ebuild | 10 | ||||
-rw-r--r-- | 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 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> |