upower: split shlib into its subpkg.

This commit is contained in:
Juan RP 2014-07-28 14:23:34 +02:00
parent b4bfedc6d1
commit 5ddff3fa86
3 changed files with 12 additions and 3 deletions

View File

@ -521,7 +521,7 @@ libkrb5support.so.0 mit-krb5-libs-1.8_1
libverto.so.0 mit-krb5-libs-1.8_1
libverto-k5ev.so.0 mit-krb5-libs-1.8_1
libmenu-cache.so.1 menu-cache-0.2.6_1
libupower-glib.so.2 upower-0.99.0_1
libupower-glib.so.2 libupower-glib2-0.99.0_2
libcanberra.so.0 libcanberra-0.23_1
libcanberra-gtk.so.0 libcanberra-0.23_1
libcanberra-gtk3.so.0 libcanberra-0.23_1

1
srcpkgs/libupower-glib2 Symbolic link
View File

@ -0,0 +1 @@
upower

View File

@ -1,7 +1,7 @@
# Template file for 'upower'
pkgname=upower
version=0.99.0
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-static --with-backend=linux
--without-idevice --with-systemdutildir=/usr/lib/systemd
@ -31,8 +31,16 @@ else
configure_args+=" --disable-introspection"
fi
libupower-glib2_package() {
replaces="upower<0.99.0_2"
short_desc+=" - runtime library"
pkg_install() {
vmove usr/lib/*.so.*
}
}
upower-devel_package() {
depends="dbus-glib-devel upower>=${version}_${revision}"
depends="dbus-glib-devel libupower-glib2>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include