diff options
Diffstat (limited to 'meta/recipes-devtools/vala/vala.inc')
-rw-r--r-- | meta/recipes-devtools/vala/vala.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-devtools/vala/vala.inc b/meta/recipes-devtools/vala/vala.inc index b338ea097a..1261c02777 100644 --- a/meta/recipes-devtools/vala/vala.inc +++ b/meta/recipes-devtools/vala/vala.inc | |||
@@ -2,7 +2,12 @@ SUMMARY = "C#-like programming language for easing GObject programming" | |||
2 | DESCRIPTION = "Vala is a C#-like language dedicated to ease GObject programming. \ | 2 | DESCRIPTION = "Vala is a C#-like language dedicated to ease GObject programming. \ |
3 | Vala compiles to plain C and has no runtime environment nor penalities whatsoever." | 3 | Vala compiles to plain C and has no runtime environment nor penalities whatsoever." |
4 | SECTION = "devel" | 4 | SECTION = "devel" |
5 | DEPENDS = "bison-native flex-native libxslt-native glib-2.0" | 5 | DEPENDS = "bison-native flex-native glib-2.0" |
6 | |||
7 | # Appending libxslt-native to dependencies has an effect | ||
8 | # of rebuilding the manual, which is very slow. Let's do this | ||
9 | # only when api-documentation distro feature is enabled. | ||
10 | DEPENDS_append_class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'libxslt-native', '', d)}" | ||
6 | 11 | ||
7 | # vala-native contains a native version of vapigen, which we use instead of the target one | 12 | # vala-native contains a native version of vapigen, which we use instead of the target one |
8 | DEPENDS_append_class-target = " vala-native" | 13 | DEPENDS_append_class-target = " vala-native" |