1 |
commit: 0a8fcc1500ebb674f3f6eca10b60f75c5567966f |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 30 22:03:55 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 1 00:03:37 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8fcc15 |
7 |
|
8 |
media-gfx/openmesh: src_configure cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
media-gfx/openmesh/openmesh-4.1.ebuild | 18 +++++++----------- |
13 |
1 file changed, 7 insertions(+), 11 deletions(-) |
14 |
|
15 |
diff --git a/media-gfx/openmesh/openmesh-4.1.ebuild b/media-gfx/openmesh/openmesh-4.1.ebuild |
16 |
index 22fbdb4d292..33cb49ca2bb 100644 |
17 |
--- a/media-gfx/openmesh/openmesh-4.1.ebuild |
18 |
+++ b/media-gfx/openmesh/openmesh-4.1.ebuild |
19 |
@@ -44,17 +44,13 @@ src_prepare() { |
20 |
} |
21 |
|
22 |
src_configure() { |
23 |
- mycmakeargs="" |
24 |
- |
25 |
- mycmakeargs="${mycmakeargs} -DOPENMESH_BUILD_UNIT_TESTS=TRUE" |
26 |
- |
27 |
- # Disable python bindings until someone wants them. |
28 |
- mycmakeargs="${mycmakeargs} -DOPENMESH_BUILD_PYTHON_BINDINGS=FALSE" |
29 |
- mycmakeargs="${mycmakeargs} -DOPENMESH_BUILD_PYTHON_UNIT_TESTS=FALSE" |
30 |
- |
31 |
- if ! use qt5; then |
32 |
- mycmakeargs="${mycmakeargs} -DBUILD_APPS=OFF" |
33 |
- fi |
34 |
+ local mycmakeargs=( |
35 |
+ -DOPENMESH_BUILD_UNIT_TESTS=TRUE |
36 |
+ # Disable python bindings until someone wants them. |
37 |
+ -DOPENMESH_BUILD_PYTHON_BINDINGS=FALSE |
38 |
+ -DOPENMESH_BUILD_PYTHON_UNIT_TESTS=FALSE |
39 |
+ -DBUILD_APPS=$(usex qt5) |
40 |
+ ) |
41 |
|
42 |
cmake-utils_src_configure |
43 |
} |