void-packages/srcpkgs/geoclue2/template

39 lines
1.2 KiB
Bash

# Template file for 'geoclue2'
pkgname=geoclue2
version=2.7.1
revision=1
build_style=meson
build_helper="gir"
configure_args="-Ddbus-srv-user=_geoclue2 -Dgtk-doc=false
$(vopt_bool gir introspection)"
make_dirs="/etc/geoclue/conf.d 0755 root root"
conf_files="/etc/geoclue/geoclue.conf"
hostmakedepends="glib-devel intltool pkg-config vala"
makedepends="ModemManager-devel avahi-glib-libs-devel
json-glib-devel libsoup3-devel libnotify-devel"
short_desc="Geoinformation Service (2.x series)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home"
changelog="https://gitlab.freedesktop.org/geoclue/geoclue/-/raw/master/NEWS"
distfiles="https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/${version}/geoclue-${version}.tar.bz2"
checksum=5624cd41148643c46d681d39153c7d26fdb8831e7e7c8601c300732fa8a6db1c
system_accounts="_geoclue2"
lib32disabled=yes
build_options="gir"
build_options_default="gir"
geoclue2-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}