NetworkManager: fix build with elogind disabled

suspend_resume doesn't take a no, so set it to upower since this is the
only option that is no elogind or ConsoleKit
This commit is contained in:
John 2019-08-27 21:22:47 +02:00 committed by Enno Boland
parent c36e2ed34d
commit bc9756ccbd

View file

@ -1,7 +1,7 @@
# Template file for 'NetworkManager'
pkgname=NetworkManager
version=1.18.2
revision=2
revision=3
build_style=meson
build_helper="gir"
configure_args="-Dpolkit_agent=true -Dsystemd_journal=false
@ -15,7 +15,7 @@ configure_args="-Dpolkit_agent=true -Dsystemd_journal=false
-Dudev_dir=/usr/lib/udev -Dintrospection=$(vopt_if gir true false)
-Dvapi=$(vopt_if vala true false)
-Dsession_tracking=$(vopt_if elogind elogind no)
-Dsuspend_resume=$(vopt_if elogind elogind no)
-Dsuspend_resume=$(vopt_if elogind elogind upower)
-Dconfig_dhcp_default=internal"
hostmakedepends="gettext-devel glib-devel libxslt-devel pkg-config
intltool dbus-glib-devel jansson-devel $(vopt_if vala vala)