upower: update to 0.99.9.
This commit is contained in:
parent
8b321d2cd8
commit
b6bb57aac6
|
@ -1,18 +1,22 @@
|
|||
# Template file for 'upower'
|
||||
pkgname=upower
|
||||
version=0.99.7
|
||||
revision=4
|
||||
version=0.99.9
|
||||
revision=1
|
||||
_distver="${version//./_}"
|
||||
wrksrc="upower-UPOWER_${_distver}"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --with-backend=linux"
|
||||
hostmakedepends="pkg-config intltool libxslt docbook-xsl $(vopt_if gir gobject-introspection)"
|
||||
makedepends="libusb-devel libgudev-devel dbus-glib-devel libimobiledevice-devel polkit-devel"
|
||||
configure_args="--disable-static --with-backend=linux $(vopt_enable gir introspection)"
|
||||
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"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="http://upower.freedesktop.org"
|
||||
distfiles="${homepage}/releases/${pkgname}-${version}.tar.xz"
|
||||
checksum=24bcc2f6ab25a2533bac70b587bcb019e591293076920f5b5e04bdedc140a401
|
||||
homepage="https://upower.freedesktop.org"
|
||||
distfiles="https://gitlab.freedesktop.org/upower/upower/-/archive/UPOWER_${_distver}/upower-UPOWER_${_distver}.tar.bz2"
|
||||
checksum=388b273c59cad7d612dfe249c93f1e9c16532d6409f7fdc384bfa362e0dc5f0f
|
||||
|
||||
provides="upower0-${version}_${revision}"
|
||||
replaces="upower0>=0"
|
||||
|
@ -24,6 +28,10 @@ if [ -z "$CROSS_BUILD" ]; then
|
|||
build_options_default="gir"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
libupower-glib3_package() {
|
||||
short_desc+=" - runtime library"
|
||||
pkg_install() {
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
pattern='upower[_-]\K[\d\._]+(?=\.tar\.gz)'
|
Loading…
Reference in New Issue