1 |
commit: ac688e86083db94f0461d6ccb3ec5c3de25d084e |
2 |
Author: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 20 10:56:05 2019 +0000 |
4 |
Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 20 10:56:31 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac688e86 |
7 |
|
8 |
net-im/dino: specify valac for build system to use |
9 |
|
10 |
Before, dino's cmake scripts just searched for unversioned valac, and |
11 |
versioned ones with versions in the range 0.32 - 0.38. |
12 |
|
13 |
There are good reasons to let Portage decide which valac to use. |
14 |
|
15 |
* Now we have 0.40 and 0.42 in Gentoo tree. These are not detected by |
16 |
dino build system (bug 678402). |
17 |
* Allow users to override valac version uniformly across Gentoo with |
18 |
VALAC envvar. |
19 |
|
20 |
Suggested-by: Daniel Kenzelmann <gentoo <AT> k8n.de> |
21 |
Bug: https://bugs.gentoo.org/678402 |
22 |
Package-Manager: Portage-2.3.51, Repoman-2.3.12 |
23 |
Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org> |
24 |
|
25 |
net-im/dino/dino-9999.ebuild | 2 ++ |
26 |
1 file changed, 2 insertions(+) |
27 |
|
28 |
diff --git a/net-im/dino/dino-9999.ebuild b/net-im/dino/dino-9999.ebuild |
29 |
index bbf506d8456..80ecc7fbd0b 100644 |
30 |
--- a/net-im/dino/dino-9999.ebuild |
31 |
+++ b/net-im/dino/dino-9999.ebuild |
32 |
@@ -47,6 +47,7 @@ DEPEND=" |
33 |
|
34 |
src_prepare() { |
35 |
cmake-utils_src_prepare |
36 |
+ vala_src_prepare |
37 |
} |
38 |
|
39 |
src_configure() { |
40 |
@@ -57,6 +58,7 @@ src_configure() { |
41 |
) |
42 |
local mycmakeargs+=( |
43 |
"-DDISABLED_PLUGINS=$(local IFS=";"; echo "${disabled_plugins[*]}")" |
44 |
+ "-DVALA_EXECUTABLE=${VALAC}" |
45 |
) |
46 |
|
47 |
if has test ${FEATURES}; then |