[OE-core] [PATCH 3/6] vala: upgrade to 0.36.2

Alexander Kanavin alexander.kanavin at linux.intel.com
Tue May 2 12:51:48 UTC 2017


Make libxslt-native dependency conditional on api-documentation distro feature,
as vala now defaults to rebuilding the manual (which is slow).

Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
---
 meta/recipes-devtools/vala/vala.inc                           | 7 ++++++-
 meta/recipes-devtools/vala/{vala_0.34.4.bb => vala_0.36.2.bb} | 4 ++--
 2 files changed, 8 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/vala/{vala_0.34.4.bb => vala_0.36.2.bb} (56%)

diff --git a/meta/recipes-devtools/vala/vala.inc b/meta/recipes-devtools/vala/vala.inc
index b338ea097af..1261c02777f 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"
 DESCRIPTION = "Vala is a C#-like language dedicated to ease GObject programming. \
 Vala compiles to plain C and has no runtime environment nor penalities whatsoever."
 SECTION = "devel"
-DEPENDS = "bison-native flex-native libxslt-native glib-2.0"
+DEPENDS = "bison-native flex-native glib-2.0"
+
+# Appending libxslt-native to dependencies has an effect
+# of rebuilding the manual, which is very slow. Let's do this
+# only when api-documentation distro feature is enabled.
+DEPENDS_append_class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'libxslt-native', '', d)}"
 
 # vala-native contains a native version of vapigen, which we use instead of the target one
 DEPENDS_append_class-target = " vala-native"
diff --git a/meta/recipes-devtools/vala/vala_0.34.4.bb b/meta/recipes-devtools/vala/vala_0.36.2.bb
similarity index 56%
rename from meta/recipes-devtools/vala/vala_0.34.4.bb
rename to meta/recipes-devtools/vala/vala_0.36.2.bb
index d1b49aea7d1..9cea5b6a795 100644
--- a/meta/recipes-devtools/vala/vala_0.34.4.bb
+++ b/meta/recipes-devtools/vala/vala_0.36.2.bb
@@ -4,5 +4,5 @@ SRC_URI += " file://0001-git-version-gen-don-t-append-dirty-if-we-re-not-in-g.pa
              file://0001-vapigen.m4-use-PKG_CONFIG_SYSROOT_DIR.patch \
 "
 
-SRC_URI[md5sum] = "a856989d749fc5e472a3592b96f9ca48"
-SRC_URI[sha256sum] = "6b17bd339414563ebc51f64b0b837919ea7552d8a8ffa71cdc837d25c9696b83"
+SRC_URI[md5sum] = "481774eb4f0f5aa6987e5ea30a0aea31"
+SRC_URI[sha256sum] = "863dbfb399d59289dfc34379c0cd34d94e505a49787497550588810310cdf689"
-- 
2.11.0




More information about the Openembedded-core mailing list