This class points the inheritor, if it is a target, to directories in the target sysroot, so we want to be sure the .vapi files are there. (From OE-Core rev: 2da8bbd47686f54efeec521d521f176f6aeb8d39) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 lines
641 B
Text
22 lines
641 B
Text
# Vala has problems with multiple concurrent invocations
|
|
PARALLEL_MAKE = ""
|
|
|
|
# Everyone needs vala-native and targets need vala, too,
|
|
# because that is where target builds look for .vapi files.
|
|
#
|
|
VALADEPENDS = ""
|
|
VALADEPENDS_class-target = "vala"
|
|
DEPENDS_append = " vala-native ${VALADEPENDS}"
|
|
|
|
# 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 \
|
|
"
|