From e2e6f6fe07049f33cb6348780fa975162752e421 Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Thu, 12 Dec 2013 13:38:32 +0100 Subject: initial commit of Enea Linux 3.1 Migrated from the internal git server on the dora-enea branch Signed-off-by: Adrian Dudau --- meta/classes/vala.bbclass | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta/classes/vala.bbclass (limited to 'meta/classes/vala.bbclass') 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 @@ +# 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 \ +" -- cgit v1.2.3-54-g00ecf