diff options
Diffstat (limited to 'meta-efl/classes/vala.bbclass')
-rw-r--r-- | meta-efl/classes/vala.bbclass | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-efl/classes/vala.bbclass b/meta-efl/classes/vala.bbclass new file mode 100644 index 000000000..d4ba83193 --- /dev/null +++ b/meta-efl/classes/vala.bbclass | |||
@@ -0,0 +1,18 @@ | |||
1 | # Vala has problems with multiple concurrent invocations | ||
2 | PARALLEL_MAKE = "" | ||
3 | |||
4 | # Vala needs vala-native | ||
5 | DEPENDS += "vala-native" | ||
6 | DEPENDS_virtclass-native += "vala-native" | ||
7 | |||
8 | # Our patched version of Vala looks in STAGING_DATADIR for .vapi files | ||
9 | export STAGING_DATADIR | ||
10 | # Upstream Vala >= 0.11 looks in XDG_DATA_DIRS for .vapi files | ||
11 | export XDG_DATA_DIRS = "${STAGING_DATADIR}" | ||
12 | |||
13 | # Package additional files | ||
14 | FILES_${PN}-dev += "\ | ||
15 | ${datadir}/vala/vapi/*.vapi \ | ||
16 | ${datadir}/vala/vapi/*.deps \ | ||
17 | ${datadir}/gir-1.0 \ | ||
18 | " | ||