network-manager-applet: fix PIE build
Also disable gir for *-musl, because it is disabled in NetworkManager.
This commit is contained in:
parent
4d07141874
commit
672a365433
1 changed files with 11 additions and 6 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue