mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
sci-libs/dart: improved dependencies, WIP
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -14,8 +14,9 @@ SRC_URI="https://github.com/dartsim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|||||||
LICENSE="BSD-2"
|
LICENSE="BSD-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
IUSE="bullet examples extras glut ipopt +nlopt ode openscenegraph python tests tutorials urdfdom"
|
IUSE="bullet doc examples extras glut +ipopt +nlopt ode openscenegraph python test tutorials urdfdom"
|
||||||
#TODO: pagmo
|
#TODO: pagmo
|
||||||
|
RESTRIC="!test? ( test )"
|
||||||
|
|
||||||
REQUIRED_USE="
|
REQUIRED_USE="
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
python? ( ${PYTHON_REQUIRED_USE} )
|
||||||
@@ -41,9 +42,14 @@ RDEPEND="
|
|||||||
bullet? ( sci-physics/bullet )
|
bullet? ( sci-physics/bullet )
|
||||||
examples? ( dev-games/openscenegraph )
|
examples? ( dev-games/openscenegraph )
|
||||||
glut? ( media-libs/freeglut )
|
glut? ( media-libs/freeglut )
|
||||||
ipopt? ( >=sci-libs/ipopt-3.11.9 )
|
ipopt? ( sci-libs/ipopt )
|
||||||
nlopt? ( >=sci-libs/nlopt-2.4.1 )
|
nlopt? ( >=sci-libs/nlopt-2.4.1 )
|
||||||
python? ( ${PYTHON_DEPS} )
|
python? (
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/pybind11[${PYTHON_USEDEP}]
|
||||||
|
')
|
||||||
|
)
|
||||||
ode? ( dev-games/ode )
|
ode? ( dev-games/ode )
|
||||||
openscenegraph? ( dev-games/openscenegraph )
|
openscenegraph? ( dev-games/openscenegraph )
|
||||||
urdfdom? ( dev-libs/urdfdom )
|
urdfdom? ( dev-libs/urdfdom )
|
||||||
@@ -52,6 +58,7 @@ DEPEND="
|
|||||||
${RDEPEND}
|
${RDEPEND}
|
||||||
urdfdom? ( dev-libs/urdfdom_headers )
|
urdfdom? ( dev-libs/urdfdom_headers )
|
||||||
"
|
"
|
||||||
|
BDEPEND="doc? ( app-doc/doxygen )"
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
use python && python-single-r1_pkg_setup
|
use python && python-single-r1_pkg_setup
|
||||||
@@ -69,9 +76,10 @@ src_configure() {
|
|||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
cmake_src_compile
|
cmake_src_compile
|
||||||
# use examples && emake examples
|
use examples && cmake_src_compile examples
|
||||||
# use tests && emake tests
|
# use python && cmake_src_compile dartpy
|
||||||
# use tutorials && emake tutorials
|
# use test && cmake_src_compile tests
|
||||||
|
# use tutorials && cmake_src_compile tutorials
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
Reference in New Issue
Block a user