# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 JAVA_PKG_OPT_USE="gui" VIRTUALX_REQUIRED="manual" inherit eutils autotools bash-completion-r1 check-reqs fdo-mime flag-o-matic \ fortran-2 git-2 java-pkg-opt-2 toolchain-funcs virtualx # Comments: # - we don't rely on the configure script to find the right version of java # packages. This should fix bug #41821 # Things that don't work: # - tests # - can't build without docs (-doc) # - has to call eautoconf, and not eautoreconf, libtool fails otherwise # - needs to remove scilab-5.3.x before installing otherwise gets a DOCBOOK_ROOT # error DESCRIPTION="Scientific software package for numerical computations" LICENSE="CeCILL-2" HOMEPAGE="http://www.scilab.org/" #SRC_URI="http://guillaume.horel.free.fr/${P}.tar.gz" EGIT_REPO_URI="git://git.scilab.org/scilab" SLOT="0" IUSE="bash-completion debug doc fftw +gui +matio nls openmp static-libs test tk +umfpack xcos" REQUIRED_USE="xcos? ( gui ) doc? ( gui )" # ALL_LINGUAS variable defined in configure.ac LINGUAS="fr_FR zh_CN zh_TW ca_ES es_ES pt_BR" for l in ${LINGUAS}; do IUSE="${IUSE} linguas_${l}" done LINGUASLONG="de_DE ja_JP it_IT uk_UA pl_PL ru_RU" for l in ${LINGUASLONG}; do IUSE="${IUSE} linguas_${l%_*}" done KEYWORDS="~amd64 ~x86" CDEPEND="dev-libs/libpcre dev-libs/libxml2:2 sys-devel/gettext sys-libs/ncurses sys-libs/readline virtual/lapack fftw? ( sci-libs/fftw:3.0 ) gui? ( dev-java/avalon-framework:4.2 dev-java/batik:1.7 dev-java/commons-io:1 dev-java/flexdock:0 dev-java/fop:0 dev-java/gluegen:2 dev-java/javahelp:0 dev-java/jeuclid-core:0 dev-java/jgoodies-looks:2.0 >=dev-java/jlatexmath-0.9.4:0 dev-java/jogl:2 >=dev-java/jrosetta-1.0.4:0 dev-java/scirenderer:0 dev-java/skinlf:0 dev-java/xmlgraphics-commons:1.3 virtual/opengl doc? ( dev-java/saxon:6.5 ) xcos? ( dev-java/jgraphx:1.8 ) ) matio? (