build helper gir: auto add pkgs to hostmakedepends
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
68b30c88b7
commit
9f69e99756
1 changed files with 7 additions and 4 deletions
|
@ -31,9 +31,12 @@ if [ "$build_option_gir" ] || [[ $build_options != *"gir"* ]]; then
|
||||||
export VAPIGEN_VAPIDIRS=${XBPS_CROSS_BASE}/usr/share/vala/vapi
|
export VAPIGEN_VAPIDIRS=${XBPS_CROSS_BASE}/usr/share/vala/vapi
|
||||||
export VAPIGEN_GIRDIRS=${XBPS_CROSS_BASE}/usr/share/gir-1.0
|
export VAPIGEN_GIRDIRS=${XBPS_CROSS_BASE}/usr/share/gir-1.0
|
||||||
|
|
||||||
# Provide gtk+3-devel in the host if it is in the makedepends
|
# Provide some packages in hostmakedepends if they are in makedepends
|
||||||
if [[ $makedepends == *"gtk+3-devel"* ]]; then
|
for f in gtk+3-devel python-gobject-devel python3-gobject-devel; do
|
||||||
hostmakedepends+=" gtk+3-devel"
|
if [[ $makedepends == *"${f}"* ]]; then
|
||||||
fi
|
hostmakedepends+=" ${f}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
unset f
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue