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 5E450138359 for ; Sun, 23 Aug 2020 13:10:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76E81E041F; Sun, 23 Aug 2020 13:10:51 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 51671E041F for ; Sun, 23 Aug 2020 13:10:51 +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 1C79F340A03 for ; Sun, 23 Aug 2020 13:10:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 786FD32C for ; Sun, 23 Aug 2020 13:10:48 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1598188235.8ed83f1faba38e8fdaa3b8261bbba964c7a5c336.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/bullet/files/, sci-physics/bullet/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/bullet/bullet-2.86.ebuild sci-physics/bullet/files/bullet-2.85-soversion.patch X-VCS-Directories: sci-physics/bullet/files/ sci-physics/bullet/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 8ed83f1faba38e8fdaa3b8261bbba964c7a5c336 X-VCS-Branch: master Date: Sun, 23 Aug 2020 13:10:48 +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: 3867d9c8-7bb1-481f-bad4-0711e00fac4c X-Archives-Hash: 6cabdbda12fab95d6f744ce6e20d4038 commit: 8ed83f1faba38e8fdaa3b8261bbba964c7a5c336 Author: Ross Charles Campbell gmail com> AuthorDate: Sun Aug 23 13:10:35 2020 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Aug 23 13:10:35 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ed83f1f sci-physics/bullet: migrate to EAPI 7 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Closes: https://github.com/gentoo/gentoo/pull/17226 Signed-off-by: Ross Charles Campbell gmail.com> Signed-off-by: David Seifert gentoo.org> sci-physics/bullet/bullet-2.86.ebuild | 29 ++++++++++------------ .../bullet/files/bullet-2.85-soversion.patch | 25 ++++++------------- 2 files changed, 21 insertions(+), 33 deletions(-) diff --git a/sci-physics/bullet/bullet-2.86.ebuild b/sci-physics/bullet/bullet-2.86.ebuild index b0238f5c9d4..f983c772bb6 100644 --- a/sci-physics/bullet/bullet-2.86.ebuild +++ b/sci-physics/bullet/bullet-2.86.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils +inherit cmake DESCRIPTION="Continuous Collision Detection and Physics Library" HOMEPAGE="http://www.bulletphysics.com/" @@ -17,10 +17,8 @@ IUSE="+bullet3 doc double-precision examples extras test" RDEPEND=" virtual/opengl media-libs/freeglut" - -DEPEND=" - ${RDEPEND} - doc? ( app-doc/doxygen[dot] )" +DEPEND="${RDEPEND}" +BDEPEND="doc? ( app-doc/doxygen[dot] )" PATCHES=( "${FILESDIR}"/${PN}-2.85-soversion.patch ) @@ -32,7 +30,7 @@ RESTRICT="test" S="${WORKDIR}/${PN}3-${PV}" src_prepare() { - cmake-utils_src_prepare + cmake_src_prepare # allow to generate docs sed -i -e 's/GENERATE_HTMLHELP.*//g' Doxyfile || die @@ -40,7 +38,6 @@ src_prepare() { src_configure() { local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON -DBUILD_CPU_DEMOS=OFF -DBUILD_OPENGL3_DEMOS=OFF -DBUILD_BULLET2_DEMOS=OFF @@ -52,21 +49,21 @@ src_configure() { -DUSE_DOUBLE_PRECISION=$(usex double-precision) -DBUILD_UNIT_TESTS=$(usex test) ) - cmake-utils_src_configure + cmake_src_configure } src_compile() { - cmake-utils_src_compile + cmake_src_compile if use doc; then doxygen || die HTML_DOCS+=( html/. ) DOCS+=( docs/*.pdf ) fi -} -src_install() { - cmake-utils_src_install - use examples && DOCS+=( examples ) - einstalldocs + if use examples; then + # throws QA warnings + rm examples/ThirdPartyLibs/openvr/*/linux64/libopenvr_api.so || die + DOCS+=( examples ) + fi } diff --git a/sci-physics/bullet/files/bullet-2.85-soversion.patch b/sci-physics/bullet/files/bullet-2.85-soversion.patch index 74cfe4e8f8a..342569355d8 100644 --- a/sci-physics/bullet/files/bullet-2.85-soversion.patch +++ b/sci-physics/bullet/files/bullet-2.85-soversion.patch @@ -1,31 +1,22 @@ - Extras/Serialize/BulletFileLoader/CMakeLists.txt | 2 ++ - .../Serialize/BulletWorldImporter/CMakeLists.txt | 2 ++ - Extras/glui/CMakeLists.txt | 2 ++ - 3 files changed, 6 insertions(+), 0 deletions(-) - -diff --git a/Extras/Serialize/BulletFileLoader/CMakeLists.txt b/Extras/Serialize/BulletFileLoader/CMakeLists.txt -index 486cfdc..f1e0884 100644 --- a/Extras/Serialize/BulletFileLoader/CMakeLists.txt +++ b/Extras/Serialize/BulletFileLoader/CMakeLists.txt -@@ -16,6 +16,8 @@ btBulletFile.cpp - btBulletFile.h - ) +@@ -20,6 +20,8 @@ + + ADD_LIBRARY(BulletFileLoader ${BulletFileLoader_SRCS} ${BulletFileLoader_HDRS}) +SET_TARGET_PROPERTIES(BulletFileLoader PROPERTIES VERSION ${BULLET_VERSION}) +SET_TARGET_PROPERTIES(BulletFileLoader PROPERTIES SOVERSION ${BULLET_VERSION}) IF (BUILD_SHARED_LIBS) - TARGET_LINK_LIBRARIES(BulletFileLoader LinearMath) + TARGET_LINK_LIBRARIES(BulletFileLoader LinearMath) ENDIF (BUILD_SHARED_LIBS) -diff --git a/Extras/Serialize/BulletWorldImporter/CMakeLists.txt b/Extras/Serialize/BulletWorldImporter/CMakeLists.txt -index e620315..e04e8e9 100644 --- a/Extras/Serialize/BulletWorldImporter/CMakeLists.txt +++ b/Extras/Serialize/BulletWorldImporter/CMakeLists.txt -@@ -9,6 +9,8 @@ btBulletWorldImporter.cpp - btBulletWorldImporter.h - ) +@@ -14,6 +14,8 @@ + SET_TARGET_PROPERTIES(BulletWorldImporter PROPERTIES VERSION ${BULLET_VERSION}) + SET_TARGET_PROPERTIES(BulletWorldImporter PROPERTIES SOVERSION ${BULLET_VERSION}) +SET_TARGET_PROPERTIES(BulletWorldImporter PROPERTIES VERSION ${BULLET_VERSION}) +SET_TARGET_PROPERTIES(BulletWorldImporter PROPERTIES SOVERSION ${BULLET_VERSION}) IF (BUILD_SHARED_LIBS) - TARGET_LINK_LIBRARIES(BulletWorldImporter BulletDynamics BulletCollision BulletFileLoader LinearMath) + TARGET_LINK_LIBRARIES(BulletWorldImporter BulletDynamics BulletCollision BulletFileLoader LinearMath) ENDIF (BUILD_SHARED_LIBS)