2010-04-12 21:02:56 +02:00
|
|
|
# Template file for 'libgweather'
|
|
|
|
pkgname=libgweather
|
2015-01-24 09:00:13 +01:00
|
|
|
version=3.14.3
|
2013-10-15 21:36:04 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2015-01-13 11:26:46 +01: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')"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="libxml2-devel libsoup-gnome-devel gtk+3-devel geocode-glib-devel"
|
2013-03-28 13:18:48 +01:00
|
|
|
short_desc="GNOME Weather information access library"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-10-24 22:17:52 +02:00
|
|
|
license="LGPL-2.1"
|
2012-09-25 16:21:09 +02:00
|
|
|
homepage="http://www.gnome.org/"
|
2013-09-26 15:12:10 +02:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2015-01-24 09:00:13 +01:00
|
|
|
checksum=04dd25064cdc7715c1bf5fc476c8596d640cbcb3551217867195cef16bbbbf6b
|
2013-04-13 10:15:49 +02:00
|
|
|
|
2015-01-13 11:26:46 +01:00
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
libgweather-devel_package() {
|
2015-01-24 09:00:13 +01:00
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
2013-05-13 22:55:46 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-26 15:12:10 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
vmove usr/share/gtk-doc
|
2015-01-24 09:00:13 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/vala
|
|
|
|
fi
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|