void-packages/srcpkgs/folks/template

42 lines
1.3 KiB
Bash

# Template file for 'folks'
pkgname=folks
version=0.15.8
revision=1
build_style=meson
build_helper="gir"
configure_args="-Db_lto=false"
hostmakedepends="pkg-config gettext glib-devel python3-dbusmock
evolution-data-server-devel $(vopt_if gir vala)"
makedepends="readline-devel telepathy-glib-devel zeitgeist-devel
libgee-devel evolution-data-server-devel $(vopt_if gir vala-devel)"
depends="zeitgeist"
checkdepends="python3-dbusmock bluez"
short_desc="GObject Library to aggregate people into metacontacts"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/Folks"
changelog="https://gitlab.gnome.org/GNOME/folks/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/folks/${version%.*}/folks-${version}.tar.xz"
checksum=954a6afb3e378f01d310fd443790f235cb0eb71e2139cff4f05f09ab725e49c2
make_check_pre="dbus-run-session"
# disable parallelism to fix some failing tests in the ci
export MESON_TESTTHREADS=1
build_options="gir"
build_options_default="gir"
folks-devel_package() {
depends="${makedepends} ${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
vmove usr/share/vala
fi
}
}