# Template file for 'libchamplain'
pkgname=libchamplain
version=0.12.3
revision=3
build_style=gnu-configure
configure_args="--disable-debug --disable-static"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="libsoup-gnome-devel gtk+3-devel>=3.8 cogl-devel>=1.14
 clutter-gtk-devel>=1.4.4 sqlite-devel"
short_desc="Library aimed to provide a Clutter widget to display rasterized maps"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://projects.gnome.org/libchamplain/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/0.12/$pkgname-$version.tar.xz"
checksum=3d03d4e6892305a3b5b78e0718e486f6a13271df33d82383fd8361ef71f3e658

libchamplain-devel_package() {
	depends="libsoup-gnome-devel gtk+3-devel>=3.8 clutter-gtk-devel>=1.4.4
		json-glib-devel sqlite-devel libchamplain>=$version"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/share/gir-1.0
		vmove usr/share/gtk-doc
		vmove usr/share/vala
		vmove usr/lib/pkgconfig
	}
}

libchamplain_package() {
	pkg_install() {
		vmove usr
	}
}
