upower0: enable deprecated functionality (pm-utils).

This commit is contained in:
Juan RP 2014-07-28 11:28:24 +02:00
parent 1f309f3c28
commit 1fb087660d
1 changed files with 4 additions and 3 deletions

View File

@ -1,12 +1,13 @@
# Template file for 'upower0'
pkgname=upower0
version=0.9.23
revision=1
revision=2
wrksrc="upower-${version}"
build_style=gnu-configure
configure_args="--disable-static --with-backend=linux --without-idevice --with-udevrulesdir=/usr/lib/udev/rules.d"
configure_args="--disable-static --enable-deprecated --with-backend=linux --without-idevice --with-udevrulesdir=/usr/lib/udev/rules.d"
hostmakedepends="pkg-config intltool libxslt docbook-xsl"
makedepends="libusb-devel libgudev-devel dbus-glib-devel polkit-devel"
depends="pm-utils"
conf_files="/etc/UPower/UPower.conf"
make_dirs="/var/lib/upower 0755 root root"
short_desc="Abstraction for enumerating power devices"
@ -23,7 +24,7 @@ replaces="upower>=0"
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir systemd"
build_options_default="gir"
fi
if [ "$build_option_gir" ]; then