void-packages/srcpkgs/libchamplain/template

40 lines
1.2 KiB
Bash
Raw Normal View History

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