geoclue: rebuild with as-needed for shlibs.

This commit is contained in:
Juan RP 2012-10-10 16:42:26 +02:00
parent dd975d16f7
commit c1b94c8db2
3 changed files with 10 additions and 15 deletions

View file

@ -1,17 +1,14 @@
# Template file for 'geoclue-devel'. # Template file for 'geoclue-devel'.
# #
depends="pkg-config intltool dbus-glib-devel libxml2-devel GConf-devel geoclue" noarch=yes
depends="${sourcepkg}-${version}_${revision}"
short_desc="${sourcepkg} - development files" short_desc="${sourcepkg} - development files"
long_desc="${long_desc} long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
do_install() {
do_install()
{
vmove usr/include usr vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vmove usr/lib/pkgconfig usr/lib vmove usr/lib/pkgconfig usr/lib
vmove usr/share/gtk-doc usr/share vmove usr/share/gtk-doc usr/share
} }

View file

@ -1,9 +1,7 @@
libdbus-glib-1.so.2 libdbus-glib-1.so.2
libdbus-1.so.3
libpthread.so.0 libpthread.so.0
libgobject-2.0.so.0 libgobject-2.0.so.0
libgthread-2.0.so.0 libgthread-2.0.so.0
librt.so.1
libglib-2.0.so.0 libglib-2.0.so.0
libxml2.so.2 libxml2.so.2
libc.so.6 libc.so.6

View file

@ -1,24 +1,24 @@
# Template file for 'geoclue' # Template file for 'geoclue'
pkgname=geoclue pkgname=geoclue
version=0.12.0 version=0.12.0
revision=4 revision=5
distfiles="http://launchpad.net/geoclue/trunk/0.12/+download/geoclue-$version.tar.gz" subpackages="$pkgname-devel"
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-networkmanager=no --enable-conic=no" configure_args="--disable-static --enable-networkmanager=no --enable-conic=no"
makedepends="automake gtk-doc pkg-config intltool dbus-glib-devel libxml2-devel GConf-devel libxslt gtk+-devel libsoup-gnome-devel" makedepends="automake gtk-doc pkg-config intltool dbus-glib-devel
libxml2-devel GConf-devel libxslt gtk+-devel libsoup-gnome-devel"
short_desc="The Geoinformation Service" short_desc="The Geoinformation Service"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://launchpad.net/geoclue/trunk/0.12/+download/geoclue-$version.tar.gz"
checksum=0f533f177ae9aa35e807a01c754840f66df9579f5524552f14f2b5ba670a4696 checksum=0f533f177ae9aa35e807a01c754840f66df9579f5524552f14f2b5ba670a4696
long_desc=" long_desc="
Geoclue is a modular geoinformation service built on top of the D-Bus Geoclue is a modular geoinformation service built on top of the D-Bus
messaging system. The goal of the Geoclue project is to make creating messaging system. The goal of the Geoclue project is to make creating
location-aware applications as simple as possible." location-aware applications as simple as possible."
subpackages="$pkgname-devel"
pre_configure() { pre_configure() {
sed -i 's/libnm_glib/libnm-glib/g' configure.ac sed -i 's/libnm_glib/libnm-glib/g' configure.ac
sed -i '/libsoup-gnome/s/$/ gthread-2.0/' configure.ac sed -i '/libsoup-gnome/s/$/ gthread-2.0/' configure.ac
sed -i '/-Werror/d' configure.ac
autoreconf -fi autoreconf -fi
} }