# Template file for 'libgweather'
pkgname=libgweather
version=2.30.3
revision=1
patch_args="-Np1"
distfiles="${GNOME_SITE}/$pkgname/2.30/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-schemas-install --localstatedir=/var
--with-gconf-schema-file-dir=/usr/share/gconf/schemas
--enable-locations-compression --enable-python
--with-zoneinfo-dir=/usr/share/zoneinfo"
short_desc="Weather information access library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=b835374661423f37c46aa8e37368ae24a68856f117b7c21e475a21efdba5264c
long_desc="
 libgweather is a library to access weather information from online
 services for numerous locations."

gconf_schemas="gweather.schemas"
gtk_iconcache_dirs="/usr/share/icons/gnome"
subpackages="$pkgname-devel $pkgname-python"

Add_dependency run glibc
Add_dependency run glib
Add_dependency run atk
Add_dependency run pango
Add_dependency run cairo
Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency run gdk-pixbuf
Add_dependency run libpng
Add_dependency run gtk+
Add_dependency run libxml2
Add_dependency run GConf
Add_dependency run libsoup
Add_dependency run libsoup-gnome
Add_dependency build automake
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build python-devel
Add_dependency build glib-devel
Add_dependency build atk-devel
Add_dependency build pango-devel
Add_dependency build cairo-devel
Add_dependency build freetype-devel
Add_dependency build fontconfig-devel
Add_dependency build gtk+-devel
Add_dependency build libxml2-devel
Add_dependency build GConf-devel
Add_dependency build libsoup-devel
Add_dependency build libsoup-gnome-devel
Add_dependency full gnome-icon-theme

pre_configure()
{
	cd ${wrksrc} && autoreconf -fi
}
