pkgsrc/sysutils/wmbattery/options.mk
nia 49d55ab3ce sysutils: Add wmbattery - based on work by snow flurry and myself in wip
wmbattery is a dockapp that displays the status of your laptop's
battery in a small icon. This includes if it is plugged in, if the
battery is charging, how many minutes of battery life remain, battery
life remaining (with both a percentage and a graph), and battery
status (high - green, low - yellow, or critical - red).
2020-09-10 11:26:01 +00:00

26 lines
512 B
Makefile

# $NetBSD: options.mk,v 1.1 2020/09/10 11:26:01 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.wmbattery
PKG_SUPPORTED_OPTIONS= hal upower
.include "../../mk/bsd.options.mk"
#
# hal support
#
.if !empty(PKG_OPTIONS:Mhal)
CONFIGURE_ARGS+= --enable-hal
.include "../../sysutils/hal/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-hal
.endif
#
# upower support
#
.if !empty(PKG_OPTIONS:Mupower)
CONFIGURE_ARGS+= --enable-upower
.include "../../sysutils/hal/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-upower
.endif