2013-08-04 20:59:05 +02:00
|
|
|
make_gobject_introspection_find_gir_files() {
|
|
|
|
|
|
|
|
# required for .typelib files, eg mypaint git version
|
|
|
|
if [ -d "$1/lib/girepository-1.0" ]; then
|
|
|
|
addToSearchPath GI_TYPELIB_PATH $1/lib/girepository-1.0
|
|
|
|
fi
|
|
|
|
|
|
|
|
# XDG_DATA_DIRS: required for .gir files?
|
|
|
|
if [ -d "$1/share" ]; then
|
|
|
|
addToSearchPath XDG_DATA_DIRS $1/share
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
envHooks+=(make_gobject_introspection_find_gir_files)
|
2015-10-28 11:59:42 +01:00
|
|
|
|
|
|
|
_multioutMoveGlibGir() {
|
2015-12-02 10:03:23 +01:00
|
|
|
moveToOutput share/gir-1.0 "${!outputDev}"
|
2015-10-28 11:59:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
preFixupHooks+=(_multioutMoveGlibGir)
|
|
|
|
|