mirror of
https://git.yoctoproject.org/poky
synced 2026-02-13 04:03:03 +01:00
As stated in our top level license files, the license is MIT unless otherwise stated. Add SPDX identifers accordingly. Replace older license statementa with the standardised syntax. Also drop "All Rights Reserved" expression as it isn't used now, doesn't mean anything and is confusing. (From OE-Core rev: 081a391fe09a21265881e39a2a496e4e10b4f80b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
31 lines
824 B
Plaintext
31 lines
824 B
Plaintext
#
|
|
# Copyright OpenEmbedded Contributors
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
# 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}:${STAGING_LIBDIR}"
|
|
|
|
# Package additional files
|
|
FILES:${PN}-dev += "\
|
|
${datadir}/vala/vapi/*.vapi \
|
|
${datadir}/vala/vapi/*.deps \
|
|
${datadir}/gir-1.0 \
|
|
"
|
|
|
|
# Remove vapigen.m4 that is bundled with tarballs
|
|
# because it does not yet have our cross-compile fixes
|
|
do_configure:prepend() {
|
|
rm -f ${S}/m4/vapigen.m4
|
|
}
|