summaryrefslogtreecommitdiff
path: root/media-libs/Field3D
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/Field3D')
-rw-r--r--media-libs/Field3D/Field3D-1.7.2.ebuild29
-rw-r--r--media-libs/Field3D/Manifest2
2 files changed, 19 insertions, 12 deletions
diff --git a/media-libs/Field3D/Field3D-1.7.2.ebuild b/media-libs/Field3D/Field3D-1.7.2.ebuild
index 2238a60f8640..1af0862f0c6d 100644
--- a/media-libs/Field3D/Field3D-1.7.2.ebuild
+++ b/media-libs/Field3D/Field3D-1.7.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit cmake-utils
@@ -12,17 +12,24 @@ SRC_URI="https://github.com/imageworks/Field3D/archive/v${PV}.tar.gz -> ${P}.tar
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~x86"
+IUSE="mpi"
+BDEPEND="virtual/pkgconfig"
RDEPEND="
>=dev-libs/boost-1.62:=
>=media-libs/ilmbase-2.2.0:=
sci-libs/hdf5:=
- virtual/mpi"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}/Field3D-1.7.2-Use-PkgConfig-for-IlmBase.patch" )
-
-# Docs are not finished yet.
-mycmakeargs=( -DINSTALL_DOCS=OFF )
+ mpi? ( virtual/mpi )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-Use-PkgConfig-for-IlmBase.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DINSTALL_DOCS=OFF # Docs are not finished yet.
+ -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
+ $(cmake-utils_use_find_package mpi MPI)
+ )
+ cmake-utils_src_configure
+}
diff --git a/media-libs/Field3D/Manifest b/media-libs/Field3D/Manifest
index 2728cad4d0b9..c8b9a5f405c3 100644
--- a/media-libs/Field3D/Manifest
+++ b/media-libs/Field3D/Manifest
@@ -1,4 +1,4 @@
AUX Field3D-1.7.2-Use-PkgConfig-for-IlmBase.patch 5371 BLAKE2B c8a1360db04de4cfa18b739af024934469b9cf2a2314d3fb248ad2df371be902369989f120dc7c1adb86ea77cf01a7a5e0944b9a4a57e9a9e329a06c5d24c97d SHA512 167da6b57983e317266ccbb9670cc5ec03f041343e44af3cbedc14366e349edd1d5f2a0ac163fa919827b2dfdd9811525b81c446a0e32016b3bd51f84f202bcb
DIST Field3D-1.7.2.tar.gz 502481 BLAKE2B 8d5fbac915b52b36e66250f8fcd2beb5fff9d2446696ad1829e3edf05c9810b5d54928c6ab4f5aa99c1338da24cea446134434a59aa1d053f3da3500c2800f59 SHA512 e4ea51310105980f759dce48830db8ae3592ce32a02b246214d8aed9df7a7f5c500314f2daf92196b7a76d648f2909b18112df4c5c3c8949c0676d710dfbf1f2
-EBUILD Field3D-1.7.2.ebuild 645 BLAKE2B 9b02a5fbcefbed02b0434e553e24207ae103eb898322917caac724ed7ff39f3ce673dfc21b340e8cd1439f4d7e32a29202cd88ee4a387f8de8571aac4a4ed717 SHA512 5d31100bc97fb809082c3f8dd4bc727dd550168ebde3055f8d4a492216a77f7d0e45a1fa8cba65136799a34f7b6b060ff74600a789003ddf6ad8c47847729896
+EBUILD Field3D-1.7.2.ebuild 803 BLAKE2B 85f88e8134a9c39c3e84122a39f6e80c590898c5aae95d65c8f55d3dff44f16bcf018b8fe9f523045df1bc8da3125d21494f8c12156673417a3f17d3afb0d59f SHA512 ea22e2ae2ae07cbc54f1afb47781dea15044be9284a3d16e115dd5016a6e3f351650465afb6226736fc4551864f7d41433a2eaa58335758cff954cd1447e5c05
MISC metadata.xml 820 BLAKE2B e8b04778684298db20cdea68773c50d5791eb0b024fcc0193293dcc34dd06eb0180cfb16075117c3a4b325d1ef1cb78b3bd40b64b67fb3e41e162a17fceb1cbc SHA512 3e8b636aaa7cae681572ceae3b942e20149864be38c5f437227c462185e3acf4660de7a9071988cf59e3a481e47d804de0c563d23674bc772287318cac9a933b