summaryrefslogtreecommitdiff
path: root/classes/vala.bbclass
blob: 125820c00c73579b4790cacbb6b627b7ae230720 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DEPENDS += "vala-native"

FILES_${PN}-dev += "\
  ${datadir}/vala/vapi/*.vapi \
  ${datadir}/vala/vapi/*.deps \
"

# .vapi and .deps files are arch independent and need to be present in the
# staging datadir for the native vala compiler
do_stage_append() {
	install -d ${STAGING_DATADIR_NATIVE}/vala/vapi
	find . -name "*.vapi" -exec install -m 0644 {} ${STAGING_DATADIR_NATIVE}/vala/vapi/ \;
	find . -name "*.deps" -exec install -m 0644 {} ${STAGING_DATADIR_NATIVE}/vala/vapi/ \;
}