From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sci-libs/dart/files/, sci-libs/dart/
Date: Wed, 8 Sep 2021 15:20:57 +0000 (UTC) [thread overview]
Message-ID: <1631011670.bc0713ed1c017d0fd46ee9ae30a755c0852e65db.arthurzam@gentoo> (raw)
commit: bc0713ed1c017d0fd46ee9ae30a755c0852e65db
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Sep 7 10:44:49 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 7 10:47:50 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bc0713ed
sci-libs/dart: respect LDFLAGS
Closes: https://bugs.gentoo.org/791418
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sci-libs/dart/dart-6.10.1-r2.ebuild | 13 +++++++------
sci-libs/dart/files/dart-respect-ldflags.patch | 11 +++++++++++
sci-libs/dart/metadata.xml | 1 +
3 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/sci-libs/dart/dart-6.10.1-r2.ebuild b/sci-libs/dart/dart-6.10.1-r2.ebuild
index a0947f03b..d475a1738 100644
--- a/sci-libs/dart/dart-6.10.1-r2.ebuild
+++ b/sci-libs/dart/dart-6.10.1-r2.ebuild
@@ -14,10 +14,12 @@ SRC_URI="https://github.com/dartsim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="bullet doc examples extras glut +ipopt +nlopt ode openscenegraph python test tutorials urdfdom"
+IUSE="bullet doc examples extras glut +ipopt +nlopt ode openscenegraph python test tests tutorials urdfdom"
#TODO: pagmo
+#TODO: unbundle imgui
RESTRICT="!test? ( test )"
+PATCHES=( "${FILESDIR}/${PN}-respect-ldflags.patch" )
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
@@ -28,7 +30,6 @@ RDEPEND="
app-arch/lz4
>=dev-cpp/eigen-3.0.5
dev-libs/boost
- dev-libs/tinyxml
dev-libs/tinyxml2
>=sci-libs/libccd-2.0
>=media-libs/assimp-3.0.0
@@ -76,10 +77,10 @@ src_configure() {
src_compile() {
cmake_src_compile
- use examples && cmake_src_compile examples
-# use python && cmake_src_compile dartpy
-# use test && cmake_src_compile tests
-# use tutorials && cmake_src_compile tutorials
+ use examples && cmake_build examples
+ use python && cmake_build dartpy # no work to do ...
+ use test && cmake_build tests
+ use tutorials && cmake_build tutorials
}
src_install() {
diff --git a/sci-libs/dart/files/dart-respect-ldflags.patch b/sci-libs/dart/files/dart-respect-ldflags.patch
new file mode 100644
index 000000000..0fa4397cd
--- /dev/null
+++ b/sci-libs/dart/files/dart-respect-ldflags.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -220,7 +220,7 @@
+ endif()
+ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} ${CMAKE_CXX_FLAGS_DEBUG}")
+ set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_DEBUG} -pg")
+- set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined")
++ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
+
+ # Enforce to colorize compilation output
+ if(${DART_FORCE_COLORED_OUTPUT})
diff --git a/sci-libs/dart/metadata.xml b/sci-libs/dart/metadata.xml
index 98e526744..486eef082 100644
--- a/sci-libs/dart/metadata.xml
+++ b/sci-libs/dart/metadata.xml
@@ -17,6 +17,7 @@
<flag name="nlopt">NLopt Optimization Support</flag>
<flag name="ode">ODE Collision Detector Support</flag>
<flag name="openscenegraph">OpenSceneGraph GUI and examples</flag>
+ <flag name="tests">Build the tests</flag>
<flag name="tutorials">Build the tutorials</flag>
<flag name="urdfdom">URDF parser</flag>
</use>
next reply other threads:[~2021-09-08 15:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-08 15:20 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-29 0:22 [gentoo-commits] repo/proj/guru:master commit in: sci-libs/dart/files/, sci-libs/dart/ Ronny Gutbrod
2022-04-23 17:49 Haelwenn Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1631011670.bc0713ed1c017d0fd46ee9ae30a755c0852e65db.arthurzam@gentoo \
--to=arthurzam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox