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-gfx/openmesh/
Date: Sun,  1 Jul 2018 00:03:54 +0000 (UTC)	[thread overview]
Message-ID: <1530403417.0a8fcc1500ebb674f3f6eca10b60f75c5567966f.asturm@gentoo> (raw)

commit:     0a8fcc1500ebb674f3f6eca10b60f75c5567966f
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 30 22:03:55 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul  1 00:03:37 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8fcc15

media-gfx/openmesh: src_configure cleanup

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 media-gfx/openmesh/openmesh-4.1.ebuild | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/media-gfx/openmesh/openmesh-4.1.ebuild b/media-gfx/openmesh/openmesh-4.1.ebuild
index 22fbdb4d292..33cb49ca2bb 100644
--- a/media-gfx/openmesh/openmesh-4.1.ebuild
+++ b/media-gfx/openmesh/openmesh-4.1.ebuild
@@ -44,17 +44,13 @@ src_prepare() {
 }
 
 src_configure() {
-	mycmakeargs=""
-
-	mycmakeargs="${mycmakeargs} -DOPENMESH_BUILD_UNIT_TESTS=TRUE"
-
-	# Disable python bindings until someone wants them.
-	mycmakeargs="${mycmakeargs} -DOPENMESH_BUILD_PYTHON_BINDINGS=FALSE"
-	mycmakeargs="${mycmakeargs} -DOPENMESH_BUILD_PYTHON_UNIT_TESTS=FALSE"
-
-	if ! use qt5; then
-		mycmakeargs="${mycmakeargs} -DBUILD_APPS=OFF"
-	fi
+	local mycmakeargs=(
+		-DOPENMESH_BUILD_UNIT_TESTS=TRUE
+		# Disable python bindings until someone wants them.
+		-DOPENMESH_BUILD_PYTHON_BINDINGS=FALSE
+		-DOPENMESH_BUILD_PYTHON_UNIT_TESTS=FALSE
+		-DBUILD_APPS=$(usex qt5)
+	)
 
 	cmake-utils_src_configure
 }


             reply	other threads:[~2018-07-01  0:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-01  0:03 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-02-26 19:53 [gentoo-commits] repo/gentoo:master commit in: media-gfx/openmesh/ Sam James
2018-09-05 21:18 Andreas Sturmlechner
2018-07-01  0:03 Andreas Sturmlechner
2018-07-01  0:03 Andreas Sturmlechner
2018-07-01  0:03 Andreas Sturmlechner
2018-07-01  0:03 Andreas Sturmlechner
2017-09-23  2:47 Michael Palimaka
2017-06-06 11:07 Pacho Ramos
2016-06-01 23:06 Justin Bronder
2015-09-10 18:29 Michael Palimaka

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=1530403417.0a8fcc1500ebb674f3f6eca10b60f75c5567966f.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