void-packages/srcpkgs/geocode-glib/template
2019-08-19 10:27:57 +02:00

33 lines
1 KiB
Bash

# Template file for 'geocode-glib'
pkgname=geocode-glib
version=3.26.1
revision=2
build_style=meson
build_helper="gir"
configure_args="-Denable-gtk-doc=false -Denable-introspection=$(vopt_if gir true false)
-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=5baa6ab76a76c9fc567e4c32c3af2cd1d1784934c255bc5a62c512e6af6bde1c
# 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
}
}