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:49:23 +0100 |
commit | 807285c751862aaa775db5a13293007bfb3c29df (patch) | |
tree | bd9d11d22ce7eb1aa44c0de18a669fb541de43f2 /meta | |
parent | 649b48557d8702daaf4f28482848ab0b07abed83 (diff) | |
download | openembedded-core-contrib-807285c751862aaa775db5a13293007bfb3c29df.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.
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 00000000000..c7db08ceebd --- /dev/null +++ b/meta/classes/vala.bbclass @@ -0,0 +1,18 @@ +# Vala has problems with multiple concurrent invocations +PARALLEL_MAKE = "" + +# Vala needs vala-native +DEPENDS += "vala-native" +DEPENDS_virtclass-native += "vala-native" + +# Our patched version of Vala looks in STAGING_DATADIR for .vapi files +export STAGING_DATADIR +# Upstream Vala >= 0.11 looks in XDG_DATA_DIRS for .vapi files +export XDG_DATA_DIRS = "${STAGING_DATADIR}" + +# Package additional files +FILES_${PN}-dev += "\ + ${datadir}/vala/vapi/*.vapi \ + ${datadir}/vala/vapi/*.deps \ + ${datadir}/gir-1.0 \ +" |