public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/Field3D/
Date: Tue, 21 May 2019 21:55:28 +0000 (UTC)	[thread overview]
Message-ID: <1558475704.2ec025cfb18c105c97dbeac18b7eb1ef5112fab1.asturm@gentoo> (raw)

commit:     2ec025cfb18c105c97dbeac18b7eb1ef5112fab1
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue May 21 21:48:52 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue May 21 21:55:04 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ec025cf

media-libs/Field3D: EAPI-7 bump, USE mpi, add proper src_configure()

Properly disabling Doxygen (don't even build it if it ain't finished).

Closes: https://bugs.gentoo.org/573440
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-libs/Field3D/Field3D-1.7.2.ebuild | 29 ++++++++++++++++++-----------
 1 file changed, 18 insertions(+), 11 deletions(-)

diff --git a/media-libs/Field3D/Field3D-1.7.2.ebuild b/media-libs/Field3D/Field3D-1.7.2.ebuild
index 2238a60f864..1af0862f0c6 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
+}


             reply	other threads:[~2019-05-21 21:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-21 21:55 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-07 23:24 [gentoo-commits] repo/gentoo:master commit in: media-libs/Field3D/ Andreas Sturmlechner
2024-03-07 11:51 Sam James
2024-03-07 11:51 Sam James
2022-02-28 23:58 Sam James
2022-02-28  5:21 Sam James
2022-02-19 19:47 Sam James
2022-02-18  2:27 Sam James
2021-09-10  5:35 Sam James
2021-02-22  7:12 Sam James
2020-12-21 18:07 Sam James
2019-06-04 20:58 Thomas Deutschmann
2018-01-28 14:11 Mikle Kolyada
2018-01-27 17:19 Jonathan Scruggs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1558475704.2ec025cfb18c105c97dbeac18b7eb1ef5112fab1.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox