2011-03-03 16:46:35 +01:00
|
|
|
# Template file for 'libchamplain'
|
|
|
|
pkgname=libchamplain
|
2014-11-24 10:29:33 +01:00
|
|
|
version=0.12.9
|
2014-07-03 09:18:45 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-11-24 10:29:33 +01:00
|
|
|
configure_args="$(vopt_enable gir introspection) --disable-static"
|
|
|
|
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
|
2014-03-27 11:29:31 +01:00
|
|
|
makedepends="libsoup-gnome-devel gtk+3-devel clutter-gtk-devel>=1.5.2 sqlite-devel"
|
2011-03-03 16:46:35 +01:00
|
|
|
short_desc="Library aimed to provide a Clutter widget to display rasterized maps"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-07-16 22:06:58 +02:00
|
|
|
homepage="http://projects.gnome.org/libchamplain/"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
distfiles="${GNOME_SITE}/$pkgname/0.12/$pkgname-$version.tar.xz"
|
2014-11-24 10:29:33 +01:00
|
|
|
checksum=b25ce832334976c07bf9564bf7f31e628881c69cf871a256cf4530cb277917e3
|
2014-02-07 05:47:53 +01:00
|
|
|
|
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
libchamplain-devel_package() {
|
2014-03-27 11:29:31 +01:00
|
|
|
depends="libsoup-gnome-devel gtk+3-devel clutter-gtk-devel>=1.5.2
|
|
|
|
json-glib-devel sqlite-devel
|
2014-02-07 05:47:53 +01:00
|
|
|
${sourcepkg}>=${version}_${revision}"
|
2013-09-17 10:47:08 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2014-02-07 05:47:53 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-13 10:15:49 +02:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/vala
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-17 10:47:08 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|