commit: 3c9b9c373bede1d53c75fa08a034395027b3be54 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Sun Jan 22 10:20:27 2017 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Sun Jan 22 10:21:14 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c9b9c37
sci-libs/ceres-solver: Restrict non native X86 to supporting USE Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=593954 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=596560 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=606776 Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> sci-libs/ceres-solver/ceres-solver-1.11.0.ebuild | 11 +++++----- sci-libs/ceres-solver/metadata.xml | 26 ++++++++++++------------ 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/sci-libs/ceres-solver/ceres-solver-1.11.0.ebuild b/sci-libs/ceres-solver/ceres-solver-1.11.0.ebuild index f027bf4..02c634f 100644 --- a/sci-libs/ceres-solver/ceres-solver-1.11.0.ebuild +++ b/sci-libs/ceres-solver/ceres-solver-1.11.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -15,12 +15,12 @@ SRC_URI="${HOMEPAGE}/${P}.tar.gz" LICENSE="sparse? ( BSD ) !sparse? ( LGPL-2.1 ) cxsparse? ( BSD )" SLOT="0/1" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - IUSE="cxsparse c++11 doc examples gflags lapack openmp +schur sparse test" -REQUIRED_USE="test? ( gflags ) sparse? ( lapack )" + +REQUIRED_USE="test? ( gflags ) sparse? ( lapack ) abi_x86_32? ( !sparse !lapack )" RDEPEND=" - dev-cpp/glog[gflags?] + dev-cpp/glog[gflags?,${MULTILIB_USEDEP}] cxsparse? ( sci-libs/cxsparse:0= ) lapack? ( virtual/lapack ) sparse? ( @@ -29,7 +29,8 @@ RDEPEND=" sci-libs/ccolamd:0= sci-libs/cholmod:0= sci-libs/colamd:0= - sci-libs/spqr:0= )" + sci-libs/spqr:0= + )" DEPEND="${RDEPEND} dev-cpp/eigen:3 diff --git a/sci-libs/ceres-solver/metadata.xml b/sci-libs/ceres-solver/metadata.xml index e08063b..644a681 100644 --- a/sci-libs/ceres-solver/metadata.xml +++ b/sci-libs/ceres-solver/metadata.xml @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo Science Project</name> -</maintainer> -<longdescription lang="en"> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en"> Ceres Solver is a portable C++ library that allows for modeling and solving large complicated nonlinear least squares problems. It features: @@ -21,15 +21,15 @@ * Iterative linear solvers for general sparse and bundle adjustment problems </longdescription> -<use> - <flag name="cxsparse">Enable simple support for sparse matrix algebra from + <use> + <flag name="cxsparse">Enable simple support for sparse matrix algebra from <pkg>sci-libs/cxsparse</pkg> with no LAPACK dependencies</flag> - <flag name="schur">Enable fixed-size schur specializations (disable if + <flag name="schur">Enable fixed-size schur specializations (disable if binary size is an issue)</flag> - <flag name="sparse">Enable support for sparse matrix algebra with various + <flag name="sparse">Enable support for sparse matrix algebra with various packages from SuiteSparse</flag> - <flag name="gflags">Use <pkg>dev-cpp/gflags</pkg> for flag parsing</flag> - <flag name="protobuf">Use <pkg>dev-libs/protobuf</pkg> to encode structured data</flag> - <flag name="c++11">Build ceres-solver using the C++11 standard</flag> -</use> + <flag name="gflags">Use <pkg>dev-cpp/gflags</pkg> for flag parsing</flag> + <flag name="protobuf">Use <pkg>dev-libs/protobuf</pkg> to encode structured data</flag> + <flag name="c++11">Build ceres-solver using the C++11 standard</flag> + </use> </pkgmetadata>
