libchamplain: update to 0.12.18.

This commit is contained in:
maxice8 2019-02-21 11:23:45 -03:00 committed by maxice8
parent cfa72eb2a4
commit c0fa439eac

View file

@ -1,29 +1,28 @@
# Template file for 'libchamplain'
pkgname=libchamplain
version=0.12.16
version=0.12.18
revision=1
build_style=gnu-configure
configure_args="$(vopt_enable gir introspection) --disable-static"
hostmakedepends="automake libtool pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
build_style=meson
build_helper="gir"
configure_args="-Dintrospection=$(vopt_if gir true false)
-Dvapi=$(vopt_if vala true false)"
hostmakedepends="pkgconf glib-devel $(vopt_if vala vala)"
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="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://projects.gnome.org/libchamplain/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=4a7e31cf7889669aebf04631543af64435edd989685159b804911c6005db908d
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=68ecc8561565693980ed7c0ad8feebbebc7afed77a382bbe14e097a68f7c6fe4
# Package build options
build_options="gir"
build_options="gir vala"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
pre_configure() {
autoreconf -if
}
case "$XBPS_TARGET_MACHINE" in
i686-musl|x86_64-musl) build_options_default+=" gir vala" ;;
*-musl) ;;
*) build_options_default+=" gir vala" ;;
esac
libchamplain-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
@ -33,8 +32,9 @@ libchamplain-devel_package() {
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gtk-doc
vmove usr/share/vala
if [ "$build_option_vala" ]; then
vmove usr/share/vala
fi
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}