summaryrefslogtreecommitdiffstats
path: root/meta/classes/vala.bbclass
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
commitc527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch)
treebb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/classes/vala.bbclass
downloadpoky-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/classes/vala.bbclass')
-rw-r--r--meta/classes/vala.bbclass21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/classes/vala.bbclass b/meta/classes/vala.bbclass
new file mode 100644
index 0000000000..0b7803b251
--- /dev/null
+++ b/meta/classes/vala.bbclass
@@ -0,0 +1,21 @@
1# Vala has problems with multiple concurrent invocations
2PARALLEL_MAKE = ""
3
4# Everyone needs vala-native and targets need vala, too,
5# because that is where target builds look for .vapi files.
6#
7VALADEPENDS = ""
8VALADEPENDS_class-target = "vala"
9DEPENDS_append = " vala-native ${VALADEPENDS}"
10
11# Our patched version of Vala looks in STAGING_DATADIR for .vapi files
12export STAGING_DATADIR
13# Upstream Vala >= 0.11 looks in XDG_DATA_DIRS for .vapi files
14export XDG_DATA_DIRS = "${STAGING_DATADIR}"
15
16# Package additional files
17FILES_${PN}-dev += "\
18 ${datadir}/vala/vapi/*.vapi \
19 ${datadir}/vala/vapi/*.deps \
20 ${datadir}/gir-1.0 \
21"