From 3c9b9c373bede1d53c75fa08a034395027b3be54 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sun, 22 Jan 2017 10:20:27 +0000 Subject: [PATCH] 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 --- .../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 f027bf48b6b3..02c634f52a8d 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 e08063b30f26..644a681b4140 100644 --- a/sci-libs/ceres-solver/metadata.xml +++ b/sci-libs/ceres-solver/metadata.xml @@ -1,11 +1,11 @@ - - sci@gentoo.org - Gentoo Science Project - - + + sci@gentoo.org + Gentoo Science Project + + 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 - - Enable simple support for sparse matrix algebra from + + Enable simple support for sparse matrix algebra from sci-libs/cxsparse with no LAPACK dependencies - Enable fixed-size schur specializations (disable if + Enable fixed-size schur specializations (disable if binary size is an issue) - Enable support for sparse matrix algebra with various + Enable support for sparse matrix algebra with various packages from SuiteSparse - Use dev-cpp/gflags for flag parsing - Use dev-libs/protobuf to encode structured data - Build ceres-solver using the C++11 standard - + Use dev-cpp/gflags for flag parsing + Use dev-libs/protobuf to encode structured data + Build ceres-solver using the C++11 standard + -- 2.26.2