From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 73CD413826A for ; Tue, 24 May 2016 14:25:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61082224046; Tue, 24 May 2016 14:25:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EFA33224046 for ; Tue, 24 May 2016 14:25:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CF74F340C59 for ; Tue, 24 May 2016 14:25:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 640EC968 for ; Tue, 24 May 2016 14:25:20 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1464099900.92a7f8e62a40540d70d539a874b45604bce084e1.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/c-capnproto/files/, dev-libs/c-capnproto/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/c-capnproto/Manifest dev-libs/c-capnproto/c-capnproto-0.1.ebuild dev-libs/c-capnproto/files/gtest.patch dev-libs/c-capnproto/metadata.xml X-VCS-Directories: dev-libs/c-capnproto/files/ dev-libs/c-capnproto/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 92a7f8e62a40540d70d539a874b45604bce084e1 X-VCS-Branch: master Date: Tue, 24 May 2016 14:25:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 660df303-04c0-4121-98f1-2e30f83291f5 X-Archives-Hash: 5811315dfb4d71a0c24bb15930e6a8e7 commit: 92a7f8e62a40540d70d539a874b45604bce084e1 Author: Alexis Ballier gentoo org> AuthorDate: Tue May 24 14:25:00 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Tue May 24 14:25:00 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92a7f8e6 dev-libs/c-capnproto: initial import; ebuild by me Package-Manager: portage-2.3.0_rc1 dev-libs/c-capnproto/Manifest | 1 + dev-libs/c-capnproto/c-capnproto-0.1.ebuild | 25 ++++++++++++++++++ dev-libs/c-capnproto/files/gtest.patch | 41 +++++++++++++++++++++++++++++ dev-libs/c-capnproto/metadata.xml | 8 ++++++ 4 files changed, 75 insertions(+) diff --git a/dev-libs/c-capnproto/Manifest b/dev-libs/c-capnproto/Manifest new file mode 100644 index 0000000..262db73 --- /dev/null +++ b/dev-libs/c-capnproto/Manifest @@ -0,0 +1 @@ +DIST c-capnproto-0.1.tar.gz 64051 SHA256 34718b5e56972f3964b69fcc5eea254cfd76d133a1ccf63f84c9e5a5a0faeab9 SHA512 6d8c66061419edafa0e01220a4c0fd23feac1674bb73b6f34c0677edaef9118a87badcbf939390842caa6fa4eb9ed0bc9c8ff542641b563bf729339bff9df9bd WHIRLPOOL d4e6ce299c063dcc57a48afc4f4dcf5ea7fcb485d8e325be31ed37595cfd539a29532f59adb679d3185c1a5af281331a62d83567e9862af44d463784319d7135 diff --git a/dev-libs/c-capnproto/c-capnproto-0.1.ebuild b/dev-libs/c-capnproto/c-capnproto-0.1.ebuild new file mode 100644 index 0000000..23e6bcb --- /dev/null +++ b/dev-libs/c-capnproto/c-capnproto-0.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF="yes" +inherit autotools-utils + +DESCRIPTION="C library/compiler for the Cap'n Proto serialization/RPC protocol" +HOMEPAGE="https://github.com/opensourcerouting/c-capnproto" +SRC_URI="https://github.com/opensourcerouting/c-capnproto/archive/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="" +DEPEND="${DEPEND} + test? ( dev-cpp/gtest )" +S="${WORKDIR}/${PN}-${P}" +PATCHES=( + "${FILESDIR}/gtest.patch" +) diff --git a/dev-libs/c-capnproto/files/gtest.patch b/dev-libs/c-capnproto/files/gtest.patch new file mode 100644 index 0000000..b094c5e --- /dev/null +++ b/dev-libs/c-capnproto/files/gtest.patch @@ -0,0 +1,41 @@ +Index: c-capnproto-c-capnproto-0.1/configure.ac +=================================================================== +--- c-capnproto-c-capnproto-0.1.orig/configure.ac ++++ c-capnproto-c-capnproto-0.1/configure.ac +@@ -35,8 +35,6 @@ AC_SUBST(WERROR) + # AC_MSG_ERROR([capnproto base package (0.5.2 or newer) not found]) + #]) + +-AC_CONFIG_SUBDIRS([gtest/googletest]) +- + AC_CONFIG_FILES([ + Makefile + c-capnproto.pc +Index: c-capnproto-c-capnproto-0.1/Makefile.am +=================================================================== +--- c-capnproto-c-capnproto-0.1.orig/Makefile.am ++++ c-capnproto-c-capnproto-0.1/Makefile.am +@@ -41,12 +41,6 @@ noinst_HEADERS += \ + compiler/c++.capnp.h \ + compiler/test.capnp.h + +-GTEST_LDADD = gtest/googletest/lib/libgtest.la +-gtest/googletest/lib/libgtest.la: +- make -C gtest/googletest lib/libgtest.la +-GTEST_CPPFLAGS = -I${srcdir}/gtest/googletest/include +-DIST_SUBDIRS = gtest/googletest +- + check_PROGRAMS += \ + capn-test + capn_test_SOURCES = \ +@@ -55,8 +49,8 @@ capn_test_SOURCES = \ + compiler/test.capnp.c \ + compiler/schema-test.cpp \ + compiler/schema.capnp.c +-capn_test_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_CPPFLAGS) ++capn_test_CPPFLAGS = $(AM_CPPFLAGS) + capn_test_CXXFLAGS = -std=gnu++11 -pthread +-capn_test_LDADD = libcapnp_c.la $(GTEST_LDADD) ++capn_test_LDADD = libcapnp_c.la -lgtest + capn_test_LDFLAGS = -pthread + TESTS = capn-test diff --git a/dev-libs/c-capnproto/metadata.xml b/dev-libs/c-capnproto/metadata.xml new file mode 100644 index 0000000..7a70bde --- /dev/null +++ b/dev-libs/c-capnproto/metadata.xml @@ -0,0 +1,8 @@ + + + + + aballier@gentoo.org + Alexis Ballier + +