2010-04-12 19:02:56 +00:00
|
|
|
# Template file for 'libgweather'
|
|
|
|
pkgname=libgweather
|
2015-01-13 10:26:46 +00:00
|
|
|
version=3.14.2
|
2013-10-15 19:36:04 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2015-01-13 10:26:46 +00:00
|
|
|
build_options="gir"
|
|
|
|
configure_args="$(vopt_enable gir '--enable-introspection --enable-vala' '--disable-introspection --disable-vala')
|
|
|
|
--disable-schemas-compile --enable-locations-compression --with-zoneinfo-dir=/usr/share/zoneinfo"
|
|
|
|
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir 'gobject-introspection vala-devel')"
|
|
|
|
makedepends="libxml2-devel libsoup-gnome-devel>=2.46 gtk+3-devel geocode-glib-devel"
|
2013-03-28 12:18:48 +00:00
|
|
|
short_desc="GNOME Weather information access library"
|
2010-04-12 19:02:56 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-24 20:17:52 +00:00
|
|
|
license="LGPL-2.1"
|
2012-09-25 14:21:09 +00:00
|
|
|
homepage="http://www.gnome.org/"
|
2013-09-26 13:12:10 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2015-01-13 10:26:46 +00:00
|
|
|
checksum=aa0d03132fc6c446cf549df1d91e319e1abcc676f1d9f8bc1dc01f033dcff493
|
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
|
2015-01-13 10:26:46 +00:00
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
libgweather-devel_package() {
|
|
|
|
depends="gdk-pixbuf-devel gtk+3-devel libxml2-devel
|
2014-03-27 09:32:12 +00:00
|
|
|
libsoup-devel>=2.46 ${sourcepkg}>=${version}_${revision}"
|
2013-05-13 20:55:46 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-26 13:12:10 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/gtk-doc
|
2013-09-26 13:12:10 +00:00
|
|
|
vmove usr/share/vala
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|