upower: update to 0.99.9.

This commit is contained in:
Piotr Wójcik 2018-12-11 15:34:42 +01:00 committed by Helmut Pozimski
parent 8b321d2cd8
commit b6bb57aac6
2 changed files with 17 additions and 8 deletions

View file

@ -1,18 +1,22 @@
# Template file for 'upower' # Template file for 'upower'
pkgname=upower pkgname=upower
version=0.99.7 version=0.99.9
revision=4 revision=1
_distver="${version//./_}"
wrksrc="upower-UPOWER_${_distver}"
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --with-backend=linux" configure_args="--disable-static --with-backend=linux $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool libxslt docbook-xsl $(vopt_if gir gobject-introspection)"
makedepends="libusb-devel libgudev-devel dbus-glib-devel libimobiledevice-devel polkit-devel"
conf_files="/etc/UPower/UPower.conf" conf_files="/etc/UPower/UPower.conf"
hostmakedepends="automake gettext-devel glib-devel gobject-introspection gtk-doc
intltool libtool libxslt pkg-config"
makedepends="libusb-devel libgudev-devel dbus-glib-devel libimobiledevice-devel polkit-devel"
checkdepends="python3-dbus"
short_desc="Abstraction for enumerating power devices" short_desc="Abstraction for enumerating power devices"
maintainer="Juan RP <xtraeme@voidlinux.org>" maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
homepage="http://upower.freedesktop.org" homepage="https://upower.freedesktop.org"
distfiles="${homepage}/releases/${pkgname}-${version}.tar.xz" distfiles="https://gitlab.freedesktop.org/upower/upower/-/archive/UPOWER_${_distver}/upower-UPOWER_${_distver}.tar.bz2"
checksum=24bcc2f6ab25a2533bac70b587bcb019e591293076920f5b5e04bdedc140a401 checksum=388b273c59cad7d612dfe249c93f1e9c16532d6409f7fdc384bfa362e0dc5f0f
provides="upower0-${version}_${revision}" provides="upower0-${version}_${revision}"
replaces="upower0>=0" replaces="upower0>=0"
@ -24,6 +28,10 @@ if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir" build_options_default="gir"
fi fi
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
libupower-glib3_package() { libupower-glib3_package() {
short_desc+=" - runtime library" short_desc+=" - runtime library"
pkg_install() { pkg_install() {

1
srcpkgs/upower/update Normal file
View file

@ -0,0 +1 @@
pattern='upower[_-]\K[\d\._]+(?=\.tar\.gz)'