diff --git a/srcpkgs/network-manager-applet/template b/srcpkgs/network-manager-applet/template index b4c37b577d5..f2e17869958 100644 --- a/srcpkgs/network-manager-applet/template +++ b/srcpkgs/network-manager-applet/template @@ -1,12 +1,12 @@ # Template file for 'network-manager-applet' pkgname=network-manager-applet version=1.0.10 -revision=1 +revision=2 lib32disabled=yes build_style=gnu-configure configure_args="--disable-static --without-bluetooth --with-modem-manager-1 --disable-migration - $(vopt_enable gir introspection) LDFLAGS=" + $(vopt_enable gir introspection)" hostmakedepends="pkg-config intltool glib-devel dbus-glib-devel $(vopt_if gir gobject-introspection)" makedepends=" @@ -24,10 +24,15 @@ checksum=b045ac3eaa68ccbbefe91510ad67b4002a7e09d1e5ce1c4bf9a67619bd2cf0eb # Package build options build_options="gir" -# Disable gir for cross builds. -if [ -z "$CROSS_BUILD" ]; then - build_options_default="gir" -fi +case "$XBPS_TARGET_MACHINE" in + *-musl) # Disable gir for musl (broken on x86_64-musl) + ;; + *) # Enable gir for non-cross builds + if [ -z "$CROSS_BUILD" ]; then + build_options_default+=" gir" + fi + ;; +esac libnm-gtk_package() { short_desc+=" - runtime library"