From 5ddff3fa8639a7bc6572cc8331f4e4232fc24d75 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 28 Jul 2014 14:23:34 +0200 Subject: [PATCH] upower: split shlib into its subpkg. --- common/shlibs | 2 +- srcpkgs/libupower-glib2 | 1 + srcpkgs/upower/template | 12 ++++++++++-- 3 files changed, 12 insertions(+), 3 deletions(-) create mode 120000 srcpkgs/libupower-glib2 diff --git a/common/shlibs b/common/shlibs index d68c7719c84..929988a99bc 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/libupower-glib2 b/srcpkgs/libupower-glib2 new file mode 120000 index 00000000000..9df007da7f1 --- /dev/null +++ b/srcpkgs/libupower-glib2 @@ -0,0 +1 @@ +upower \ No newline at end of file diff --git a/srcpkgs/upower/template b/srcpkgs/upower/template index c414fc79d6e..44716ec1f65 100644 --- a/srcpkgs/upower/template +++ b/srcpkgs/upower/template @@ -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