# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/dbus-glib/dbus-glib.conf # Copyright (C) 2004 - 2025 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 # --- T2-COPYRIGHT-END --- if atstage cross native; then hook_add preconf 5 "echo 'ac_cv_func_posix_getpwnam_r=yes' >> config.cache" var_append makeopt ' ' DBUS_BINDING_TOOL=dbus-binding-tool fi if pkginstalled mono && pkginstalled gtk-sharp; then var_append confopt ' ' --enable-mono else var_append confopt ' ' --disable-mono fi if pkginstalled pyrexc; then var_append confopt ' ' --enable-python fi hook_add premake 5 'cp -v $confdir/dbus-bus-introspect.xml tools/'