diff options
author | Mihai Prica <mihai.prica@intel.com> | 2013-08-26 11:50:46 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-28 00:51:45 +0100 |
commit | 1655c2db362d316befdbb398cd2266ee6b384caf (patch) | |
tree | c218f4d47369e5f28f09fc6140a71f40bcf8e974 /meta | |
parent | e35dfbbf1540630125b322f36a0e1e44f199ff25 (diff) | |
download | poky-1655c2db362d316befdbb398cd2266ee6b384caf.tar.gz |
vala.bbclass: add class from meta-oe
This can be used by packages written in vala.
It is required by the Midori web-browser.
(From OE-Core rev: 807285c751862aaa775db5a13293007bfb3c29df)
Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/vala.bbclass | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/classes/vala.bbclass b/meta/classes/vala.bbclass new file mode 100644 index 0000000000..c7db08ceeb --- /dev/null +++ b/meta/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 | " | ||