summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-04-25 20:43:24 +0200
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-04-25 20:44:54 +0200
commita38e7ff2810e55455c7ff7b01d4882344b420e18 (patch)
treeafbe89f6c7c2cc7fa1a62701bf358a298673b137 /classes
parent0df02afa19c2f06e044a1be070969803fbcd925f (diff)
vala.bbclass and assorted recipes: create own task for installing .vapi and .deps instead of using do_stage()
This allows to move most FSO packages to new staging
Diffstat (limited to 'classes')
-rw-r--r--classes/vala.bbclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/classes/vala.bbclass b/classes/vala.bbclass
index 433b64e87e..e6b601bff7 100644
--- a/classes/vala.bbclass
+++ b/classes/vala.bbclass
@@ -6,14 +6,19 @@ DEPENDS += "vala-native"
FILES_${PN}-dev += "\
${datadir}/vala/vapi/*.vapi \
${datadir}/vala/vapi/*.deps \
+ ${datadir}/gir-1.0 \
"
VALA_DONT_STAGE_VAPIS ?= "\(/config.vapi$\)\|\(/config.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() {
+vala_do_stage_vapi() {
install -d ${STAGING_DATADIR_NATIVE}/vala/vapi
for VALAFILE in `find . -name "*.vapi" | grep -v "$VALA_DONT_STAGE_VAPIS"`; do install -m 0644 ${VALAFILE} ${STAGING_DATADIR_NATIVE}/vala/vapi/; done
for VALAFILE in `find . -name "*.deps" | grep -v "$VALA_DONT_STAGE_VAPIS"`; do install -m 0644 ${VALAFILE} ${STAGING_DATADIR_NATIVE}/vala/vapi/; done
}
+
+EXPORT_FUNCTIONS do_stage_vapi
+
+addtask stage_vapi after do_populate_staging before do_package