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 3A9CF138334 for ; Wed, 3 Apr 2019 14:11:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4447EE097A; Wed, 3 Apr 2019 14:11:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 04687E097A for ; Wed, 3 Apr 2019 14:11:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 7B1B3335D15 for ; Wed, 3 Apr 2019 14:11:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD5FC58E for ; Wed, 3 Apr 2019 14:11:24 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1554300673.c7472f51dd2be2e731b931be57799c60678e9bb7.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cmocka/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/cmocka/Manifest dev-util/cmocka/cmocka-1.1.5.ebuild X-VCS-Directories: dev-util/cmocka/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: c7472f51dd2be2e731b931be57799c60678e9bb7 X-VCS-Branch: master Date: Wed, 3 Apr 2019 14:11:24 +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: 00ba44a2-bb6f-400e-a197-d380310d9358 X-Archives-Hash: fb15e65d63d7d34c5923522fc0f29057 commit: c7472f51dd2be2e731b931be57799c60678e9bb7 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Apr 3 14:07:40 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Apr 3 14:11:13 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7472f51 dev-util/cmocka: 1.1.5 version bump Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-util/cmocka/Manifest | 1 + dev-util/cmocka/cmocka-1.1.5.ebuild | 44 +++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-util/cmocka/Manifest b/dev-util/cmocka/Manifest index 2b6a080ffd4..1709a3dcbbe 100644 --- a/dev-util/cmocka/Manifest +++ b/dev-util/cmocka/Manifest @@ -1 +1,2 @@ DIST cmocka-1.1.3.tar.xz 78744 BLAKE2B 5043a496afab08837a73c2e0ff9c9b3c3880a2fd394a768b1f8b51d2fec517a5527e93b7e660f8dcc73af79aaf88e224f4e2869c7e31540f8e54c76481905ff6 SHA512 b1a2ce72234256d653eebf95f8744a34525b9027e1ecf6552e1620c83a4bdda8b5674b748cc5fd14abada1e374829e2e7f0bcab0b1c8d6c3b7d9b7ec474b6ed3 +DIST cmocka-1.1.5.tar.xz 81004 BLAKE2B 5625dc293ad481c654848f3de806ef88d1b651192c2461e52b54bf9d443b5e2ea5d2a685ab85b044685f57e5723ade6c4c17e38624f59c4eab240cb4feeaab1e SHA512 cad7f04757183d004f6eaad39036fc0e24c5e0e987f80e85bc43bc66dba22389cb02b08e25531cc28a541d0a24a86b29be134a2d6fc339128e87d66952f502bd diff --git a/dev-util/cmocka/cmocka-1.1.5.ebuild b/dev-util/cmocka/cmocka-1.1.5.ebuild new file mode 100644 index 00000000000..e0d5dc6a726 --- /dev/null +++ b/dev-util/cmocka/cmocka-1.1.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-multilib + +DESCRIPTION="Unit testing framework for C" +HOMEPAGE="https://cmocka.org/" +SRC_URI="https://cmocka.org/files/1.1/${P}.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="doc examples static-libs test" + +BDEPEND=" + doc? ( app-doc/doxygen[dot] ) +" + +multilib_src_configure() { + local mycmakeargs=( + -DWITH_EXAMPLES=$(usex examples) + -DWITH_STATIC_LIB=$(usex static-libs) + -DUNIT_TESTING=$(usex test) + $(multilib_is_native_abi && cmake-utils_use_find_package doc Doxygen \ + || echo -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON) + ) + + cmake-utils_src_configure +} + +multilib_src_compile() { + cmake-utils_src_compile + multilib_is_native_abi && use doc && cmake-utils_src_compile docs +} + +multilib_src_install() { + if multilib_is_native_abi && use doc; then + local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. ) + fi + + cmake-utils_src_install +}