commit:     a320e572d2448c70e896a1d9860d01b62024004c
Author:     William Hubbs <william.hubbs <AT> sony <DOT> com>
AuthorDate: Fri Jan 31 17:56:44 2020 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Jan 31 17:58:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a320e572

dev-libs/avro-c: c library for apache avro data serialization system

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 dev-libs/avro-c/avro-c-1.9.1.ebuild     | 23 +++++++++++++++++++++++
 net-misc/kafkacat/kafkacat-1.5.0.ebuild |  4 +++-
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/dev-libs/avro-c/avro-c-1.9.1.ebuild 
b/dev-libs/avro-c/avro-c-1.9.1.ebuild
new file mode 100644
index 00000000000..3d47fc238ea
--- /dev/null
+++ b/dev-libs/avro-c/avro-c-1.9.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake
+
+DESCRIPTION="c library for the apache avro data serialization system"
+HOMEPAGE="https://avro.apache.org/";
+SRC_URI="http://archive.apache.org/dist/avro/avro-${PV}/c/avro-c-${PV}.tar.gz";
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+       app-arch/snappy
+       >=dev-libs/jansson-2.3
+       sys-libs/zlib"
+       RDEPEND="${DEPEND}"
+
+PATCHES=(
+       "${FILESDIR}/${P}-fix-libdir.patch"
+)

diff --git a/net-misc/kafkacat/kafkacat-1.5.0.ebuild 
b/net-misc/kafkacat/kafkacat-1.5.0.ebuild
index 911a01bcf83..5782d2eaa92 100644
--- a/net-misc/kafkacat/kafkacat-1.5.0.ebuild
+++ b/net-misc/kafkacat/kafkacat-1.5.0.ebuild
@@ -12,9 +12,11 @@ 
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? (
+       )
        json? ( dev-libs/yajl )"
 RDEPEND="${DEPEND}"
 

Reply via email to