2013-09-26 16:10:44 +00:00
|
|
|
# Template file for 'geocode-glib'
|
|
|
|
pkgname=geocode-glib
|
2015-09-28 22:38:35 +00:00
|
|
|
version=3.18.0
|
2014-03-27 09:25:53 +00:00
|
|
|
revision=1
|
2013-09-26 16:10:44 +00:00
|
|
|
build_style=gnu-configure
|
2015-01-13 10:19:49 +00:00
|
|
|
configure_args="--disable-static $(vopt_enable gir introspection)"
|
|
|
|
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
|
2015-03-27 09:50:40 +00:00
|
|
|
makedepends="json-glib-devel libsoup-gnome-devel"
|
2013-09-26 16:10:44 +00:00
|
|
|
short_desc="GLib library for geocoding and reverse geocoding"
|
|
|
|
homepage="http://www.gnome.org"
|
|
|
|
license="LGPL-2.1"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-09-26 16:10:44 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/${pkgname}-${version}.tar.xz"
|
2015-09-28 22:38:35 +00:00
|
|
|
checksum=8fb7f0d569e3e6696aaa1fdf275cb3094527ec5e9fa36fd88dd633dfec63495d
|
2014-02-19 14:55:05 +00:00
|
|
|
|
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2013-09-26 16:10:44 +00:00
|
|
|
geocode-glib-devel_package() {
|
2014-02-19 14:55:05 +00:00
|
|
|
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
|
2013-09-26 16:10:44 +00:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/share/gtk-doc
|
2014-02-19 14:55:05 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-09-26 16:10:44 +00:00
|
|
|
}
|
|
|
|
}
|