summaryrefslogtreecommitdiff
path: root/classes/vala.bbclass
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-08-06 17:10:35 +0200
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-08-06 17:10:35 +0200
commitc04bac092910c7abb3ff328597c57cc204ba51a6 (patch)
tree8ecc2aa7b36ceabbc3bb89ff85888e72eb9b0c38 /classes/vala.bbclass
parent905127e8ef0c2a53015d5ab26147d2eff6ee038b (diff)
vala: here comes 0.7.5+fso2
Diffstat (limited to 'classes/vala.bbclass')
-rw-r--r--classes/vala.bbclass13
1 files changed, 12 insertions, 1 deletions
diff --git a/classes/vala.bbclass b/classes/vala.bbclass
index bcd906aeb9..125820c00c 100644
--- a/classes/vala.bbclass
+++ b/classes/vala.bbclass
@@ -1,3 +1,14 @@
DEPENDS += "vala-native"
-FILES_${PN}-dev += "${datadir}/vala/vapi/*.vapi"
+FILES_${PN}-dev += "\
+ ${datadir}/vala/vapi/*.vapi \
+ ${datadir}/vala/vapi/*.deps \
+"
+
+# .vapi and .deps files are arch independent and need to be present in the
+# staging datadir for the native vala compiler
+do_stage_append() {
+ install -d ${STAGING_DATADIR_NATIVE}/vala/vapi
+ find . -name "*.vapi" -exec install -m 0644 {} ${STAGING_DATADIR_NATIVE}/vala/vapi/ \;
+ find . -name "*.deps" -exec install -m 0644 {} ${STAGING_DATADIR_NATIVE}/vala/vapi/ \;
+}