From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4F661138334 for ; Mon, 11 Feb 2019 16:26:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55354E0823; Mon, 11 Feb 2019 16:26:12 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2813EE0823 for ; Mon, 11 Feb 2019 16:26:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C7EEB335CD9 for ; Mon, 11 Feb 2019 16:26:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4FD96503 for ; Mon, 11 Feb 2019 16:26:09 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1549902361.f222c6da4f17a2b813aa03e3fcf13d1384425339.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/json-c/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/json-c/Manifest dev-libs/json-c/json-c-0.12.ebuild X-VCS-Directories: dev-libs/json-c/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: f222c6da4f17a2b813aa03e3fcf13d1384425339 X-VCS-Branch: master Date: Mon, 11 Feb 2019 16:26:09 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 36f0f2ca-0212-474a-b89e-0506070769cc X-Archives-Hash: 2eb6b360c8f79354a0cc15ebf785f2bd commit: f222c6da4f17a2b813aa03e3fcf13d1384425339 Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Feb 11 16:25:37 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Feb 11 16:26:01 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f222c6da Revert "dev-libs/json-c: Drop old" This reverts commit 19b53f00c5cc61d1198cbc805ba5d6ebeffecef6. gentoo.org> dev-libs/json-c/Manifest | 1 + dev-libs/json-c/json-c-0.12.ebuild | 40 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-libs/json-c/Manifest b/dev-libs/json-c/Manifest index 358927a4fd1..40602e756dd 100644 --- a/dev-libs/json-c/Manifest +++ b/dev-libs/json-c/Manifest @@ -1 +1,2 @@ +DIST json-c-0.12.tar.gz 501419 BLAKE2B 24f035792ff1ba5c39e55bca6ee4ba2509ab71d0374c70b520791f38e1ec4ff2245a282f234fde9f4a02cd9eaaaaa998ce307563a20702c04ee972fdf51f2539 SHA512 c959804362386f6b77e9d04b5fedf6d6aff1fcd0ab50250edb25f759b510b402e7ad4b33d1cbadc3337b63a3145d19f310812a9ee351748348304b384dc2dc35 DIST json-c-0.13.1.tar.gz 639425 BLAKE2B 1da310309f9ce03306a9fd4a161670e460cf0b2222348df7c006902390f74a4cf100aab1ce6ac8a361a278dd917c114a278de5b3445817f3a40ae287478add46 SHA512 e984db2a42b9c95b52c798b2e8dd1b79951a8dcba27370af30c43b9549fbb00008dbcf052a535c528209aaee38e6d1f760168b706905ae72f3e704ed20f8a1a1 diff --git a/dev-libs/json-c/json-c-0.12.ebuild b/dev-libs/json-c/json-c-0.12.ebuild new file mode 100644 index 00000000000..9074dc52349 --- /dev/null +++ b/dev-libs/json-c/json-c-0.12.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-multilib + +DESCRIPTION="A JSON implementation in C" +HOMEPAGE="https://github.com/json-c/json-c/wiki" +SRC_URI="https://s3.amazonaws.com/json-c_releases/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/2" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc static-libs" + +RDEPEND="" + +# tests break otherwise +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_prepare() { + sed -i -e "s:-Werror::" Makefile.am.inc || die + autotools-multilib_src_prepare +} + +src_test() { + export USE_VALGRIND=0 VERBOSE=1 + autotools-multilib_src_test +} + +src_install() { + use doc && HTML_DOCS=( "${S}"/doc/html ) + autotools-multilib_src_install + + # add symlink for projects not using pkgconfig + dosym ../json-c /usr/include/json-c/json +}