build helper gir: check for gobject-introspection
Do not add gobject-introspection a second time if it is already contained in the makedepends.
This commit is contained in:
parent
5319f3f0a0
commit
d121842302
|
@ -22,9 +22,11 @@ if [ "$build_option_gir" ] || [[ $build_options != *"gir"* ]]; then
|
|||
# Required for running the g-ir-scanner-lddwrapper
|
||||
hostmakedepends+=" prelink-cross"
|
||||
|
||||
if [[ $makedepends != *"gobject-introspection"* ]]; then
|
||||
# Provide basic .gir types like GLib, GObject, DBus, Gio, cairo
|
||||
# and tooling like g-ir-compiler
|
||||
makedepends+=" gobject-introspection"
|
||||
fi
|
||||
|
||||
export VAPIGEN_VAPIDIRS=${XBPS_CROSS_BASE}/usr/share/vala/vapi
|
||||
export VAPIGEN_GIRDIRS=${XBPS_CROSS_BASE}/usr/share/gir-1.0
|
||||
|
|
Loading…
Reference in New Issue