upower: update to 0.9.3.

This commit is contained in:
Juan RP 2010-05-12 06:51:57 +02:00
parent 2dadcc79f3
commit a44013f475
4 changed files with 25 additions and 7 deletions

1
srcpkgs/gir-upower Symbolic link
View file

@ -0,0 +1 @@
upower

View file

@ -0,0 +1,17 @@
# Template file for 'gir-upower'.
#
short_desc="UPower introspection data"
long_desc="${long_desc}
This package contains the GObject-introspection data of UPower in
binary typelib format."
Add_dependency run gir-freedesktop
Add_dependency run glib
Add_dependency run upower
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib
}

View file

@ -1,13 +1,12 @@
# Template file for 'upower'
pkgname=upower
version=0.9.2
revision=2
version=0.9.3
distfiles="http://upower.freedesktop.org/releases/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--localstatedir=/var --with-backend=linux"
short_desc="Abstraction for enumerating power devices"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=4a0532fbda7afee29984f7b96b3b3114c68b0525278beb10c98ef287ca5a8377
checksum=05eb4bd73493c779a6972893d7439f92ca8cc30cd81cf00663cfb4dca10896a1
long_desc="
UPower is an abstraction for enumerating power devices, listening to device
events and querying history and statistics. Any application or service on
@ -15,7 +14,8 @@ long_desc="
message bus. Some operations (such as suspending the system) are restricted
using PolicyKit."
subpackages="upower-devel"
conf_files="/etc/UPower/UPower.conf"
subpackages="upower-devel gir-upower"
Add_dependency run glibc
Add_dependency run libusb-compat
@ -35,5 +35,6 @@ Add_dependency build libgudev-devel
Add_dependency build dbus-devel
Add_dependency build dbus-glib-devel
Add_dependency build polkit-devel
Add_dependency build gobject-introspection
Add_dependency full udev
Add_dependency full pm-utils

View file

@ -6,8 +6,6 @@ long_desc="${long_desc}
This package contains the files needed for developing applications
that use UPower."
revision=1
Add_dependency run pkg-config
Add_dependency run intltool
Add_dependency run libxslt
@ -22,8 +20,9 @@ Add_dependency run upower
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/{lib,share}
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gir-1.0 ${DESTDIR}/usr/share
}