mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
upower0: enable deprecated functionality (pm-utils).
This commit is contained in:
parent
1f309f3c28
commit
1fb087660d
1 changed files with 4 additions and 3 deletions
|
@ -1,12 +1,13 @@
|
||||||
# Template file for 'upower0'
|
# Template file for 'upower0'
|
||||||
pkgname=upower0
|
pkgname=upower0
|
||||||
version=0.9.23
|
version=0.9.23
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="upower-${version}"
|
wrksrc="upower-${version}"
|
||||||
build_style=gnu-configure
|
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"
|
hostmakedepends="pkg-config intltool libxslt docbook-xsl"
|
||||||
makedepends="libusb-devel libgudev-devel dbus-glib-devel polkit-devel"
|
makedepends="libusb-devel libgudev-devel dbus-glib-devel polkit-devel"
|
||||||
|
depends="pm-utils"
|
||||||
conf_files="/etc/UPower/UPower.conf"
|
conf_files="/etc/UPower/UPower.conf"
|
||||||
make_dirs="/var/lib/upower 0755 root root"
|
make_dirs="/var/lib/upower 0755 root root"
|
||||||
short_desc="Abstraction for enumerating power devices"
|
short_desc="Abstraction for enumerating power devices"
|
||||||
|
@ -23,7 +24,7 @@ replaces="upower>=0"
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
# Disable gir for cross builds.
|
# Disable gir for cross builds.
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default="gir systemd"
|
build_options_default="gir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$build_option_gir" ]; then
|
if [ "$build_option_gir" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue