diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-11 18:45:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-11 18:45:56 +0000 |
commit | 72d7e048ae88be323a380e2eae52dfda0b2dc1c0 (patch) | |
tree | e3d45f3a557c324e6058aae95f920e55d8f40602 /dev-libs/igraph/igraph-0.10.10.ebuild | |
parent | 8b4349b75818953123e2d4b80963181a9640c8e3 (diff) |
gentoo auto-resync : 11:03:2024 - 18:45:56
Diffstat (limited to 'dev-libs/igraph/igraph-0.10.10.ebuild')
-rw-r--r-- | dev-libs/igraph/igraph-0.10.10.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/igraph/igraph-0.10.10.ebuild b/dev-libs/igraph/igraph-0.10.10.ebuild new file mode 100644 index 000000000000..f270109ee806 --- /dev/null +++ b/dev-libs/igraph/igraph-0.10.10.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Creating and manipulating undirected and directed graphs" +HOMEPAGE="https://igraph.org/" +SRC_URI="https://github.com/igraph/igraph/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/0" +KEYWORDS="~amd64 ~x86" + +IUSE="debug test threads" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/gmp:0= + dev-libs/libxml2 + sci-libs/arpack + sci-mathematics/glpk:= + sci-mathematics/plfit + virtual/blas + virtual/lapack" +DEPEND="${RDEPEND}" + +PATCHES=( + # backport fix for strict-aliasing + "${FILESDIR}"/808c083fbe661207ee8f0fcd3be5096b5dc17d0d.patch +) + +src_configure() { + local mycmakeargs=( + -DUSE_CCACHE=OFF + -DIGRAPH_GLPK_SUPPORT=ON + -DIGRAPH_GRAPHML_SUPPORT=ON + -DIGRAPH_USE_INTERNAL_ARPACK=OFF + -DIGRAPH_USE_INTERNAL_BLAS=OFF + -DIGRAPH_USE_INTERNAL_GLPK=OFF + -DIGRAPH_USE_INTERNAL_GMP=OFF + -DIGRAPH_USE_INTERNAL_LAPACK=OFF + -DIGRAPH_USE_INTERNAL_PLFIT=OFF + -DIGRAPH_ENABLE_TLS=$(usex threads) + -DBUILD_TESTING=$(usex test) + ) + cmake_src_configure +} + +src_test() { + cmake_build check +} |