NetworkManager: enable gir
This commit is contained in:
parent
44209812ed
commit
6355fa11e8
@ -1,8 +1,9 @@
|
|||||||
# Template file for 'NetworkManager'
|
# Template file for 'NetworkManager'
|
||||||
pkgname=NetworkManager
|
pkgname=NetworkManager
|
||||||
version=1.14.4
|
version=1.14.4
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
build_helper="gir"
|
||||||
configure_args="--without-dhcpcd --with-dhclient=/usr/bin/dhclient
|
configure_args="--without-dhcpcd --with-dhclient=/usr/bin/dhclient
|
||||||
--with-system-ca-path=/etc/ssl/certs --enable-more-warnings=no
|
--with-system-ca-path=/etc/ssl/certs --enable-more-warnings=no
|
||||||
--with-crypto=gnutls --disable-static --enable-ppp --with-nmtui
|
--with-crypto=gnutls --disable-static --enable-ppp --with-nmtui
|
||||||
@ -31,8 +32,8 @@ checksum=35a3ede4c7d12d6212033c9e44cb82b7692f38063b53a067567f02f5937c8c18
|
|||||||
# gtk-doc generation is disabled but gtkdocisze is required by autogen.sh
|
# gtk-doc generation is disabled but gtkdocisze is required by autogen.sh
|
||||||
hostmakedepends="automake bluez dbus-glib-devel dhclient gettext-devel
|
hostmakedepends="automake bluez dbus-glib-devel dhclient gettext-devel
|
||||||
glib-devel gnutls-devel gtk-doc intltool iproute2 iptables libtool
|
glib-devel gnutls-devel gtk-doc intltool iproute2 iptables libtool
|
||||||
libxslt-devel pkg-config $(vopt_if gir 'gobject-introspection')
|
libxslt-devel pkg-config wpa_supplicant
|
||||||
$(vopt_if gir 'python-gobject') wpa_supplicant"
|
$(vopt_if gir 'python-gobject')"
|
||||||
makedepends="libuuid-devel gnutls-devel dbus-glib-devel libgudev-devel
|
makedepends="libuuid-devel gnutls-devel dbus-glib-devel libgudev-devel
|
||||||
libnl3-devel polkit-devel ppp-devel iptables-devel libcurl-devel
|
libnl3-devel polkit-devel ppp-devel iptables-devel libcurl-devel
|
||||||
ModemManager-devel readline-devel libndp-devel newt-devel jansson-devel
|
ModemManager-devel readline-devel libndp-devel newt-devel jansson-devel
|
||||||
@ -62,9 +63,12 @@ esac
|
|||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gir elogind"
|
build_options="gir elogind"
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
build_options_default+=" gir"
|
x86_64-musl) build_options_default+=" gir" ;;
|
||||||
fi
|
*-musl) ;;
|
||||||
|
*) build_options_default+=" gir" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
@ -76,6 +80,10 @@ pre_configure() {
|
|||||||
sed -e 's,! "$PYTHON" -c ,"$PYTHON" -c,' -i configure
|
sed -e 's,! "$PYTHON" -c ,"$PYTHON" -c,' -i configure
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
export GIR_EXTRA_LIBS_PATH="${wrksrc}/libnm-util/.libs:${wrksrc}/libnm/.libs:${wrksrc}/libnm-glib/.libs"
|
||||||
|
}
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
# src/settings/plugins/ibft/tests/test-ibft errors out in chroot
|
# src/settings/plugins/ibft/tests/test-ibft errors out in chroot
|
||||||
:
|
:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user