34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'libchamplain'
|
|
pkgname=libchamplain
|
|
version=0.12.20
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="$(vopt_bool gir introspection) $(vopt_bool gir vapi)"
|
|
hostmakedepends="pkg-config glib-devel $(vopt_if gir 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/"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=0232b4bfcd130a1c5bda7b6aec266bf2d06e701e8093df1886f1e26bc1ba3066
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
libchamplain-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} libglib-devel cairo-devel
|
|
clutter-devel clutter-gtk-devel gtk+3-devel sqlite-devel libsoup-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/vala
|
|
fi
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|