void-packages/srcpkgs/geocode-glib/template

34 lines
1.0 KiB
Bash

# Template file for 'geocode-glib'
pkgname=geocode-glib
version=3.26.2
revision=1
build_style=meson
build_helper="gir"
configure_args="-Denable-gtk-doc=false $(vopt_bool gir enable-introspection)
-Denable-installed-tests=false"
hostmakedepends="pkg-config glib-devel"
makedepends="json-glib-devel libsoup-gnome-devel"
short_desc="GLib library for geocoding and reverse geocoding"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://developer.gnome.org/geocode-glib"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=01fe84cfa0be50c6e401147a2bc5e2f1574326e2293b55c69879be3e82030fd1
# Package build options
build_options="gir"
build_options_default="gir"
geocode-glib-devel_package() {
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}