summaryrefslogtreecommitdiffstats
path: root/rules/upower.in
blob: d845b73d22b545c0f607fb0668d11f411a14cfa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## SECTION=system_libraries
menuconfig UPOWER
	tristate
	select GLIB
	select GOBJECT_INTROSPECTION	if UPOWER_INTROSPECTION
	select UDEV
	select LIBGUDEV
	select LIBUSB
	prompt "upower                        "
	help
	  UPower is an abstraction for enumerating power devices, listening to
	  device events and querying history and statistics.

	  https://upower.freedesktop.org/

if UPOWER

config UPOWER_SYSTEMD_UNIT
	bool
	default y
	depends on INITMETHOD_SYSTEMD
	prompt "install systemd unit files for UPower"

config UPOWER_INTROSPECTION
	bool
	default GOBJECT_INTROSPECTION_HELPER

endif