| # Everyone needs vala-native and targets need vala, too, |
| # because that is where target builds look for .vapi files. |
| VALADEPENDS:class-target = "vala" |
| DEPENDS:append = " vala-native ${VALADEPENDS}" |
| # Our patched version of Vala looks in STAGING_DATADIR for .vapi files |
| # Upstream Vala >= 0.11 looks in XDG_DATA_DIRS for .vapi files |
| export XDG_DATA_DIRS = "${STAGING_DATADIR}:${STAGING_LIBDIR}" |
| # Package additional files |
| ${datadir}/vala/vapi/*.vapi \ |
| ${datadir}/vala/vapi/*.deps \ |
| # Remove vapigen.m4 that is bundled with tarballs |
| # because it does not yet have our cross-compile fixes |