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 5A0E61382C5 for ; Sat, 13 Mar 2021 22:21:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E579E07FE; Sat, 13 Mar 2021 22:21:24 +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 84F06E07FE for ; Sat, 13 Mar 2021 22:21:24 +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 69D47335D53 for ; Sat, 13 Mar 2021 22:21:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 926A013B for ; Sat, 13 Mar 2021 22:21:21 +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: <1615674067.f5b25c9fd1c98384788a00adfba5e519b6c91551.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/box2d/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-engines/box2d/box2d-2.4.1.ebuild X-VCS-Directories: games-engines/box2d/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: f5b25c9fd1c98384788a00adfba5e519b6c91551 X-VCS-Branch: master Date: Sat, 13 Mar 2021 22:21:21 +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: 442f0f2f-25a8-4f91-9194-a1f254179e9a X-Archives-Hash: dd215eeef926f0594cd6273ba59152c4 commit: f5b25c9fd1c98384788a00adfba5e519b6c91551 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Mar 13 22:20:43 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Mar 13 22:21:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5b25c9f games-engines/box2d: Add IUSE=doc, set BOX2D_BUILD_TESTBED=OFF Closes: https://bugs.gentoo.org/775854 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> games-engines/box2d/box2d-2.4.1.ebuild | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/games-engines/box2d/box2d-2.4.1.ebuild b/games-engines/box2d/box2d-2.4.1.ebuild index 60c6f3ccd48..e75f1f08767 100644 --- a/games-engines/box2d/box2d-2.4.1.ebuild +++ b/games-engines/box2d/box2d-2.4.1.ebuild @@ -12,3 +12,14 @@ SRC_URI="https://github.com/erincatto/Box2D/archive/v${PV}.tar.gz -> ${P}.tar.gz LICENSE="ZLIB" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="doc" + +BDEPEND="doc? ( app-doc/doxygen )" + +src_configure() { + local mycmakeargs=( + -DBOX2D_BUILD_TESTBED=OFF # bundled libs, broken anyway right now + -DBOX2D_BUILD_DOCS=$(usex doc) + ) + cmake_src_configure +}